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 aerintermediary 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, ATTACK_SPEED_MODIFIER, 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) protected <T extends Comparable<T>>
BlockStatemethod_11403(Property<T> property, Comparable<?> comparable) private booleanmethod_11404(PlayerEntity playerEntity, ItemStack itemStack, World world, BlockPos blockPos, Object object) method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, BlockPos blockPos, Hand hand, Direction direction, float float2, float float3, float float4) Methods inherited from class net.minecraft.item.BlockItem
appendItemStacks, getBlock, getItemGroup, getTranslationKey, setBlockEntityNbt, setTranslationKeyMethods inherited from class net.minecraft.item.Item
addProperty, appendTooltip, byRawId, canRepair, fromBlock, getBlockBreakingSpeed, getDisplayName, getEnchantability, getFromId, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getProperty, getRarity, getRawId, getRecipeRemainder, getUseAction, hasEnchantmentGlint, hasProperties, hasSubTypes, inventoryTick, isDamageable, isEnchantable, isFood, isHandheld, isNetworkSynced, isUnbreakable, method_11373, method_3346, method_3353, method_3356, method_3359, method_3367, method_6326, onCraft, onEntityHit, onHit, postProcessNbt, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setUnbreakable, setup, shouldRotate, shouldSyncNbtToClient
-
Field Details
-
singleSlab
- Mappings:
Namespace Name Mixin selector official bLaer;b:Lalz;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 cLaer;c:Lalz;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>Laer;<init>(Lajt;Lalz;Lalz;)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 f_Lado;f_(Ladq;)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;
-
method_3355
public ActionResult method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, BlockPos blockPos, Hand hand, Direction direction, float float2, float float3, float float4) - Overrides:
method_3355in classBlockItem- Mappings:
Namespace Name Mixin selector official aLado;a(Ladq;Lzj;Laht;Lcl;Lqm;Lcs;FFF)Lqo;intermediary 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_2961;Lnet/minecraft/class_1354;FFF)Lnet/minecraft/class_2962;named method_3355Lnet/minecraft/item/Item;method_3355(Lnet/minecraft/item/ItemStack;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_11269in classBlockItem- Mappings:
Namespace Name Mixin selector official aLacc;a(Laht;Lcl;Lcs;Lzj;Ladq;)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_11404
private boolean method_11404(PlayerEntity playerEntity, ItemStack itemStack, World world, BlockPos blockPos, Object object) - Mappings:
Namespace Name Mixin selector official aLaer;a(Lzj;Ladq;Laht;Lcl;Ljava/lang/Object;)Zintermediary method_11404Lnet/minecraft/class_1095;method_11404(Lnet/minecraft/class_988;Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Ljava/lang/Object;)Znamed method_11404Lnet/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 aLaer;a(Lars;Ljava/lang/Comparable;)Lard;intermediary method_11403Lnet/minecraft/class_1095;method_11403(Lnet/minecraft/class_2247;Ljava/lang/Comparable;)Lnet/minecraft/class_2232;named method_11403Lnet/minecraft/item/StoneSlabItem;method_11403(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;)Lnet/minecraft/block/BlockState;
-