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 aeyintermediary net/minecraft/class_1039named net/minecraft/item/GrassBlockItem
-
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
appendItemStacks, getBlock, getItemGroup, getTranslationKey, method_11269, method_3355, 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
-
names
- Mappings:
Namespace Name Mixin selector official bLaey;b:[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>Laey;<init>(Lajt;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
-
getMeta
public int getMeta(int i) -
setNamed
- Mappings:
Namespace Name Mixin selector official aLaey;a([Ljava/lang/String;)Laey;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 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;
-