public class EnchantingTableEntity extends BlockEntity
block| Constructor and Description |
|---|
EnchantingTableEntity(GlowBlock block) |
| Modifier and Type | Method and Description |
|---|---|
void |
loadNbt(CompoundTag tag)
Read this BlockEntity's data from the saved tag.
|
void |
saveNbt(CompoundTag tag)
Save this BlockEntity's data to NBT.
|
destroy, getBlock, getState, pulse, setSaveId, update, updateInRangepublic EnchantingTableEntity(GlowBlock block)
public void loadNbt(CompoundTag tag)
BlockEntityloadNbt in class BlockEntitytag - The tag to load from.public void saveNbt(CompoundTag tag)
BlockEntitysaveNbt in class BlockEntitytag - The tag to save to.Copyright © 2021. All rights reserved.