public class ComparatorBlockEntity extends BlockEntity
| Modifier and Type | Field and Description |
|---|---|
private int |
outputSignal |
pos, removed, world| Constructor and Description |
|---|
ComparatorBlockEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
fromTag(BlockState state,
CompoundTag tag) |
int |
getOutputSignal() |
void |
setOutputSignal(int outputSignal) |
CompoundTag |
toTag(CompoundTag tag) |
applyMirror, applyRotation, cancelRemoval, copyItemDataRequiresOperator, createFromTag, getCachedState, getPos, getSquaredRenderDistance, getType, getWorld, hasWorld, isRemoved, markDirty, markInvalid, markRemoved, onSyncedBlockEvent, populateCrashReport, resetBlock, setLocation, setPos, toInitialChunkDataTag, toUpdatePacketpublic CompoundTag toTag(CompoundTag tag)
toTag in class BlockEntitypublic void fromTag(BlockState state, CompoundTag tag)
fromTag in class BlockEntitypublic int getOutputSignal()
public void setOutputSignal(int outputSignal)