Class SpawnEggItem

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

public class SpawnEggItem extends Item
Mappings:
Namespace Name
official aeu
intermediary net/minecraft/class_1076
named net/minecraft/item/SpawnEggItem
  • Constructor Details

    • SpawnEggItem

      public SpawnEggItem()
      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

    • getDisplayName

      public String getDisplayName(ItemStack stack)
      Overrides:
      getDisplayName in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lado;a(Ladq;)Ljava/lang/String;
      intermediary method_3383 Lnet/minecraft/class_1069;method_3383(Lnet/minecraft/class_1071;)Ljava/lang/String;
      named getDisplayName Lnet/minecraft/item/Item;getDisplayName(Lnet/minecraft/item/ItemStack;)Ljava/lang/String;
    • method_3355

      public ActionResult method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, BlockPos blockPos, Hand hand, Direction direction, float float2, float float3, float float4)
      Overrides:
      method_3355 in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lado;a(Ladq;Lzj;Laht;Lcl;Lqm;Lcs;FFF)Lqo;
      intermediary method_3355 Lnet/minecraft/class_1069;method_3355(Lnet/minecraft/class_1071;Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2961;Lnet/minecraft/class_1354;FFF)Lnet/minecraft/class_2962;
      named method_3355 Lnet/minecraft/item/Item;method_3355(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/Hand;Lnet/minecraft/util/math/Direction;FFF)Lnet/minecraft/util/ActionResult;
    • method_11406

      public static void method_11406(World world, @Nullable PlayerEntity player, ItemStack stack, @Nullable Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Laeu;a(Laht;Lzj;Ladq;Lrr;)V
      intermediary method_11406 Lnet/minecraft/class_1076;method_11406(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;Lnet/minecraft/class_1071;Lnet/minecraft/class_864;)V
      named method_11406 Lnet/minecraft/item/SpawnEggItem;method_11406(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;)V
    • 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;
    • method_4628

      @Nullable public static Entity method_4628(World world, @Nullable String string, double double2, double double3, double double4)
      Mappings:
      Namespace Name Mixin selector
      official a Laeu;a(Laht;Ljava/lang/String;DDD)Lrr;
      intermediary method_4628 Lnet/minecraft/class_1076;method_4628(Lnet/minecraft/class_1150;Ljava/lang/String;DDD)Lnet/minecraft/class_864;
      named method_4628 Lnet/minecraft/item/SpawnEggItem;method_4628(Lnet/minecraft/world/World;Ljava/lang/String;DDD)Lnet/minecraft/entity/Entity;
    • appendItemStacks

      @Environment(CLIENT) public void appendItemStacks(Item item, ItemGroup group, List<ItemStack> list)
      Registers an item's sub items
      Overrides:
      appendItemStacks in class Item
      Parameters:
      item - The Item instance
      group - The ItemGroup
      list - The list of sub items
      Mappings:
      Namespace Name Mixin selector
      official a Lado;a(Lado;Lacq;Ljava/util/List;)V
      intermediary method_3345 Lnet/minecraft/class_1069;method_3345(Lnet/minecraft/class_1069;Lnet/minecraft/class_1041;Ljava/util/List;)V
      named appendItemStacks Lnet/minecraft/item/Item;appendItemStacks(Lnet/minecraft/item/Item;Lnet/minecraft/item/itemgroup/ItemGroup;Ljava/util/List;)V
    • method_11405

      @Environment(CLIENT) public static void method_11405(ItemStack itemStack, String string)
      Mappings:
      Namespace Name Mixin selector
      official a Laeu;a(Ladq;Ljava/lang/String;)V
      intermediary method_11405 Lnet/minecraft/class_1076;method_11405(Lnet/minecraft/class_1071;Ljava/lang/String;)V
      named method_11405 Lnet/minecraft/item/SpawnEggItem;method_11405(Lnet/minecraft/item/ItemStack;Ljava/lang/String;)V
    • method_11407

      @Nullable public static String method_11407(ItemStack itemStack)
      Mappings:
      Namespace Name Mixin selector
      official h Laeu;h(Ladq;)Ljava/lang/String;
      intermediary method_11407 Lnet/minecraft/class_1076;method_11407(Lnet/minecraft/class_1071;)Ljava/lang/String;
      named method_11407 Lnet/minecraft/item/SpawnEggItem;method_11407(Lnet/minecraft/item/ItemStack;)Ljava/lang/String;