Class CarrotOnAStickItem

java.lang.Object
net.minecraft.item.Item
net.minecraft.item.CarrotOnAStickItem

public class CarrotOnAStickItem extends Item
Mappings:
Namespace Name
official ack
intermediary net/minecraft/class_1426
named net/minecraft/item/CarrotOnAStickItem
  • Constructor Details

    • CarrotOnAStickItem

      public CarrotOnAStickItem()
      Mappings:
      Namespace Name Mixin selector
      official <init> Lado;<init>()V
      intermediary <init> Lnet/minecraft/class_1069;<init>()V
      named <init> Lnet/minecraft/item/Item;<init>()V
  • Method Details

    • isHandheld

      @Environment(CLIENT) public boolean isHandheld()
      Returns whether the item is supposed to look as handheld.
      Overrides:
      isHandheld in class Item
      Mappings:
      Namespace Name Mixin selector
      official A_ Lado;A_()Z
      intermediary method_3372 Lnet/minecraft/class_1069;method_3372()Z
      named isHandheld Lnet/minecraft/item/Item;isHandheld()Z
    • shouldRotate

      @Environment(CLIENT) public boolean shouldRotate()
      Overrides:
      shouldRotate in class Item
      Mappings:
      Namespace Name Mixin selector
      official C_ Lado;C_()Z
      intermediary method_3390 Lnet/minecraft/class_1069;method_3390()Z
      named shouldRotate Lnet/minecraft/item/Item;shouldRotate()Z
    • method_11373

      public TypedActionResult<ItemStack> method_11373(ItemStack itemStack, World world, PlayerEntity playerEntity, Hand hand)
      Overrides:
      method_11373 in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lado;a(Ladq;Laht;Lzj;Lqm;)Lqp;
      intermediary method_11373 Lnet/minecraft/class_1069;method_11373(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_988;Lnet/minecraft/class_2961;)Lnet/minecraft/class_2963;
      named method_11373 Lnet/minecraft/item/Item;method_11373(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/TypedActionResult;