Class BedItem

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class BedItem extends BlockItem
Mappings:
Namespace Name
named net/minecraft/item/BedItem
intermediary net/minecraft/class_1748
official csn
  • Constructor Details

    • BedItem

      public BedItem(Block block, Item.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/item/BlockItem;<init>(Lnet/minecraft/block/Block;Lnet/minecraft/item/Item$Settings;)V
      intermediary <init> Lnet/minecraft/class_1747;<init>(Lnet/minecraft/class_2248;Lnet/minecraft/class_1792$class_1793;)V
      official <init> Lcso;<init>(Ldfa;Lcul$a;)V
  • Method Details

    • place

      protected boolean place(ItemPlacementContext context, BlockState state)
      Overrides:
      place in class BlockItem
      Mappings:
      Namespace Name Mixin selector
      named place Lnet/minecraft/item/BlockItem;place(Lnet/minecraft/item/ItemPlacementContext;Lnet/minecraft/block/BlockState;)Z
      intermediary method_7708 Lnet/minecraft/class_1747;method_7708(Lnet/minecraft/class_1750;Lnet/minecraft/class_2680;)Z
      official a Lcso;a(Lcyb;Ldsd;)Z