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 cgiintermediary net/minecraft/class_2587named 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 DyeColorgetColor()voidsetColor(DyeColor color)BlockEntityUpdateS2CPackettoUpdatePacket()Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromNbt, getCachedState, getPos, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onSyncedBlockEvent, populateCrashReport, readNbt, setCachedState, setWorld, toInitialChunkDataNbt, writeNbt
-
Field Details
-
color
- Mappings:
Namespace Name Mixin selector official aLcgi;a:Lbnn;intermediary field_11869Lnet/minecraft/class_2587;field_11869:Lnet/minecraft/class_1767;named colorLnet/minecraft/block/entity/BedBlockEntity;color:Lnet/minecraft/util/DyeColor;
-
-
Constructor Details
-
BedBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>Lcgi;<init>(Lfx;Lcio;)Vintermediary <init>Lnet/minecraft/class_2587;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed <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>Lcgi;<init>(Lfx;Lcio;Lbnn;)Vintermediary <init>Lnet/minecraft/class_2587;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1767;)Vnamed <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:
toUpdatePacketin classBlockEntity- Mappings:
Namespace Name Mixin selector official aLcgm;a()Lpp;intermediary method_16886Lnet/minecraft/class_2586;method_16886()Lnet/minecraft/class_2622;named toUpdatePacketLnet/minecraft/block/entity/BlockEntity;toUpdatePacket()Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
-
getColor
- Mappings:
Namespace Name Mixin selector official dLcgi;d()Lbnn;intermediary method_11018Lnet/minecraft/class_2587;method_11018()Lnet/minecraft/class_1767;named getColorLnet/minecraft/block/entity/BedBlockEntity;getColor()Lnet/minecraft/util/DyeColor;
-
setColor
- Mappings:
Namespace Name Mixin selector official aLcgi;a(Lbnn;)Vintermediary method_11019Lnet/minecraft/class_2587;method_11019(Lnet/minecraft/class_1767;)Vnamed setColorLnet/minecraft/block/entity/BedBlockEntity;setColor(Lnet/minecraft/util/DyeColor;)V
-