net.minecraft.world.item

public class SpawnEggItem

extends Item

All mapped superinterfaces:

ItemLike

bdh
net.minecraft.world.item.SpawnEggItem
net.minecraft.class_1826
net.minecraft.unmapped.C_vhhtwwcq
net.minecraft.item.SpawnEggItem
net.minecraft.item.SpawnEggItem
net.minecraft.server.v1_14_R1.ItemMonsterEgg

Field summary

Modifier and TypeField
private static final Map<EntityType<?>, SpawnEggItem>
a
BY_ID
field_8914
f_cgoltfuv
SPAWN_EGGS
field_195987_b
private final int
b
color1
field_8916
f_hsadtplv
primaryColor
field_195988_c
private final int
c
color2
field_8915
f_nhxtpmqj
secondaryColor
field_195989_d
private final EntityType<?>
d
defaultType
field_8917
f_cgbiiqgm
type
field_200890_d

Constructor summary

ModifierConstructor
public (EntityType<?> type, int primaryColor, int secondaryColor, Item$Properties settings)

Method summary

Modifier and TypeMethod
public InteractionResult
a(bdu arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
m_mtceqnlj(C_yyklzime arg0)
useOnBlock(ItemUsageContext arg0)
func_195939_a(ItemUseContext arg0)
public InteractionResultHolder<ItemStack>
a(bhr arg0, awg arg1, ahi arg2)
use(Level arg0, Player arg1, InteractionHand arg2)
method_7836(class_1937 arg0, class_1657 arg1, class_1268 arg2)
m_znsmbimv(C_cdctfzbn arg0, C_jzrpycqo arg1, C_laxmzoqs arg2)
use(World arg0, PlayerEntity arg1, Hand arg2)
func_77659_a(World arg0, PlayerEntity arg1, Hand arg2)
public boolean
a(id arg0, ais<?> arg1)
spawnsEntity(CompoundTag arg0, EntityType<?> arg1)
method_8018(class_2487 arg0, class_1299<?> arg1)
m_yjwdjdux(C_hhlwcnih arg0, C_ogavsvbr<?> arg1)
isOfSameEntityType(CompoundTag tag, EntityType<?> type)
func_208077_a(CompoundNBT arg0, EntityType<?> arg1)
public static Iterable<SpawnEggItem>
d()
eggs()
method_8017()
m_aktjsyil()
getAll()
func_195985_g()
public EntityType<?>
b(id arg0)
getType(CompoundTag arg0)
method_8015(class_2487 arg0)
m_sgtwomfj(C_hhlwcnih arg0)
getEntityType(CompoundTag tag)
func_208076_b(CompoundNBT arg0)
public int
a(int arg0)
getColor(int arg0)
method_8016(int arg0)
m_xpiqzihx(int arg0)
getColor(int num)
func_195983_a(int arg0)
public static SpawnEggItem
a(ais<?> arg0)
byId(EntityType<?> arg0)
method_8019(class_1299<?> arg0)
m_efanbnxv(C_ogavsvbr<?> arg0)
forEntity(EntityType<?> type)
func_200889_b(EntityType<?> arg0)