Class BedItem

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

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

    • BedItem

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

    • place

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