Package net.minecraft.item
Class LeavesItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.BlockItem
net.minecraft.item.LeavesItem
- Mappings:
Namespace Name official aiuintermediary net/minecraft/class_1072named net/minecraft/item/LeavesItem
-
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
Methods inherited from class net.minecraft.item.BlockItem
appendToItemGroup, appendTooltips, getBlock, getItemGroup, getTranslationKey, method_11269, setBlockEntityNbt, useMethods inherited from class net.minecraft.item.Item
addProperty, byRawId, canAddTo, 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
-
leavesBlock
- Mappings:
Namespace Name Mixin selector official bLaiu;b:Larr;intermediary field_7146Lnet/minecraft/class_1072;field_7146:Lnet/minecraft/class_150;named leavesBlockLnet/minecraft/item/LeavesItem;leavesBlock:Lnet/minecraft/block/LeavesBlock;
-
-
Constructor Details
-
LeavesItem
- Mappings:
Namespace Name Mixin selector official <init>Laiu;<init>(Larr;)Vintermediary <init>Lnet/minecraft/class_1072;<init>(Lnet/minecraft/class_150;)Vnamed <init>Lnet/minecraft/item/LeavesItem;<init>(Lnet/minecraft/block/LeavesBlock;)V
-
-
Method Details
-
getMeta
public int getMeta(int i) -
getTranslationKey
- Overrides:
getTranslationKeyin classBlockItem- Mappings:
Namespace Name Mixin selector official aLain;a(Laip;)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;
-