public class BedBlockEntity extends BlockEntity
| Modifier and Type | Field and Description |
|---|---|
private DyeColor |
color |
pos, removed, world| Constructor and Description |
|---|
BedBlockEntity() |
BedBlockEntity(DyeColor color) |
| Modifier and Type | Method and Description |
|---|---|
DyeColor |
getColor() |
void |
setColor(DyeColor color) |
BlockEntityUpdateS2CPacket |
toUpdatePacket() |
applyMirror, applyRotation, cancelRemoval, copyItemDataRequiresOperator, createFromTag, fromTag, getCachedState, getPos, getSquaredRenderDistance, getType, getWorld, hasWorld, isRemoved, markDirty, markInvalid, markRemoved, onSyncedBlockEvent, populateCrashReport, resetBlock, setLocation, setPos, toInitialChunkDataTag, toTagprivate DyeColor color
public BedBlockEntity()
public BedBlockEntity(DyeColor color)
public BlockEntityUpdateS2CPacket toUpdatePacket()
toUpdatePacket in class BlockEntity@Environment(value=CLIENT) public DyeColor getColor()
public void setColor(DyeColor color)