Class StoneSlabItem


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

    • singleSlab

      private final SlabBlock singleSlab
      Mappings:
      Namespace Name Mixin selector
      official b Lagl;b:Laob;
      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 Lagl;c:Laob;
      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> Lagl;<init>(Lalu;Laob;Laob;)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 Lafh;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 a Lafh;a(Lafj;)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 ActionResult use(PlayerEntity player, World world, BlockPos pos, Hand hand, Direction direction, float x, float y, float z)
      Overrides:
      use in class BlockItem
      Mappings:
      Namespace Name Mixin selector
      official a Lafh;a(Laay;Lajs;Lco;Lri;Lcv;FFF)Lrk;
      intermediary method_3355 Lnet/minecraft/class_1069;method_3355(Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2961;Lnet/minecraft/class_1354;FFF)Lnet/minecraft/class_2962;
      named use Lnet/minecraft/item/Item;use(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/Hand;Lnet/minecraft/util/math/Direction;FFF)Lnet/minecraft/util/ActionResult;
    • 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 Ladv;a(Lajs;Lco;Lcv;Laay;Lafj;)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_11404

      private boolean method_11404(PlayerEntity playerEntity, ItemStack itemStack, World world, BlockPos blockPos, Object object)
      Mappings:
      Namespace Name Mixin selector
      official a Lagl;a(Laay;Lafj;Lajs;Lco;Ljava/lang/Object;)Z
      intermediary method_11404 Lnet/minecraft/class_1095;method_11404(Lnet/minecraft/class_988;Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Ljava/lang/Object;)Z
      named method_11404 Lnet/minecraft/item/StoneSlabItem;method_11404(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/lang/Object;)Z
    • method_11403

      protected <T extends Comparable<T>> BlockState method_11403(Property<T> property, Comparable<?> comparable)
      Mappings:
      Namespace Name Mixin selector
      official a Lagl;a(Laub;Ljava/lang/Comparable;)Latl;
      intermediary method_11403 Lnet/minecraft/class_1095;method_11403(Lnet/minecraft/class_2247;Ljava/lang/Comparable;)Lnet/minecraft/class_2232;
      named method_11403 Lnet/minecraft/item/StoneSlabItem;method_11403(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;)Lnet/minecraft/block/BlockState;