Package net.minecraft.item
Class CarrotOnAStickItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.CarrotOnAStickItem
public class CarrotOnAStickItem extends Item
- Mappings:
Namespace Name official ywintermediary net/minecraft/class_2026named 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, damageable, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
Constructors Constructor Description CarrotOnAStickItem() -
Method Summary
Modifier and Type Method Description booleanisHandheld()Returns whether the item is supposed to look as handheld.ItemStackonStartUse(ItemStack stack, World world, PlayerEntity player)booleanshouldRotate()Methods inherited from class net.minecraft.item.Item
appendItemStacks, appendTooltip, byRawId, canRepair, canUseOnEntity, fromBlock, getAttributeModifierMap, getDisplayColor, getDisplayName, getEnchantability, getFromId, getItemGroup, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMeta, getMiningSpeedMultiplier, getRarity, getRawId, getRecipeRemainder, getStatusEffectString, getTranslationKey, getTranslationKey, getUseAction, hasEnchantmentGlint, hasStatusEffectString, hasSubTypes, inventoryTick, isDamageable, isEffectiveOn, isEnchantable, isFood, isNetworkSynced, isUnbreakable, onBlockBroken, onCraft, onEntityHit, onFinishUse, onHit, onUseStopped, postProcessTag, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setStatusEffectString, setTranslationKey, setUnbreakable, setup, shouldSyncTagToClient, use
-
Constructor Details
-
CarrotOnAStickItem
public CarrotOnAStickItem()- Mappings:
Namespace Name Mixin selector official <init>Lzw;<init>()Vintermediary <init>Lnet/minecraft/class_2054;<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 w_Lzw;w_()Zintermediary method_8305Lnet/minecraft/class_2054;method_8305()Znamed isHandheldLnet/minecraft/item/Item;isHandheld()Z
-
shouldRotate
- Overrides:
shouldRotatein classItem- Mappings:
Namespace Name Mixin selector official eLzw;e()Zintermediary method_8283Lnet/minecraft/class_2054;method_8283()Znamed shouldRotateLnet/minecraft/item/Item;shouldRotate()Z
-
onStartUse
- Overrides:
onStartUsein classItem- Mappings:
Namespace Name Mixin selector official aLzw;a(Lzx;Ladm;Lwn;)Lzx;intermediary method_8260Lnet/minecraft/class_2054;method_8260(Lnet/minecraft/class_2056;Lnet/minecraft/class_99;Lnet/minecraft/class_1963;)Lnet/minecraft/class_2056;named onStartUseLnet/minecraft/item/Item;onStartUse(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/item/ItemStack;
-