Package net.minecraft.item
Class StoneSlabItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.BlockItem
net.minecraft.item.StoneSlabItem
- Mappings:
Namespace Name official aauintermediary net/minecraft/class_1095named net/minecraft/item/StoneSlabItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.ToolMaterialType -
Field Summary
FieldsFields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, damageable, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetMeta(int i) getTranslationKey(ItemStack stack) booleanmethod_11269(World world, BlockPos blockPos, Direction direction, PlayerEntity playerEntity, ItemStack itemStack) private booleanmethod_8438(ItemStack itemStack, World world, BlockPos blockPos, Object object) booleanMethods inherited from class net.minecraft.item.BlockItem
appendItemStacks, getBlock, getItemGroup, getTranslationKey, setBlockEntityNbt, setTranslationKeyMethods inherited from class net.minecraft.item.Item
appendTooltip, byRawId, canRepair, canUseOnEntity, fromBlock, getAttributeModifierMap, getDisplayColor, getDisplayName, getEnchantability, getFromId, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMiningSpeedMultiplier, getRarity, getRawId, getRecipeRemainder, getStatusEffectString, getUseAction, hasEnchantmentGlint, hasStatusEffectString, hasSubTypes, inventoryTick, isDamageable, isEffectiveOn, isEnchantable, isFood, isHandheld, isNetworkSynced, isUnbreakable, onBlockBroken, onCraft, onEntityHit, onFinishUse, onHit, onStartUse, onUseStopped, postProcessNbt, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setStatusEffectString, setUnbreakable, setup, shouldRotate, shouldSyncNbtToClient
-
Field Details
-
singleSlab
- Mappings:
Namespace Name Mixin selector official bLaau;b:Lahh;intermediary field_4399Lnet/minecraft/class_1095;field_4399:Lnet/minecraft/class_143;named singleSlabLnet/minecraft/item/StoneSlabItem;singleSlab:Lnet/minecraft/block/SlabBlock;
-
doubleSlab
- Mappings:
Namespace Name Mixin selector official cLaau;c:Lahh;intermediary field_4400Lnet/minecraft/class_1095;field_4400:Lnet/minecraft/class_143;named doubleSlabLnet/minecraft/item/StoneSlabItem;doubleSlab:Lnet/minecraft/block/SlabBlock;
-
-
Constructor Details
-
StoneSlabItem
- Mappings:
Namespace Name Mixin selector official <init>Laau;<init>(Lafh;Lahh;Lahh;)Vintermediary <init>Lnet/minecraft/class_1095;<init>(Lnet/minecraft/class_197;Lnet/minecraft/class_143;Lnet/minecraft/class_143;)Vnamed <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) -
getTranslationKey
- Overrides:
getTranslationKeyin classBlockItem- Mappings:
Namespace Name Mixin selector official e_Lzw;e_(Lzx;)Ljava/lang/String;intermediary method_3371Lnet/minecraft/class_1069;method_3371(Lnet/minecraft/class_1071;)Ljava/lang/String;named getTranslationKeyLnet/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:
usein classBlockItem- Mappings:
Namespace Name Mixin selector official aLzw;a(Lzx;Lwn;Ladm;Lcj;Lcq;FFF)Zintermediary method_3355Lnet/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)Znamed useLnet/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_11269in classBlockItem- Mappings:
Namespace Name Mixin selector official aLyo;a(Ladm;Lcj;Lcq;Lwn;Lzx;)Zintermediary method_11269Lnet/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;)Znamed method_11269Lnet/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
- Mappings:
Namespace Name Mixin selector official aLaau;a(Lzx;Ladm;Lcj;Ljava/lang/Object;)Zintermediary method_8438Lnet/minecraft/class_1095;method_8438(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Ljava/lang/Object;)Znamed method_8438Lnet/minecraft/item/StoneSlabItem;method_8438(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/lang/Object;)Z
-