net.minecraft.item

public class SpawnEggItem

extends Item

All mapped superinterfaces:

ItemConvertible

blh
net.minecraft.world.item.SpawnEggItem
net.minecraft.class_1826
net.minecraft.item.SpawnEggItem
net.minecraft.unmapped.C_vhhtwwcq
net.minecraft.item.SpawnEggItem
net.minecraft.item.SpawnEggItem

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public ActionResult
a(blv arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)
m_mtceqnlj(C_yyklzime arg0)
func_195939_a(ItemUseContext arg0)
onItemUse(ItemUseContext arg0)
public TypedActionResult<ItemStack>
a(bqb arg0, bec arg1, anf arg2)
use(Level arg0, Player arg1, InteractionHand arg2)
method_7836(class_1937 arg0, class_1657 arg1, class_1268 arg2)
use(World arg0, PlayerEntity arg1, Hand arg2)
m_znsmbimv(C_cdctfzbn arg0, C_jzrpycqo arg1, C_laxmzoqs arg2)
func_77659_a(World arg0, PlayerEntity arg1, Hand arg2)
onItemRightClick(World arg0, PlayerEntity arg1, Hand arg2)
public boolean
a(le arg0, aoq<?> arg1)
spawnsEntity(CompoundTag arg0, EntityType<?> arg1)
method_8018(class_2487 arg0, class_1299<?> arg1)
isOfSameEntityType(CompoundTag tag, EntityType<?> type)
m_yjwdjdux(C_hhlwcnih arg0, C_ogavsvbr<?> arg1)
func_208077_a(CompoundNBT arg0, EntityType<?> arg1)
hasType(CompoundNBT arg0, EntityType<?> type)
public static Iterable<SpawnEggItem>
f()
eggs()
method_8017()
getAll()
m_aktjsyil()
func_195985_g()
getEggs()
public EntityType<?>
a(le arg0)
getType(CompoundTag arg0)
method_8015(class_2487 arg0)
getEntityType(CompoundTag tag)
m_sgtwomfj(C_hhlwcnih arg0)
func_208076_b(CompoundNBT arg0)
getType(CompoundNBT arg0)
public Optional<MobEntity>
a(bec arg0, aoz arg1, aoq<? extends aoz> arg2, bqb arg3, dem arg4, bki arg5)
spawnOffspringFromSpawnEgg(Player arg0, Mob arg1, EntityType<? extends Mob> arg2, Level arg3, Vec3 arg4, ItemStack arg5)
method_24793(class_1657 arg0, class_1308 arg1, class_1299<? extends class_1308> arg2, class_1937 arg3, class_243 arg4, class_1799 arg5)
spawnBaby(PlayerEntity user, MobEntity arg1, EntityType<? extends MobEntity> arg2, World arg3, Vec3d arg4, ItemStack arg5)
m_jqfwshyx(C_jzrpycqo arg0, C_dxkfswlz arg1, C_ogavsvbr<? extends C_dxkfswlz> arg2, C_cdctfzbn arg3, C_vgpupfxx arg4, C_sddaxwyk arg5)
func_234809_a_(PlayerEntity arg0, MobEntity arg1, EntityType<? extends MobEntity> arg2, World arg3, Vector3d arg4, ItemStack arg5)
func_234809_a_(PlayerEntity arg0, MobEntity arg1, EntityType<? extends MobEntity> arg2, World arg3, Vector3d arg4, ItemStack arg5)
public int
a(int arg0)
getColor(int arg0)
method_8016(int arg0)
getColor(int num)
m_xpiqzihx(int arg0)
func_195983_a(int arg0)
getColor(int tintIndex)
public static SpawnEggItem
a(aoq<?> arg0)
byId(EntityType<?> arg0)
method_8019(class_1299<?> arg0)
forEntity(EntityType<?> type)
m_efanbnxv(C_ogavsvbr<?> arg0)
func_200889_b(EntityType<?> arg0)
getEgg(EntityType<?> type)