Package net.minecraft.block.entity
Class BedBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.BedBlockEntity
public class BedBlockEntity extends BlockEntity
- Mappings:
Namespace Name official cfn
intermediary net/minecraft/class_2587
named net/minecraft/block/entity/BedBlockEntity
-
Field Summary
Fields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world
-
Constructor Summary
Constructors Constructor Description BedBlockEntity(BlockPos pos, BlockState state)
BedBlockEntity(BlockPos pos, BlockState state, DyeColor color)
-
Method Summary
Modifier and Type Method Description DyeColor
getColor()
void
setColor(DyeColor color)
BlockEntityUpdateS2CPacket
toUpdatePacket()
Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromTag, fromTag, getCachedState, getPos, getSquaredRenderDistance, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onSyncedBlockEvent, populateCrashReport, setCachedState, setWorld, toInitialChunkDataTag, toTag
-
Field Details
-
color
- Mappings:
Namespace Name Mixin selector official a
Lcfn;a:Lbms;
intermediary field_11869
Lnet/minecraft/class_2587;field_11869:Lnet/minecraft/class_1767;
named color
Lnet/minecraft/block/entity/BedBlockEntity;color:Lnet/minecraft/util/DyeColor;
-
-
Constructor Details
-
BedBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lcfn;<init>(Lfx;Lcht;)V
intermediary <init>
Lnet/minecraft/class_2587;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named <init>
Lnet/minecraft/block/entity/BedBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
BedBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lcfn;<init>(Lfx;Lcht;Lbms;)V
intermediary <init>
Lnet/minecraft/class_2587;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1767;)V
named <init>
Lnet/minecraft/block/entity/BedBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/DyeColor;)V
-
-
Method Details
-
toUpdatePacket
- Overrides:
toUpdatePacket
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lcfr;a()Lpo;
intermediary method_16886
Lnet/minecraft/class_2586;method_16886()Lnet/minecraft/class_2622;
named toUpdatePacket
Lnet/minecraft/block/entity/BlockEntity;toUpdatePacket()Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
-
getColor
- Mappings:
Namespace Name Mixin selector official d
Lcfn;d()Lbms;
intermediary method_11018
Lnet/minecraft/class_2587;method_11018()Lnet/minecraft/class_1767;
named getColor
Lnet/minecraft/block/entity/BedBlockEntity;getColor()Lnet/minecraft/util/DyeColor;
-
setColor
- Mappings:
Namespace Name Mixin selector official a
Lcfn;a(Lbms;)V
intermediary method_11019
Lnet/minecraft/class_2587;method_11019(Lnet/minecraft/class_1767;)V
named setColor
Lnet/minecraft/block/entity/BedBlockEntity;setColor(Lnet/minecraft/util/DyeColor;)V
-