net.minecraft.world.item

public class SpawnEggItem

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cxz
net.minecraft.world.item.SpawnEggItem
net.minecraft.class_1826
net.minecraft.unmapped.C_vhhtwwcq
net.minecraft.item.SpawnEggItem
net.minecraft.item.SpawnEggItem
net.minecraft.src.C_1420_
net.minecraft.world.item.ItemMonsterEgg

Field summary

Modifier and TypeField
private static final Map<EntityType<? extends Mob>, SpawnEggItem>
a
BY_ID
field_8914
f_cgoltfuv
SPAWN_EGGS
SPAWN_EGGS
f_43201_
private final EntityType<?>
b
defaultType
field_8917
f_cgbiiqgm
type
type
f_43204_

Constructor summary

ModifierConstructor
public (EntityType<? extends Mob> type, Item$Properties settings)

Method summary

Modifier and TypeMethod
public InteractionResult
a(daj arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
m_mtceqnlj(C_yyklzime arg0)
useOnBlock(ItemUsageContext arg0)
useOnBlock(ItemUsageContext arg0)
m_6225_(C_1450_ arg0)
public InteractionResult
a(dgj arg0, coy arg1, bsk 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)
use(World arg0, PlayerEntity arg1, Hand arg2)
m_7203_(C_1596_ p_43226_, C_1141_ p_43227_, C_470_ arg2)
public boolean
a(jt$a arg0, cwq arg1, but<?> arg2)
spawnsEntity(HolderLookup$Provider arg0, ItemStack arg1, EntityType<?> arg2)
method_8018(class_7225$class_7874 arg0, class_1799 arg1, class_1299<?> arg2)
m_yjwdjdux(C_vtbxyypo$C_etmlgbig arg0, C_sddaxwyk arg1, C_ogavsvbr<?> arg2)
isOfSameEntityType(RegistryWrapper$WrapperLookup registries, ItemStack stack, EntityType<?> type)
isOfSameEntityType(HolderLookup$Provider arg0, ItemStack stack, EntityType<?> type)
m_43230_(C_213466_$C_254607_ p_331553_, C_1391_ p_43232_, C_513_<?> arg2)
public static SpawnEggItem
a(but<?> arg0)
byId(EntityType<?> arg0)
method_8019(class_1299<?> arg0)
m_efanbnxv(C_ogavsvbr<?> arg0)
forEntity(EntityType<?> type)
forEntity(EntityType<?> type)
m_43213_(C_513_<?> p_43214_)
public static Iterable<SpawnEggItem>
b()
eggs()
method_8017()
m_aktjsyil()
getAll()
getAll()
m_43233_()
public EntityType<?>
a(jt$a arg0, cwq arg1)
getType(HolderLookup$Provider arg0, ItemStack arg1)
method_8015(class_7225$class_7874 arg0, class_1799 arg1)
m_sgtwomfj(C_vtbxyypo$C_etmlgbig arg0, C_sddaxwyk arg1)
getEntityType(RegistryWrapper$WrapperLookup registries, ItemStack stack)
getEntityType(HolderLookup$Provider arg0, ItemStack stack)
m_43228_(C_213466_$C_254607_ p_334231_, C_1391_ arg1)
public FeatureFlagSet
i()
requiredFeatures()
method_45322()
m_gsnyyecf()
getRequiredFeatures()
getRequiredFlags()
m_245183_()
public Optional<Mob>
a(coy arg0, bvk arg1, but<? extends bvk> arg2, ard arg3, fbb arg4, cwq arg5)
spawnOffspringFromSpawnEgg(Player arg0, Mob arg1, EntityType<? extends Mob> arg2, ServerLevel arg3, Vec3 arg4, ItemStack arg5)
method_24793(class_1657 arg0, class_1308 arg1, class_1299<? extends class_1308> arg2, class_3218 arg3, class_243 arg4, class_1799 arg5)
m_jqfwshyx(C_jzrpycqo arg0, C_dxkfswlz arg1, C_ogavsvbr<? extends C_dxkfswlz> arg2, C_bdwnwhiu arg3, C_vgpupfxx arg4, C_sddaxwyk arg5)
spawnBaby(PlayerEntity user, MobEntity entity, EntityType<? extends MobEntity> entityType, ServerWorld world, Vec3d pos, ItemStack stack)
spawnBaby(PlayerEntity user, MobEntity entity, EntityType<? extends MobEntity> entityType, ServerWorld world, Vec3d pos, ItemStack stack)
m_43215_(C_1141_ p_43217_, C_526_ p_43218_, C_513_<? extends C_526_> p_43219_, C_12_ p_43220_, C_3046_ p_43221_, C_1391_ arg5)
public boolean
a(cwq arg0, coy arg1)
shouldPrintOpWarning(ItemStack arg0, Player arg1)
method_65353(class_1799 arg0, class_1657 arg1)
m_vxcjacsu(C_sddaxwyk arg0, C_jzrpycqo arg1)
shouldShowOperatorBlockWarnings(ItemStack arg0, PlayerEntity arg1)
m_vxcjacsu(ItemStack arg0, PlayerEntity arg1)
m_372697_(C_1391_ p_377094_, C_1141_ arg1)