public class HopperEntity extends ContainerEntity
block| Constructor and Description |
|---|
HopperEntity(GlowBlock block) |
| Modifier and Type | Method and Description |
|---|---|
GlowBlockState |
getState()
Create a new BlockState which will correspond to this block entity.
|
getInventory, loadNbt, saveNbt, setContentsdestroy, getBlock, pulse, setSaveId, update, updateInRangepublic HopperEntity(GlowBlock block)
public GlowBlockState getState()
BlockEntitygetState in class BlockEntityCopyright © 2021. All rights reserved.