Package net.minecraft.item
Class CarrotOnAStickItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.CarrotOnAStickItem
- Mappings:
Namespace Name official ahjintermediary net/minecraft/class_1426named net/minecraft/item/CarrotOnAStickItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.ToolMaterialType -
Field Summary
Fields 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 TypeMethodDescriptionbooleanReturns whether the item is supposed to look as handheld.method_13649(World world, PlayerEntity player, Hand hand) booleanMethods inherited from class net.minecraft.item.Item
addProperty, appendToItemGroup, appendTooltips, byRawId, canAddTo, canRepair, fromBlock, getBlockBreakingSpeed, getDefaultStack, getDisplayName, getEnchantability, getFromId, getItemGroup, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMeta, getProperty, getRarity, getRawId, getRecipeRemainder, getTranslationKey, getTranslationKey, getUseAction, hasEnchantmentGlint, hasProperties, hasSubTypes, inventoryTick, isDamageable, isEnchantable, isFood, isNetworkSynced, isUnbreakable, 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, shouldSyncNbtToClient, use
-
Constructor Details
-
CarrotOnAStickItem
public CarrotOnAStickItem()- Mappings:
Namespace Name Mixin selector official <init>Lain;<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 D_Lain;D_()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 F_Lain;F_()Zintermediary method_3390Lnet/minecraft/class_1069;method_3390()Znamed shouldRotateLnet/minecraft/item/Item;shouldRotate()Z
-
method_13649
- Overrides:
method_13649in classItem- Mappings:
Namespace Name Mixin selector official aLain;a(Lamu;Laed;Lub;)Lue;intermediary method_13649Lnet/minecraft/class_1069;method_13649(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;Lnet/minecraft/class_2961;)Lnet/minecraft/class_2963;named method_13649Lnet/minecraft/item/Item;method_13649(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/TypedActionResult;
-