public class BrewingStandEntity extends ContainerEntity
block| Constructor and Description |
|---|
BrewingStandEntity(GlowBlock block) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBrewTime() |
GlowBlockState |
getState()
Create a new BlockState which will correspond to this block entity.
|
void |
loadNbt(CompoundTag tag)
Read this BlockEntity's data from the saved tag.
|
void |
saveNbt(CompoundTag tag)
Save this BlockEntity's data to NBT.
|
void |
setBrewTime(int brewTime) |
getInventory, setContentsdestroy, getBlock, pulse, setSaveId, update, updateInRangepublic BrewingStandEntity(GlowBlock block)
public void loadNbt(CompoundTag tag)
BlockEntityloadNbt in class ContainerEntitytag - The tag to load from.public void saveNbt(CompoundTag tag)
BlockEntitysaveNbt in class ContainerEntitytag - The tag to save to.public GlowBlockState getState()
BlockEntitygetState in class BlockEntitypublic int getBrewTime()
public void setBrewTime(int brewTime)
Copyright © 2021. All rights reserved.