Class StoneSlabItem


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

    • singleSlab

      private final SlabBlock singleSlab
      Mappings:
      Namespace Name Mixin selector
      official b Laau;b:Lahh;
      intermediary field_4399 Lnet/minecraft/class_1095;field_4399:Lnet/minecraft/class_143;
      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_4400 Lnet/minecraft/class_1095;field_4400:Lnet/minecraft/class_143;
      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_1095;<init>(Lnet/minecraft/class_197;Lnet/minecraft/class_143;Lnet/minecraft/class_143;)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_3363 Lnet/minecraft/class_1069;method_3363(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_3371 Lnet/minecraft/class_1069;method_3371(Lnet/minecraft/class_1071;)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_3355 Lnet/minecraft/class_1069;method_3355(Lnet/minecraft/class_1071;Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;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_11269

      @Environment(CLIENT) public boolean method_11269(World world, BlockPos blockPos, Direction direction, PlayerEntity playerEntity, ItemStack itemStack)
      Overrides:
      method_11269 in class BlockItem
      Mappings:
      Namespace Name Mixin selector
      official a Lyo;a(Ladm;Lcj;Lcq;Lwn;Lzx;)Z
      intermediary method_11269 Lnet/minecraft/class_1096;method_11269(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;Lnet/minecraft/class_988;Lnet/minecraft/class_1071;)Z
      named method_11269 Lnet/minecraft/item/BlockItem;method_11269(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_8438

      private boolean method_8438(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_8438 Lnet/minecraft/class_1095;method_8438(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Ljava/lang/Object;)Z
      named method_8438 Lnet/minecraft/item/StoneSlabItem;method_8438(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/lang/Object;)Z