Package com.plotsquared.bukkit.schematic
Class StateWrapper
java.lang.Object
com.plotsquared.bukkit.schematic.StateWrapper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()static StringjsonToColourCode(String str) booleanrestoreTag(@NonNull Block block) Restore the TileEntity data to the given blockbooleanrestoreTag(String worldName, int x, int y, int z) Restore the TileEntity data to the given world at the given coordinates.List<com.sk89q.jnbt.CompoundTag>serializeInventory(ItemStack[] items) serializeItem(ItemStack item)
-
Field Details
-
tag
-
-
Constructor Details
-
StateWrapper
-
-
Method Details
-
jsonToColourCode
-
restoreTag
Restore the TileEntity data to the given world at the given coordinates.- Parameters:
worldName- World namex- x positiony- y positionz- z position- Returns:
- true if successful
-
restoreTag
Restore the TileEntity data to the given block- Parameters:
block- Block to restore to- Returns:
- true if successful
-
getId
-
serializeInventory
-
serializeItem
-