Class StoneSlabItem


public class StoneSlabItem
extends BlockItem
Mappings:
Namespace Name
official aau
intermediary net/minecraft/class_23
named net/minecraft/item/StoneSlabItem
  • Field Details

    • singleSlab

      private final SlabBlock singleSlab
      Mappings:
      Namespace Name Mixin selector
      official b Laau;b:Lahh;
      intermediary field_56 Lnet/minecraft/class_23;field_56:Lnet/minecraft/class_226;
      named singleSlab Lnet/minecraft/item/StoneSlabItem;singleSlab:Lnet/minecraft/block/SlabBlock;
    • doubleSlab

      private final SlabBlock doubleSlab
      Mappings:
      Namespace Name Mixin selector
      official c Laau;c:Lahh;
      intermediary field_57 Lnet/minecraft/class_23;field_57:Lnet/minecraft/class_226;
      named doubleSlab Lnet/minecraft/item/StoneSlabItem;doubleSlab:Lnet/minecraft/block/SlabBlock;
  • Constructor Details

    • StoneSlabItem

      public StoneSlabItem​(Block slabBlock, SlabBlock singleSlab, SlabBlock doubleSlab)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laau;<init>(Lafh;Lahh;Lahh;)V
      intermediary <init> Lnet/minecraft/class_23;<init>(Lnet/minecraft/class_160;Lnet/minecraft/class_226;Lnet/minecraft/class_226;)V
      named <init> Lnet/minecraft/item/StoneSlabItem;<init>(Lnet/minecraft/block/Block;Lnet/minecraft/block/SlabBlock;Lnet/minecraft/block/SlabBlock;)V
  • Method Details

    • getMeta

      public int getMeta​(int i)
      Overrides:
      getMeta in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lzw;a(I)I
      intermediary method_8247 Lnet/minecraft/class_2054;method_8247(I)I
      named getMeta Lnet/minecraft/item/Item;getMeta(I)I
    • getTranslationKey

      public String getTranslationKey​(ItemStack stack)
      Overrides:
      getTranslationKey in class BlockItem
      Mappings:
      Namespace Name Mixin selector
      official e_ Lzw;e_(Lzx;)Ljava/lang/String;
      intermediary method_8286 Lnet/minecraft/class_2054;method_8286(Lnet/minecraft/class_2056;)Ljava/lang/String;
      named getTranslationKey Lnet/minecraft/item/Item;getTranslationKey(Lnet/minecraft/item/ItemStack;)Ljava/lang/String;
    • use

      public boolean use​(ItemStack itemStack, PlayerEntity player, World world, BlockPos pos, Direction direction, float facingX, float facingY, float facingZ)
      Overrides:
      use in class BlockItem
      Mappings:
      Namespace Name Mixin selector
      official a Lzw;a(Lzx;Lwn;Ladm;Lcj;Lcq;FFF)Z
      intermediary method_8264 Lnet/minecraft/class_2054;method_8264(Lnet/minecraft/class_2056;Lnet/minecraft/class_1963;Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_1383;FFF)Z
      named use Lnet/minecraft/item/Item;use(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;FFF)Z
    • method_8182

      @Environment(CLIENT) public boolean method_8182​(World world, BlockPos blockPos, Direction direction, PlayerEntity playerEntity, ItemStack itemStack)
      Overrides:
      method_8182 in class BlockItem
      Mappings:
      Namespace Name Mixin selector
      official a Lyo;a(Ladm;Lcj;Lcq;Lwn;Lzx;)Z
      intermediary method_8182 Lnet/minecraft/class_2018;method_8182(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_1383;Lnet/minecraft/class_1963;Lnet/minecraft/class_2056;)Z
      named method_8182 Lnet/minecraft/item/BlockItem;method_8182(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Z
    • method_22

      private boolean method_22​(ItemStack itemStack, World world, BlockPos blockPos, Object object)
      Mappings:
      Namespace Name Mixin selector
      official a Laau;a(Lzx;Ladm;Lcj;Ljava/lang/Object;)Z
      intermediary method_22 Lnet/minecraft/class_23;method_22(Lnet/minecraft/class_2056;Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Ljava/lang/Object;)Z
      named method_22 Lnet/minecraft/item/StoneSlabItem;method_22(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/lang/Object;)Z