Package net.minecraft.item
Class VariantBlockItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.BlockItem
net.minecraft.item.VariantBlockItem
- Mappings:
Namespace Name official amrintermediary net/minecraft/class_1102named net/minecraft/item/VariantBlockItem
-
Field Summary
FieldsFields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, damageable, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
ConstructorsConstructorDescriptionVariantBlockItem(Block block, Block variantBlock, Function nameFunction) VariantBlockItem(Block block, Block block2, String[] string) -
Method Summary
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, getDisplayColor, 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
-
variantBlock
- Mappings:
Namespace Name Mixin selector official bLamr;b:Latr;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 cLamr;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>Lamr;<init>(Latr;Latr;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 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;
-