Class StructureMock
java.lang.Object
org.bukkit.generator.structure.Structure
be.seeseemelk.mockbukkit.generator.structure.StructureMock
- All Implemented Interfaces:
net.kyori.adventure.key.Keyed,Keyed
-
Field Summary
Fields inherited from class org.bukkit.generator.structure.Structure
ANCIENT_CITY, BASTION_REMNANT, BURIED_TREASURE, DESERT_PYRAMID, END_CITY, FORTRESS, IGLOO, JUNGLE_PYRAMID, MANSION, MINESHAFT, MINESHAFT_MESA, MONUMENT, NETHER_FOSSIL, OCEAN_RUIN_COLD, OCEAN_RUIN_WARM, PILLAGER_OUTPOST, RUINED_PORTAL, RUINED_PORTAL_DESERT, RUINED_PORTAL_JUNGLE, RUINED_PORTAL_MOUNTAIN, RUINED_PORTAL_NETHER, RUINED_PORTAL_OCEAN, RUINED_PORTAL_SWAMP, SHIPWRECK, SHIPWRECK_BEACHED, STRONGHOLD, SWAMP_HUT, TRAIL_RUINS, TRIAL_CHAMBERS, VILLAGE_DESERT, VILLAGE_PLAINS, VILLAGE_SAVANNA, VILLAGE_SNOWY, VILLAGE_TAIGA -
Constructor Summary
ConstructorsConstructorDescriptionStructureMock(com.google.gson.JsonObject data) Deprecated, for removal: This API element is subject to removal in a future version.StructureMock(NamespacedKey key, StructureType type) -
Method Summary
Modifier and TypeMethodDescriptionstatic StructureMockfrom(com.google.gson.JsonObject data) @NotNull NamespacedKeygetKey()@NotNull StructureType
-
Constructor Details
-
StructureMock
- Parameters:
key- The namespaced key representing this structuretype- The type of structure
-
StructureMock
Deprecated, for removal: This API element is subject to removal in a future version.Will useStructureMock(NamespacedKey, StructureType)instead.- Parameters:
data- Json data
-
-
Method Details
StructureMock(NamespacedKey, StructureType)instead.