net.minecraft.item

public class SpawnEggItem

extends Item

All mapped superinterfaces:

ItemLike

auc
net.minecraft.class_3558
net.minecraft.item.SpawnEggItem
net.minecraft.item.ItemSpawnEgg
net.minecraft.item.ItemSpawnEgg

Field summary

Modifier and TypeField
private static final Map<EntityType<?>, SpawnEggItem>
a
field_17380
BY_TYPE
field_195987_b
EGGS
private final int
b
field_17381
color1
field_195988_c
primaryColor
private final int
c
field_17382
color2
field_195989_d
secondaryColor
private final EntityType<?>
d
field_17383
type
field_200890_d
typeIn

Constructor summary

ModifierConstructor
public (EntityType<?> type, int color1, int color2, Item$Properties properties)

Method summary

Modifier and TypeMethod
public InteractionResult
a(aup arg0)
method_16071(class_3565 arg0)
useOn(ItemUseContext arg0)
func_195939_a(ItemUseContext arg0)
onItemUse(ItemUseContext arg0)
public InteractionResultHolder<ItemStack>
a(axy arg0, aog arg1, adk arg2)
method_13649(class_1150 arg0, class_988 arg1, class_2961 arg2)
startUsing(World arg0, PlayerEntity arg1, InteractionHand arg2)
func_77659_a(World arg0, EntityPlayer arg1, EnumHand arg2)
onItemRightClick(World arg0, EntityPlayer arg1, EnumHand arg2)
public boolean
a(gy arg0, aev<?> arg1)
method_16127(class_322 arg0, class_3460<?> arg1)
isType(NbtCompound nbt, EntityType<?> type)
func_208077_a(NBTTagCompound arg0, EntityType<?> arg1)
hasType(NBTTagCompound arg0, EntityType<?> arg1)
public static Iterable<SpawnEggItem>
d()
method_16129()
getAll()
func_195985_g()
getEggs()
public EntityType<?>
b(gy arg0)
method_16128(class_322 arg0)
getType(NbtCompound nbt)
func_208076_b(NBTTagCompound arg0)
getType(NBTTagCompound arg0)
public int
a(int arg0)
method_16125(int arg0)
getColor(int layer)
func_195983_a(int arg0)
getColor(int tintIndex)
public static SpawnEggItem
a(aev<?> arg0)
method_16126(class_3460<?> arg0)
byType(EntityType<?> type)
func_200889_b(EntityType<?> arg0)
getEgg(EntityType<?> type)