Package net.minecraft.item
Class SpawnEggItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.SpawnEggItem
- Mappings:
Namespace Name official acpintermediary net/minecraft/class_1076named net/minecraft/item/SpawnEggItem
-
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 TypeMethodDescriptionvoidappendItemStacks(Item item, ItemGroup group, List list) Registers an item's sub itemsintgetDisplayColor(ItemStack stack, int color) getDisplayName(ItemStack stack) booleanmethod_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) method_3369(int int2, int int3) booleanstatic Entitymethod_4628(World world, int int2, double double2, double double3, double double4) voidmethod_5462(TextureRegistry textureRegistry) onStartUse(ItemStack stack, World world, PlayerEntity player) Methods inherited from class net.minecraft.item.Item
appendTooltip, byRawId, canRepair, canUseOnEntity, fromBlock, getAttributeModifierMap, getEnchantability, getFromId, getItemGroup, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMeta, getMiningSpeedMultiplier, getRarity, getRawId, getRecipeRemainder, getStatusEffectString, getTranslationKey, getTranslationKey, getUseAction, hasEnchantmentGlint, hasStatusEffectString, hasSubTypes, inventoryTick, isDamageable, isEffectiveOn, isEnchantable, isFood, isHandheld, isNetworkSynced, isUnbreakable, method_3343, method_3356, method_3378, method_3380, method_5463, method_6324, onCraft, onEntityHit, onFinishUse, onHit, onUseStopped, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setStatusEffectString, setTranslationKey, setUnbreakable, setup, shouldRotate, shouldSyncNbtToClient
-
Field Details
-
field_6204
- Mappings:
Namespace Name Mixin selector official aLacp;a:Lpr;intermediary field_6204Lnet/minecraft/class_1076;field_6204:Lnet/minecraft/class_1557;named field_6204Lnet/minecraft/item/SpawnEggItem;field_6204:Lnet/minecraft/client/Texture;
-
-
Constructor Details
-
SpawnEggItem
public SpawnEggItem()- 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
-
getDisplayName
- Overrides:
getDisplayNamein classItem- Mappings:
Namespace Name Mixin selector official nLabm;n(Labo;)Ljava/lang/String;intermediary method_3383Lnet/minecraft/class_1069;method_3383(Lnet/minecraft/class_1071;)Ljava/lang/String;named getDisplayNameLnet/minecraft/item/Item;getDisplayName(Lnet/minecraft/item/ItemStack;)Ljava/lang/String;
-
getDisplayColor
- Overrides:
getDisplayColorin classItem- Mappings:
Namespace Name Mixin selector official aLabm;a(Labo;I)Iintermediary method_3344Lnet/minecraft/class_1069;method_3344(Lnet/minecraft/class_1071;I)Inamed getDisplayColorLnet/minecraft/item/Item;getDisplayColor(Lnet/minecraft/item/ItemStack;I)I
-
method_3397
- Overrides:
method_3397in classItem- Mappings:
Namespace Name Mixin selector official bLabm;b()Zintermediary method_3397Lnet/minecraft/class_1069;method_3397()Znamed method_3397Lnet/minecraft/item/Item;method_3397()Z
-
method_3369
- Overrides:
method_3369in classItem- Mappings:
Namespace Name Mixin selector official aLabm;a(II)Lpr;intermediary method_3369Lnet/minecraft/class_1069;method_3369(II)Lnet/minecraft/class_1557;named method_3369Lnet/minecraft/item/Item;method_3369(II)Lnet/minecraft/client/Texture;
-
method_3355
public boolean method_3355(ItemStack itemStack, PlayerEntity playerEntity, World world, int int2, int int3, int int4, int int5, float float2, float float3, float float4) - Overrides:
method_3355in classItem- Mappings:
Namespace Name Mixin selector official aLabm;a(Labo;Lxk;Lafm;IIIIFFF)Zintermediary method_3355Lnet/minecraft/class_1069;method_3355(Lnet/minecraft/class_1071;Lnet/minecraft/class_988;Lnet/minecraft/class_1150;IIIIFFF)Znamed method_3355Lnet/minecraft/item/Item;method_3355(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;IIIIFFF)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_4628
public static Entity method_4628(World world, int int2, double double2, double double3, double double4) - Mappings:
Namespace Name Mixin selector official aLacp;a(Lafm;IDDD)Lqm;intermediary method_4628Lnet/minecraft/class_1076;method_4628(Lnet/minecraft/class_1150;IDDD)Lnet/minecraft/class_864;named method_4628Lnet/minecraft/item/SpawnEggItem;method_4628(Lnet/minecraft/world/World;IDDD)Lnet/minecraft/entity/Entity;
-
appendItemStacks
Registers an item's sub items- Overrides:
appendItemStacksin classItem- Parameters:
item- The Item instancegroup- The ItemGrouplist- The list of sub items- Mappings:
Namespace Name Mixin selector official aLabm;a(Labm;Laae;Ljava/util/List;)Vintermediary method_3345Lnet/minecraft/class_1069;method_3345(Lnet/minecraft/class_1069;Lnet/minecraft/class_1041;Ljava/util/List;)Vnamed appendItemStacksLnet/minecraft/item/Item;appendItemStacks(Lnet/minecraft/item/Item;Lnet/minecraft/item/itemgroup/ItemGroup;Ljava/util/List;)V
-
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
-