Package net.minecraft
Class class_3056
java.lang.Object
net.minecraft.item.Item
net.minecraft.class_3056
- Mappings:
Namespace Name official agtintermediary net/minecraft/class_3056named net/minecraft/class_3056
-
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
Modifier and TypeMethodDescriptionvoidappendTooltips(ItemStack stack, World world, List<String> tooltip, TooltipContext tooltipContext) Returns the translation key of the current ItemgetTranslationKey(ItemStack stack) Methods inherited from class net.minecraft.item.Item
addProperty, appendToItemGroup, byRawId, canAddTo, canRepair, fromBlock, getBlockBreakingSpeed, getDefaultStack, getDisplayName, getEnchantability, getFromId, getItemGroup, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMeta, 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, use
-
Field Details
-
field_15107
- Mappings:
Namespace Name Mixin selector official aLagt;a:Laow;intermediary field_15107Lnet/minecraft/class_3056;field_15107:Lnet/minecraft/class_197;named field_15107Lnet/minecraft/class_3056;field_15107:Lnet/minecraft/block/Block;
-
-
Constructor Details
-
class_3056
-
-
Method Details
-
getTranslationKey
- Overrides:
getTranslationKeyin classItem- 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;
-
getTranslationKey
Returns the translation key of the current Item- Overrides:
getTranslationKeyin classItem- Returns:
- Translation key
- Mappings:
Namespace Name Mixin selector official aLain;a()Ljava/lang/String;intermediary method_3342Lnet/minecraft/class_1069;method_3342()Ljava/lang/String;named getTranslationKeyLnet/minecraft/item/Item;getTranslationKey()Ljava/lang/String;
-
appendTooltips
@Environment(CLIENT) public void appendTooltips(ItemStack stack, @Nullable World world, List<String> tooltip, TooltipContext tooltipContext) - Overrides:
appendTooltipsin classItem- Mappings:
Namespace Name Mixin selector official aLain;a(Laip;Lamu;Ljava/util/List;Lakb;)Vintermediary method_14234Lnet/minecraft/class_1069;method_14234(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Ljava/util/List;Lnet/minecraft/class_3191;)Vnamed appendTooltipsLnet/minecraft/item/Item;appendTooltips(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Ljava/util/List;Lnet/minecraft/client/TooltipContext;)V
-