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 aglintermediary 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) Methods inherited from class net.minecraft.item.BlockItem
appendTooltip, getBlock, getItemGroup, getTranslationKey, method_13648, setBlockEntityNbtMethods inherited from class net.minecraft.item.Item
addProperty, byRawId, canRepair, fromBlock, getBlockBreakingSpeed, getDefaultStack, getDisplayName, getEnchantability, getFromId, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getProperty, getRarity, getRawId, getRecipeRemainder, getUseAction, hasEnchantmentGlint, hasProperties, hasSubTypes, inventoryTick, isDamageable, isEnchantable, isFood, isHandheld, isNetworkSynced, isUnbreakable, method_13649, method_3346, method_3353, method_3356, method_3359, method_3367, method_6326, onCraft, onEntityHit, onHit, postProcessNbt, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setTranslationKey, setUnbreakable, setup, shouldRotate, shouldSyncNbtToClient
-
Field Details
-
singleSlab
- Mappings:
Namespace Name Mixin selector official bLagl;b:Laob;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 cLagl;c:Laob;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>Lagl;<init>(Lalu;Laob;Laob;)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 aLafh;a(Lafj;)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 ActionResult use(PlayerEntity player, World world, BlockPos pos, Hand hand, Direction direction, float x, float y, float z) - Overrides:
usein classBlockItem- Mappings:
Namespace Name Mixin selector official aLafh;a(Laay;Lajs;Lco;Lri;Lcv;FFF)Lrk;intermediary method_3355Lnet/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 useLnet/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_11269in classBlockItem- Mappings:
Namespace Name Mixin selector official aLadv;a(Lajs;Lco;Lcv;Laay;Lafj;)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 aLagl;a(Laay;Lafj;Lajs;Lco;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 aLagl;a(Laub;Ljava/lang/Comparable;)Latl;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;
-