Package net.minecraft.item
Class GrassBlockItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.BlockItem
net.minecraft.item.GrassBlockItem
- Direct Known Subclasses:
LilyPadItem
- Mappings:
Namespace Name official annintermediary net/minecraft/class_1039named net/minecraft/item/GrassBlockItem
-
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 TypeMethodDescriptionintgetDisplayColor(ItemStack stack, int color) intgetMeta(int i) getTranslationKey(ItemStack stack) Methods inherited from class net.minecraft.item.BlockItem
appendItemStacks, getBlock, getItemGroup, getTranslationKey, method_11269, method_11270, setTranslationKey, useMethods 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, onBlockBroken, onCraft, onEntityHit, onFinishUse, onHit, onStartUse, onUseStopped, postProcessNbt, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setStatusEffectString, setUnbreakable, setup, shouldRotate, shouldSyncNbtToClient
-
Field Details
-
coloredBlock
- Mappings:
Namespace Name Mixin selector official bLann;b:Latr;intermediary field_4171Lnet/minecraft/class_1039;field_4171:Lnet/minecraft/class_197;named coloredBlockLnet/minecraft/item/GrassBlockItem;coloredBlock:Lnet/minecraft/block/Block;
-
names
- Mappings:
Namespace Name Mixin selector official cLann;c:[Ljava/lang/String;intermediary field_4172Lnet/minecraft/class_1039;field_4172:[Ljava/lang/String;named namesLnet/minecraft/item/GrassBlockItem;names:[Ljava/lang/String;
-
-
Constructor Details
-
GrassBlockItem
- Mappings:
Namespace Name Mixin selector official <init>Lann;<init>(Latr;Z)Vintermediary <init>Lnet/minecraft/class_1039;<init>(Lnet/minecraft/class_197;Z)Vnamed <init>Lnet/minecraft/item/GrassBlockItem;<init>(Lnet/minecraft/block/Block;Z)V
-
-
Method Details
-
getDisplayColor
- Overrides:
getDisplayColorin classItem- Mappings:
Namespace Name Mixin selector official aLalq;a(Lamj;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
-
getMeta
public int getMeta(int i) -
setNamed
- Mappings:
Namespace Name Mixin selector official aLann;a([Ljava/lang/String;)Lann;intermediary method_3313Lnet/minecraft/class_1039;method_3313([Ljava/lang/String;)Lnet/minecraft/class_1039;named setNamedLnet/minecraft/item/GrassBlockItem;setNamed([Ljava/lang/String;)Lnet/minecraft/item/GrassBlockItem;
-
getTranslationKey
- Overrides:
getTranslationKeyin classBlockItem- Mappings:
Namespace Name Mixin selector official e_Lalq;e_(Lamj;)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;
-