Package net.minecraft.item
Class VariantBlockItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.BlockItem
net.minecraft.item.VariantBlockItem
- Direct Known Subclasses:
AnvilItem
- Mappings:
Namespace Name official adzintermediary net/minecraft/class_1102named net/minecraft/item/VariantBlockItem
-
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
-
variantBlock
- Mappings:
Namespace Name Mixin selector official bLadz;b:Lajt;intermediary field_9148Lnet/minecraft/class_1102;field_9148:Lnet/minecraft/class_197;named variantBlockLnet/minecraft/item/VariantBlockItem;variantBlock:Lnet/minecraft/block/Block;
-
nameFunction
- Mappings:
Namespace Name Mixin selector official cLadz;c:Lcom/google/common/base/Function;intermediary field_9149Lnet/minecraft/class_1102;field_9149:Lcom/google/common/base/Function;named nameFunctionLnet/minecraft/item/VariantBlockItem;nameFunction:Lcom/google/common/base/Function;
-
-
Constructor Details
-
VariantBlockItem
- Mappings:
Namespace Name Mixin selector official <init>Ladz;<init>(Lajt;Lajt;Lcom/google/common/base/Function;)Vintermediary <init>Lnet/minecraft/class_1102;<init>(Lnet/minecraft/class_197;Lnet/minecraft/class_197;Lcom/google/common/base/Function;)Vnamed <init>Lnet/minecraft/item/VariantBlockItem;<init>(Lnet/minecraft/block/Block;Lnet/minecraft/block/Block;Lcom/google/common/base/Function;)V
-
VariantBlockItem
-
-
Method Details
-
getMeta
public int getMeta(int i) -
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;
-