Class BedBlockEntity

java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.BedBlockEntity

public class BedBlockEntity extends BlockEntity
Mappings:
Namespace Name
official bjh
intermediary net/minecraft/class_3221
named net/minecraft/block/entity/BedBlockEntity
  • Field Details

    • color

      private DyeColor color
      Mappings:
      Namespace Name Mixin selector
      official a Lbjh;a:Lasc;
      intermediary field_15782 Lnet/minecraft/class_3221;field_15782:Lnet/minecraft/class_2674;
      named color Lnet/minecraft/block/entity/BedBlockEntity;color:Lnet/minecraft/util/DyeColor;
  • Constructor Details

    • BedBlockEntity

      public BedBlockEntity()
    • BedBlockEntity

      public BedBlockEntity(DyeColor dyeColor)
  • Method Details

    • getUpdatePacket

      public BlockEntityUpdateS2CPacket getUpdatePacket()
      Overrides:
      getUpdatePacket in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official Z_ Lbji;Z_()Lji;
      intermediary method_544 Lnet/minecraft/class_226;method_544()Lnet/minecraft/class_2003;
      named getUpdatePacket Lnet/minecraft/block/entity/BlockEntity;getUpdatePacket()Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
    • getColor

      @Environment(CLIENT) public DyeColor getColor()
      Mappings:
      Namespace Name Mixin selector
      official c Lbjh;c()Lasc;
      intermediary method_14363 Lnet/minecraft/class_3221;method_14363()Lnet/minecraft/class_2674;
      named getColor Lnet/minecraft/block/entity/BedBlockEntity;getColor()Lnet/minecraft/util/DyeColor;
    • setColor

      public void setColor(DyeColor color)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjh;a(Lasc;)V
      intermediary method_14364 Lnet/minecraft/class_3221;method_14364(Lnet/minecraft/class_2674;)V
      named setColor Lnet/minecraft/block/entity/BedBlockEntity;setColor(Lnet/minecraft/util/DyeColor;)V