Class BedBlockEntity

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

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

    • color

      private DyeColor color
      Mappings:
      Namespace Name Mixin selector
      official a Lavi;a:Lahs;
      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()
  • Method Details

    • method_14365

      public void method_14365(ItemStack itemStack)
      Mappings:
      Namespace Name Mixin selector
      official a Lavi;a(Laip;)V
      intermediary method_14365 Lnet/minecraft/class_3221;method_14365(Lnet/minecraft/class_1071;)V
      named method_14365 Lnet/minecraft/block/entity/BedBlockEntity;method_14365(Lnet/minecraft/item/ItemStack;)V
    • fromNbt

      public void fromNbt(NbtCompound nbt)
      Overrides:
      fromNbt in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lavj;a(Lfy;)V
      intermediary method_537 Lnet/minecraft/class_226;method_537(Lnet/minecraft/class_322;)V
      named fromNbt Lnet/minecraft/block/entity/BlockEntity;fromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • method_541

      public NbtCompound method_541(NbtCompound nbtCompound)
      Overrides:
      method_541 in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lavj;b(Lfy;)Lfy;
      intermediary method_541 Lnet/minecraft/class_226;method_541(Lnet/minecraft/class_322;)Lnet/minecraft/class_322;
      named method_541 Lnet/minecraft/block/entity/BlockEntity;method_541(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
    • method_11646

      public NbtCompound method_11646()
      Overrides:
      method_11646 in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official d Lavj;d()Lfy;
      intermediary method_11646 Lnet/minecraft/class_226;method_11646()Lnet/minecraft/class_322;
      named method_11646 Lnet/minecraft/block/entity/BlockEntity;method_11646()Lnet/minecraft/nbt/NbtCompound;
    • getUpdatePacket

      public BlockEntityUpdateS2CPacket getUpdatePacket()
      Overrides:
      getUpdatePacket in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lavj;c()Lih;
      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

      public DyeColor getColor()
      Mappings:
      Namespace Name Mixin selector
      official a Lavi;a()Lahs;
      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 Lavi;a(Lahs;)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
    • method_14366

      @Environment(CLIENT) public boolean method_14366()
      Mappings:
      Namespace Name Mixin selector
      official e Lavi;e()Z
      intermediary method_14366 Lnet/minecraft/class_3221;method_14366()Z
      named method_14366 Lnet/minecraft/block/entity/BedBlockEntity;method_14366()Z
    • toItemStack

      public ItemStack toItemStack()
      Mappings:
      Namespace Name Mixin selector
      official f Lavi;f()Laip;
      intermediary method_14367 Lnet/minecraft/class_3221;method_14367()Lnet/minecraft/class_1071;
      named toItemStack Lnet/minecraft/block/entity/BedBlockEntity;toItemStack()Lnet/minecraft/item/ItemStack;