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, setContents
destroy, getBlock, pulse, setSaveId, update, updateInRange
public BrewingStandEntity(GlowBlock block)
public void loadNbt(CompoundTag tag)
BlockEntity
loadNbt
in class ContainerEntity
tag
- The tag to load from.public void saveNbt(CompoundTag tag)
BlockEntity
saveNbt
in class ContainerEntity
tag
- The tag to save to.public GlowBlockState getState()
BlockEntity
getState
in class BlockEntity
public int getBrewTime()
public void setBrewTime(int brewTime)
Copyright © 2021. All rights reserved.