Package net.minecraft.item
Class FishingRodItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.FishingRodItem
- Mappings:
Namespace Name official abgintermediary net/minecraft/class_1063named net/minecraft/item/FishingRodItem
-
Field Summary
FieldsFields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, damageable, field_6201, field_6941, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the enchantability of an Item.booleanisEnchantable(ItemStack stack) Returns whether the current item can have enchantments.booleanReturns whether the item is supposed to look as handheld.voidmethod_5462(TextureRegistry textureRegistry) onStartUse(ItemStack stack, World world, PlayerEntity player) booleanMethods inherited from class net.minecraft.item.Item
appendItemStacks, appendTooltip, byRawId, canRepair, canUseOnEntity, fromBlock, getAttributeModifierMap, getDisplayColor, getDisplayName, getFromId, getItemGroup, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMeta, getMiningSpeedMultiplier, getRarity, getRawId, getRecipeRemainder, getStatusEffectString, getTranslationKey, getTranslationKey, getUseAction, hasEnchantmentGlint, hasStatusEffectString, hasSubTypes, inventoryTick, isDamageable, isEffectiveOn, isFood, isNetworkSynced, isUnbreakable, method_3343, method_3355, method_3356, method_3369, method_3378, method_3380, method_3397, method_5463, method_6324, onCraft, onEntityHit, onFinishUse, onHit, onUseStopped, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setStatusEffectString, setTranslationKey, setUnbreakable, setup, shouldSyncNbtToClient
-
Field Details
-
field_6174
- Mappings:
Namespace Name Mixin selector official aLabg;a:Lpr;intermediary field_6174Lnet/minecraft/class_1063;field_6174:Lnet/minecraft/class_1557;named field_6174Lnet/minecraft/item/FishingRodItem;field_6174:Lnet/minecraft/client/Texture;
-
-
Constructor Details
-
FishingRodItem
public FishingRodItem()- Mappings:
Namespace Name Mixin selector official <init>Labm;<init>()Vintermediary <init>Lnet/minecraft/class_1069;<init>()Vnamed <init>Lnet/minecraft/item/Item;<init>()V
-
-
Method Details
-
isHandheld
Returns whether the item is supposed to look as handheld.- Overrides:
isHandheldin classItem- Mappings:
Namespace Name Mixin selector official fLabm;f()Zintermediary method_3372Lnet/minecraft/class_1069;method_3372()Znamed isHandheldLnet/minecraft/item/Item;isHandheld()Z
-
shouldRotate
- Overrides:
shouldRotatein classItem- Mappings:
Namespace Name Mixin selector official gLabm;g()Zintermediary method_3390Lnet/minecraft/class_1069;method_3390()Znamed shouldRotateLnet/minecraft/item/Item;shouldRotate()Z
-
onStartUse
- Overrides:
onStartUsein classItem- Mappings:
Namespace Name Mixin selector official aLabm;a(Labo;Lafm;Lxk;)Labo;intermediary method_3358Lnet/minecraft/class_1069;method_3358(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_988;)Lnet/minecraft/class_1071;named onStartUseLnet/minecraft/item/Item;onStartUse(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/item/ItemStack;
-
method_5462
- Overrides:
method_5462in classItem- Mappings:
Namespace Name Mixin selector official aLabm;a(Lps;)Vintermediary method_5462Lnet/minecraft/class_1069;method_5462(Lnet/minecraft/class_1558;)Vnamed method_5462Lnet/minecraft/item/Item;method_5462(Lnet/minecraft/client/TextureRegistry;)V
-
method_5461
- Mappings:
Namespace Name Mixin selector official iLabg;i()Lpr;intermediary method_5461Lnet/minecraft/class_1063;method_5461()Lnet/minecraft/class_1557;named method_5461Lnet/minecraft/item/FishingRodItem;method_5461()Lnet/minecraft/client/Texture;
-
isEnchantable
Returns whether the current item can have enchantments. It does this by verifying that the item's maximum stack size is 1 and the item can break.- Overrides:
isEnchantablein classItem- Mappings:
Namespace Name Mixin selector official e_Labm;e_(Labo;)Zintermediary method_3385Lnet/minecraft/class_1069;method_3385(Lnet/minecraft/class_1071;)Znamed isEnchantableLnet/minecraft/item/Item;isEnchantable(Lnet/minecraft/item/ItemStack;)Z
-
getEnchantability
public int getEnchantability()Returns the enchantability of an Item. Used by tools and armor- Overrides:
getEnchantabilityin classItem- Returns:
- Enchantability
- See Also:
- Mappings:
Namespace Name Mixin selector official cLabm;c()Iintermediary method_3362Lnet/minecraft/class_1069;method_3362()Inamed getEnchantabilityLnet/minecraft/item/Item;getEnchantability()I
-