Package net.glowstone.block.entity
Class EnchantingTableEntity
java.lang.Object
net.glowstone.block.entity.BlockEntity
net.glowstone.block.entity.EnchantingTableEntity
-
Field Summary
Fields inherited from class net.glowstone.block.entity.BlockEntity
block
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
loadNbt
(CompoundTag tag) Read this BlockEntity's data from the saved tag.void
saveNbt
(CompoundTag tag) Save this BlockEntity's data to NBT.Methods inherited from class net.glowstone.block.entity.BlockEntity
destroy, getBlock, getState, pulse, setSaveId, update, updateInRange
-
Constructor Details
-
EnchantingTableEntity
-
-
Method Details
-
loadNbt
Description copied from class:BlockEntity
Read this BlockEntity's data from the saved tag.- Overrides:
loadNbt
in classBlockEntity
- Parameters:
tag
- The tag to load from.
-
saveNbt
Description copied from class:BlockEntity
Save this BlockEntity's data to NBT.- Overrides:
saveNbt
in classBlockEntity
- Parameters:
tag
- The tag to save to.
-