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 aizintermediary net/minecraft/class_1102named net/minecraft/item/VariantBlockItem
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.item.Item
Item.ToolMaterialType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final VariantBlockItem.class_3057protected final BlockFields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, ATTACK_SPEED_MODIFIER, damageable, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
ConstructorsConstructorDescriptionVariantBlockItem(Block block, Block block2, String[] string) VariantBlockItem(Block block, Block block2, VariantBlockItem.class_3057 class_3057) -
Method Summary
Methods inherited from class net.minecraft.item.BlockItem
appendToItemGroup, appendTooltips, getBlock, getItemGroup, getTranslationKey, method_11269, setBlockEntityNbt, useMethods inherited from class net.minecraft.item.Item
addProperty, byRawId, canAddTo, canRepair, fromBlock, getBlockBreakingSpeed, getDefaultStack, getDisplayName, getEnchantability, getFromId, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getProperty, getRarity, getRawId, getRecipeRemainder, getUseAction, hasEnchantmentGlint, hasProperties, hasSubTypes, inventoryTick, isDamageable, isEnchantable, isFood, isHandheld, isNetworkSynced, isUnbreakable, method_13649, method_3346, method_3353, method_3356, method_3359, method_3367, method_6326, onCraft, onEntityHit, onHit, postProcessNbt, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setTranslationKey, setUnbreakable, setup, shouldRotate, shouldSyncNbtToClient
-
Field Details
-
variantBlock
- Mappings:
Namespace Name Mixin selector official bLaiz;b:Laow;intermediary field_9148Lnet/minecraft/class_1102;field_9148:Lnet/minecraft/class_197;named variantBlockLnet/minecraft/item/VariantBlockItem;variantBlock:Lnet/minecraft/block/Block;
-
field_15114
- Mappings:
Namespace Name Mixin selector official cLaiz;c:Laiz$a;intermediary field_15114Lnet/minecraft/class_1102;field_15114:Lnet/minecraft/class_1102$class_3057;named field_15114Lnet/minecraft/item/VariantBlockItem;field_15114:Lnet/minecraft/item/VariantBlockItem$class_3057;
-
-
Constructor Details
-
VariantBlockItem
-
VariantBlockItem
-
-
Method Details
-
getMeta
public int getMeta(int i) -
getTranslationKey
- Overrides:
getTranslationKeyin classBlockItem- Mappings:
Namespace Name Mixin selector official aLain;a(Laip;)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;
-