Class SignItem

All Implemented Interfaces:
ItemConvertible, ToggleableFeature
Direct Known Subclasses:
HangingSignItem

public class SignItem extends VerticallyAttachableBlockItem
Mappings:
Namespace Name
official cgx
intermediary net/minecraft/class_1822
named net/minecraft/item/SignItem
  • Constructor Details

    • SignItem

      public SignItem(Item.Settings settings, Block standingBlock, Block wallBlock)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcgx;<init>(Lcfs$a;Lcpl;Lcpl;)V
      intermediary <init> Lnet/minecraft/class_1822;<init>(Lnet/minecraft/class_1792$class_1793;Lnet/minecraft/class_2248;Lnet/minecraft/class_2248;)V
      named <init> Lnet/minecraft/item/SignItem;<init>(Lnet/minecraft/item/Item$Settings;Lnet/minecraft/block/Block;Lnet/minecraft/block/Block;)V
    • SignItem

      public SignItem(Item.Settings settings, Block standingBlock, Block wallBlock, Direction verticalAttachmentDirection)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcgx;<init>(Lcfs$a;Lcpl;Lcpl;Lha;)V
      intermediary <init> Lnet/minecraft/class_1822;<init>(Lnet/minecraft/class_1792$class_1793;Lnet/minecraft/class_2248;Lnet/minecraft/class_2248;Lnet/minecraft/class_2350;)V
      named <init> Lnet/minecraft/item/SignItem;<init>(Lnet/minecraft/item/Item$Settings;Lnet/minecraft/block/Block;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/Direction;)V
  • Method Details

    • 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(Lgu;Lcmk;Lbym;Lcfx;Ldby;)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