Class HangingSignItem

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class HangingSignItem extends VerticallyAttachableBlockItem
Mappings:
Namespace Name
official cfi
intermediary net/minecraft/class_7707
named net/minecraft/item/HangingSignItem
  • Constructor Details

    • HangingSignItem

      public HangingSignItem(Block hangingSign, Block wallHangingSign, Item.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcfi;<init>(Lcpi;Lcpi;Lcfq$a;)V
      intermediary <init> Lnet/minecraft/class_7707;<init>(Lnet/minecraft/class_2248;Lnet/minecraft/class_2248;Lnet/minecraft/class_1792$class_1793;)V
      named <init> Lnet/minecraft/item/HangingSignItem;<init>(Lnet/minecraft/block/Block;Lnet/minecraft/block/Block;Lnet/minecraft/item/Item$Settings;)V
  • Method Details

    • canPlaceAt

      protected boolean canPlaceAt(WorldView world, BlockState state, BlockPos pos)
      Overrides:
      canPlaceAt in class VerticallyAttachableBlockItem
      Mappings:
      Namespace Name Mixin selector
      official a Lchd;a(Lcml;Ldbq;Lgt;)Z
      intermediary method_45431 Lnet/minecraft/class_1827;method_45431(Lnet/minecraft/class_4538;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;)Z
      named canPlaceAt Lnet/minecraft/item/VerticallyAttachableBlockItem;canPlaceAt(Lnet/minecraft/world/WorldView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)Z
    • postPlacement

      protected boolean postPlacement(BlockPos pos, World world, @Nullable @Nullable PlayerEntity player, ItemStack stack, BlockState state)
      Overrides:
      postPlacement in class BlockItem
      Mappings:
      Namespace Name Mixin selector
      official a Lcdq;a(Lgt;Lcmi;Lbym;Lcfv;Ldbq;)Z
      intermediary method_7710 Lnet/minecraft/class_1747;method_7710(Lnet/minecraft/class_2338;Lnet/minecraft/class_1937;Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;Lnet/minecraft/class_2680;)Z
      named postPlacement Lnet/minecraft/item/BlockItem;postPlacement(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/block/BlockState;)Z