Class StructureTypeMock
java.lang.Object
org.bukkit.generator.structure.StructureType
be.seeseemelk.mockbukkit.generator.structure.StructureTypeMock
- All Implemented Interfaces:
net.kyori.adventure.key.Keyed,Keyed
-
Field Summary
Fields inherited from class org.bukkit.generator.structure.StructureType
BURIED_TREASURE, DESERT_PYRAMID, END_CITY, FORTRESS, IGLOO, JIGSAW, JUNGLE_TEMPLE, MINESHAFT, NETHER_FOSSIL, OCEAN_MONUMENT, OCEAN_RUIN, RUINED_PORTAL, SHIPWRECK, STRONGHOLD, SWAMP_HUT, WOODLAND_MANSION -
Constructor Summary
ConstructorsConstructorDescriptionStructureTypeMock(com.google.gson.JsonObject data) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic StructureTypeMockfrom(com.google.gson.JsonObject data) @NotNull NamespacedKeygetKey()
-
Constructor Details
-
StructureTypeMock
- Parameters:
key- The namespaced key representing this structure type
-
StructureTypeMock
Deprecated, for removal: This API element is subject to removal in a future version.UseStructureTypeMock(NamespacedKey)instead- Parameters:
data- Json data
-
-
Method Details
-
getKey
-
from
-
StructureTypeMock(NamespacedKey)instead