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 abrintermediary net/minecraft/class_1072named net/minecraft/item/LeavesItem
-
Field Summary
FieldsFields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, damageable, field_6201, field_6941, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetDisplayColor(ItemStack stack, int color) intgetMeta(int i) getTranslationKey(ItemStack stack) method_3343(int int2) Methods inherited from class net.minecraft.item.BlockItem
appendItemStacks, getItemGroup, getTranslationKey, method_3355, method_3463, method_5462, method_5463, setTranslationKeyMethods inherited from class net.minecraft.item.Item
appendTooltip, byRawId, canRepair, canUseOnEntity, fromBlock, getAttributeModifierMap, getDisplayName, getEnchantability, getFromId, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMiningSpeedMultiplier, getRarity, getRawId, getRecipeRemainder, getStatusEffectString, getUseAction, hasEnchantmentGlint, hasStatusEffectString, hasSubTypes, inventoryTick, isDamageable, isEffectiveOn, isEnchantable, isFood, isHandheld, isNetworkSynced, isUnbreakable, method_3356, method_3369, method_3378, method_3380, method_3397, method_6324, onCraft, onEntityHit, onFinishUse, onHit, onStartUse, onUseStopped, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setStatusEffectString, setUnbreakable, setup, shouldRotate, shouldSyncNbtToClient
-
Field Details
-
leavesBlock
- Mappings:
Namespace Name Mixin selector official bLabr;b:Lake;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>Labr;<init>(Lake;)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) -
method_3343
- Overrides:
method_3343in classBlockItem- Mappings:
Namespace Name Mixin selector official b_Labm;b_(I)Lpr;intermediary method_3343Lnet/minecraft/class_1069;method_3343(I)Lnet/minecraft/class_1557;named method_3343Lnet/minecraft/item/Item;method_3343(I)Lnet/minecraft/client/Texture;
-
getDisplayColor
- Overrides:
getDisplayColorin classItem- Mappings:
Namespace Name Mixin selector official aLabm;a(Labo;I)Iintermediary method_3344Lnet/minecraft/class_1069;method_3344(Lnet/minecraft/class_1071;I)Inamed getDisplayColorLnet/minecraft/item/Item;getDisplayColor(Lnet/minecraft/item/ItemStack;I)I
-
getTranslationKey
- Overrides:
getTranslationKeyin classBlockItem- Mappings:
Namespace Name Mixin selector official aLabm;a(Labo;)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;
-