net.minecraft.world.entity

public class EntityType<T extends Entity>

aoq
net.minecraft.world.entity.EntityType
net.minecraft.class_1299
net.minecraft.entity.EntityType
net.minecraft.entity.EntityType
net.minecraft.server.v1_16_R1.EntityTypes

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
bd
LOGGER
field_6088
LOGGER
field_200731_aJ
public static final EntityType<AreaEffectCloud>
a
AREA_EFFECT_CLOUD
field_6083
AREA_EFFECT_CLOUD
field_200788_b
AREA_EFFECT_CLOUD
public static final EntityType<ArmorStand>
b
ARMOR_STAND
field_6131
ARMOR_STAND
field_200789_c
ARMOR_STAND
public static final EntityType<Arrow>
c
ARROW
field_6122
ARROW
field_200790_d
ARROW
public static final EntityType<Bat>
d
BAT
field_6108
BAT
field_200791_e
BAT
public static final EntityType<Bee>
e
BEE
field_20346
BEE
field_226289_e_
BEE
public static final EntityType<Blaze>
f
BLAZE
field_6099
BLAZE
field_200792_f
BLAZE
public static final EntityType<Boat>
g
BOAT
field_6121
BOAT
field_200793_g
BOAT
public static final EntityType<Cat>
h
CAT
field_16281
CAT
field_220360_g
CAT
public static final EntityType<CaveSpider>
i
CAVE_SPIDER
field_6084
CAVE_SPIDER
field_200794_h
CAVE_SPIDER
public static final EntityType<Chicken>
j
CHICKEN
field_6132
CHICKEN
field_200795_i
CHICKEN
public static final EntityType<Cod>
k
COD
field_6070
COD
field_203780_j
COD
public static final EntityType<Cow>
l
COW
field_6085
COW
field_200796_j
COW
public static final EntityType<Creeper>
m
CREEPER
field_6046
CREEPER
field_200797_k
CREEPER
public static final EntityType<Dolphin>
n
DOLPHIN
field_6087
DOLPHIN
field_205137_n
DOLPHIN
public static final EntityType<Donkey>
o
DONKEY
field_6067
DONKEY
field_200798_l
DONKEY
public static final EntityType<DragonFireball>
p
DRAGON_FIREBALL
field_6129
DRAGON_FIREBALL
field_200799_m
DRAGON_FIREBALL
public static final EntityType<Drowned>
q
DROWNED
field_6123
DROWNED
field_204724_o
DROWNED
public static final EntityType<ElderGuardian>
r
ELDER_GUARDIAN
field_6086
ELDER_GUARDIAN
field_200800_n
ELDER_GUARDIAN
public static final EntityType<EndCrystal>
s
END_CRYSTAL
field_6110
END_CRYSTAL
field_200801_o
END_CRYSTAL
public static final EntityType<EnderDragon>
t
ENDER_DRAGON
field_6116
ENDER_DRAGON
field_200802_p
ENDER_DRAGON
public static final EntityType<EnderMan>
u
ENDERMAN
field_6091
ENDERMAN
field_200803_q
ENDERMAN
public static final EntityType<Endermite>
v
ENDERMITE
field_6128
ENDERMITE
field_200804_r
ENDERMITE
public static final EntityType<Evoker>
w
EVOKER
field_6090
EVOKER
field_200806_t
EVOKER
public static final EntityType<EvokerFangs>
x
EVOKER_FANGS
field_6060
EVOKER_FANGS
field_200805_s
EVOKER_FANGS
public static final EntityType<ExperienceOrb>
y
EXPERIENCE_ORB
field_6044
EXPERIENCE_ORB
field_200807_u
EXPERIENCE_ORB
public static final EntityType<EyeOfEnder>
z
EYE_OF_ENDER
field_6061
EYE_OF_ENDER
field_200808_v
EYE_OF_ENDER
public static final EntityType<FallingBlockEntity>
A
FALLING_BLOCK
field_6089
FALLING_BLOCK
field_200809_w
FALLING_BLOCK
public static final EntityType<FireworkRocketEntity>
B
FIREWORK_ROCKET
field_6133
FIREWORK_ROCKET
field_200810_x
FIREWORK_ROCKET
public static final EntityType<Fox>
C
FOX
field_17943
FOX
field_220356_B
FOX
public static final EntityType<Ghast>
D
GHAST
field_6107
GHAST
field_200811_y
GHAST
public static final EntityType<Giant>
E
GIANT
field_6095
GIANT
field_200812_z
GIANT
public static final EntityType<Guardian>
F
GUARDIAN
field_6118
GUARDIAN
field_200761_A
GUARDIAN
public static final EntityType<Hoglin>
G
HOGLIN
field_21973
HOGLIN
field_233588_G_
HOGLIN
public static final EntityType<Horse>
H
HORSE
field_6139
HORSE
field_200762_B
HORSE
public static final EntityType<Husk>
I
HUSK
field_6071
HUSK
field_200763_C
HUSK
public static final EntityType<Illusioner>
J
ILLUSIONER
field_6065
ILLUSIONER
field_200764_D
ILLUSIONER
public static final EntityType<IronGolem>
K
IRON_GOLEM
field_6147
IRON_GOLEM
field_200757_aw
IRON_GOLEM
public static final EntityType<ItemEntity>
L
ITEM
field_6052
ITEM
field_200765_E
ITEM
public static final EntityType<ItemFrame>
M
ITEM_FRAME
field_6043
ITEM_FRAME
field_200766_F
ITEM_FRAME
public static final EntityType<LargeFireball>
N
FIREBALL
field_6066
FIREBALL
field_200767_G
FIREBALL
public static final EntityType<LeashFenceKnotEntity>
O
LEASH_KNOT
field_6138
LEASH_KNOT
field_200768_H
LEASH_KNOT
public static final EntityType<LightningBolt>
P
LIGHTNING_BOLT
field_6112
LIGHTNING_BOLT
field_200728_aG
LIGHTNING_BOLT
public static final EntityType<Llama>
Q
LLAMA
field_6074
LLAMA
field_200769_I
LLAMA
public static final EntityType<LlamaSpit>
R
LLAMA_SPIT
field_6124
LLAMA_SPIT
field_200770_J
LLAMA_SPIT
public static final EntityType<MagmaCube>
S
MAGMA_CUBE
field_6102
MAGMA_CUBE
field_200771_K
MAGMA_CUBE
public static final EntityType<Minecart>
T
MINECART
field_6096
MINECART
field_200772_L
MINECART
public static final EntityType<MinecartChest>
U
CHEST_MINECART
field_6126
CHEST_MINECART
field_200773_M
CHEST_MINECART
public static final EntityType<MinecartCommandBlock>
V
COMMAND_BLOCK_MINECART
field_6136
COMMAND_BLOCK_MINECART
field_200774_N
COMMAND_BLOCK_MINECART
public static final EntityType<MinecartFurnace>
W
FURNACE_MINECART
field_6080
FURNACE_MINECART
field_200775_O
FURNACE_MINECART
public static final EntityType<MinecartHopper>
X
HOPPER_MINECART
field_6058
HOPPER_MINECART
field_200776_P
HOPPER_MINECART
public static final EntityType<MinecartSpawner>
Y
SPAWNER_MINECART
field_6142
SPAWNER_MINECART
field_200777_Q
SPAWNER_MINECART
public static final EntityType<MinecartTNT>
Z
TNT_MINECART
field_6053
TNT_MINECART
field_200778_R
TNT_MINECART
public static final EntityType<Mule>
aa
MULE
field_6057
MULE
field_200779_S
MULE
public static final EntityType<MushroomCow>
ab
MOOSHROOM
field_6143
MOOSHROOM
field_200780_T
MOOSHROOM
public static final EntityType<Ocelot>
ac
OCELOT
field_6081
OCELOT
field_200781_U
OCELOT
public static final EntityType<Painting>
ad
PAINTING
field_6120
PAINTING
field_200782_V
PAINTING
public static final EntityType<Panda>
ae
PANDA
field_6146
PANDA
field_220353_aa
PANDA
public static final EntityType<Parrot>
af
PARROT
field_6104
PARROT
field_200783_W
PARROT
public static final EntityType<Phantom>
ag
PHANTOM
field_6078
PHANTOM
field_203097_aH
PHANTOM
public static final EntityType<Pig>
ah
PIG
field_6093
PIG
field_200784_X
PIG
public static final EntityType<Piglin>
ai
PIGLIN
field_22281
PIGLIN
field_233591_ai_
PIGLIN
public static final EntityType<Pillager>
aj
PILLAGER
field_6105
PILLAGER
field_220350_aJ
PILLAGER
public static final EntityType<PolarBear>
ak
POLAR_BEAR
field_6042
POLAR_BEAR
field_200786_Z
POLAR_BEAR
public static final EntityType<PrimedTnt>
al
TNT
field_6063
TNT
field_200735_aa
TNT
public static final EntityType<Pufferfish>
am
PUFFERFISH
field_6062
PUFFERFISH
field_203779_Z
PUFFERFISH
public static final EntityType<Rabbit>
an
RABBIT
field_6140
RABBIT
field_200736_ab
RABBIT
public static final EntityType<Ravager>
ao
RAVAGER
field_6134
RAVAGER
field_220352_aU
RAVAGER
public static final EntityType<Salmon>
ap
SALMON
field_6073
SALMON
field_203778_ae
SALMON
public static final EntityType<Sheep>
aq
SHEEP
field_6115
SHEEP
field_200737_ac
SHEEP
public static final EntityType<Shulker>
ar
SHULKER
field_6109
SHULKER
field_200738_ad
SHULKER
public static final EntityType<ShulkerBullet>
as
SHULKER_BULLET
field_6100
SHULKER_BULLET
field_200739_ae
SHULKER_BULLET
public static final EntityType<Silverfish>
at
SILVERFISH
field_6125
SILVERFISH
field_200740_af
SILVERFISH
public static final EntityType<Skeleton>
au
SKELETON
field_6137
SKELETON
field_200741_ag
SKELETON
public static final EntityType<SkeletonHorse>
av
SKELETON_HORSE
field_6075
SKELETON_HORSE
field_200742_ah
SKELETON_HORSE
public static final EntityType<Slime>
aw
SLIME
field_6069
SLIME
field_200743_ai
SLIME
public static final EntityType<SmallFireball>
ax
SMALL_FIREBALL
field_6049
SMALL_FIREBALL
field_200744_aj
SMALL_FIREBALL
public static final EntityType<SnowGolem>
ay
SNOW_GOLEM
field_6047
SNOW_GOLEM
field_200745_ak
SNOW_GOLEM
public static final EntityType<Snowball>
az
SNOWBALL
field_6068
SNOWBALL
field_200746_al
SNOWBALL
public static final EntityType<SpectralArrow>
aA
SPECTRAL_ARROW
field_6135
SPECTRAL_ARROW
field_200747_am
SPECTRAL_ARROW
public static final EntityType<Spider>
aB
SPIDER
field_6079
SPIDER
field_200748_an
SPIDER
public static final EntityType<Squid>
aC
SQUID
field_6114
SQUID
field_200749_ao
SQUID
public static final EntityType<Stray>
aD
STRAY
field_6098
STRAY
field_200750_ap
STRAY
public static final EntityType<Strider>
aE
STRIDER
field_23214
STRIDER
field_233589_aE_
STRIDER
public static final EntityType<ThrownEgg>
aF
EGG
field_6144
EGG
field_200751_aq
EGG
public static final EntityType<ThrownEnderpearl>
aG
ENDER_PEARL
field_6082
ENDER_PEARL
field_200752_ar
ENDER_PEARL
public static final EntityType<ThrownExperienceBottle>
aH
EXPERIENCE_BOTTLE
field_6064
EXPERIENCE_BOTTLE
field_200753_as
EXPERIENCE_BOTTLE
public static final EntityType<ThrownPotion>
aI
POTION
field_6045
POTION
field_200754_at
POTION
public static final EntityType<ThrownTrident>
aJ
TRIDENT
field_6127
TRIDENT
field_203098_aL
TRIDENT
public static final EntityType<TraderLlama>
aK
TRADER_LLAMA
field_17714
TRADER_LLAMA
field_220354_ax
TRADER_LLAMA
public static final EntityType<TropicalFish>
aL
TROPICAL_FISH
field_6111
TROPICAL_FISH
field_204262_at
TROPICAL_FISH
public static final EntityType<Turtle>
aM
TURTLE
field_6113
TURTLE
field_203099_aq
TURTLE
public static final EntityType<Vex>
aN
VEX
field_6059
VEX
field_200755_au
VEX
public static final EntityType<Villager>
aO
VILLAGER
field_6077
VILLAGER
field_200756_av
VILLAGER
public static final EntityType<Vindicator>
aP
VINDICATOR
field_6117
VINDICATOR
field_200758_ax
VINDICATOR
public static final EntityType<WanderingTrader>
aQ
WANDERING_TRADER
field_17713
WANDERING_TRADER
field_220351_aK
WANDERING_TRADER
public static final EntityType<Witch>
aR
WITCH
field_6145
WITCH
field_200759_ay
WITCH
public static final EntityType<WitherBoss>
aS
WITHER
field_6119
WITHER
field_200760_az
WITHER
public static final EntityType<WitherSkeleton>
aT
WITHER_SKELETON
field_6076
WITHER_SKELETON
field_200722_aA
WITHER_SKELETON
public static final EntityType<WitherSkull>
aU
WITHER_SKULL
field_6130
WITHER_SKULL
field_200723_aB
WITHER_SKULL
public static final EntityType<Wolf>
aV
WOLF
field_6055
WOLF
field_200724_aC
WOLF
public static final EntityType<Zoglin>
aW
ZOGLIN
field_23696
ZOGLIN
field_233590_aW_
ZOGLIN
public static final EntityType<Zombie>
aX
ZOMBIE
field_6051
ZOMBIE
field_200725_aD
ZOMBIE
public static final EntityType<ZombieHorse>
aY
ZOMBIE_HORSE
field_6048
ZOMBIE_HORSE
field_200726_aE
ZOMBIE_HORSE
public static final EntityType<ZombieVillager>
aZ
ZOMBIE_VILLAGER
field_6054
ZOMBIE_VILLAGER
field_200727_aF
ZOMBIE_VILLAGER
public static final EntityType<ZombifiedPiglin>
ba
ZOMBIFIED_PIGLIN
field_6050
ZOMBIFIED_PIGLIN
field_233592_ba_
ZOMBIFIED_PIGLIN
public static final EntityType<Player>
bb
PLAYER
field_6097
PLAYER
field_200729_aH
PLAYER
public static final EntityType<FishingHook>
bc
FISHING_BOBBER
field_6103
FISHING_BOBBER
field_200730_aI
FISHING_BOBBER
private final EntityType$EntityFactory<T>
be
factory
field_6101
factory
field_200732_aK
private final MobCategory
bf
category
field_6094
spawnGroup
field_220355_ba
private final com.google.common.collect.ImmutableSet<Block>
bg
immuneTo
field_25355
field_25355
field_233593_bg_
private final boolean
bh
serialize
field_6056
saveable
field_200733_aL
private final boolean
bi
summon
field_6072
summonable
field_200734_aM
private final boolean
bj
fireImmune
field_18981
fireImmune
field_220357_bd
private final boolean
bk
canSpawnFarFromPlayer
field_19423
spawnableFarFromPlayer
field_225438_be
private final int
bl
clientTrackingRange
field_24085
maxTrackDistance
field_233594_bl_
private final int
bm
updateInterval
field_24086
trackTickInterval
field_233595_bm_
private String
bn
descriptionId
field_6106
translationKey
field_210762_aX
private Component
bo
description
field_6092
name
field_212547_aX
private ResourceLocation
bp
lootTable
field_16526
lootTableId
field_220358_bg
private final EntityDimensions
bq
dimensions
field_18070
dimensions
field_220359_bi

Constructor summary

ModifierConstructor
public (EntityType$EntityFactory<T> factory, MobCategory spawnGroup, boolean saveable, boolean summonable, boolean fireImmune, boolean spawnableFarFromPlayer, com.google.common.collect.ImmutableSet<Block> arg6, EntityDimensions arg7, int arg8, int arg9)

Method summary

Modifier and TypeMethod
private static <T extends Entity> EntityType<T>
a(String arg0, aoq$a<T> arg1)
register(String arg0, EntityType$Builder<T> arg1)
method_5895(String arg0, class_1299$class_1300<T> arg1)
register(String id, EntityType$Builder<T> type)
func_200712_a(String arg0, EntityType$Builder<T> arg1)
public static ResourceLocation
a(aoq<?> arg0)
getKey(EntityType<?> arg0)
method_5890(class_1299<?> arg0)
getId(EntityType<?> type)
func_200718_a(EntityType<?> arg0)
getName(EntityTypes<?> arg0)
public static Optional<EntityType<?>>
a(String arg0)
byString(String arg0)
method_5898(String arg0)
get(String id)
func_220327_a(String arg0)
public Entity
a(bqb arg0, bki arg1, bec arg2, fu arg3, apb arg4, boolean arg5, boolean arg6)
spawn(Level arg0, ItemStack arg1, Player arg2, BlockPos arg3, MobSpawnType arg4, boolean arg5, boolean arg6)
method_5894(class_1937 arg0, class_1799 arg1, class_1657 arg2, class_2338 arg3, class_3730 arg4, boolean arg5, boolean arg6)
spawnFromItemStack(World world, ItemStack stack, PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY)
func_220331_a(World arg0, ItemStack arg1, PlayerEntity arg2, BlockPos arg3, SpawnReason arg4, boolean arg5, boolean arg6)
spawnCreature(World arg0, ItemStack arg1, EntityHuman arg2, BlockPosition arg3, EnumMobSpawn arg4, boolean arg5, boolean arg6)
public T
a(bqb arg0, le arg1, mr arg2, bec arg3, fu arg4, apb arg5, boolean arg6, boolean arg7)
spawn(Level arg0, CompoundTag arg1, Component arg2, Player arg3, BlockPos arg4, MobSpawnType arg5, boolean arg6, boolean arg7)
method_5899(class_1937 arg0, class_2487 arg1, class_2561 arg2, class_1657 arg3, class_2338 arg4, class_3730 arg5, boolean arg6, boolean arg7)
spawn(World world, CompoundTag itemTag, Text name, PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY)
func_220342_a(World arg0, CompoundNBT arg1, ITextComponent arg2, PlayerEntity arg3, BlockPos arg4, SpawnReason arg5, boolean arg6, boolean arg7)
spawnCreature(World arg0, NBTTagCompound arg1, IChatBaseComponent arg2, EntityHuman arg3, BlockPosition arg4, EnumMobSpawn arg5, boolean arg6, boolean arg7)
public T
b(bqb arg0, le arg1, mr arg2, bec arg3, fu arg4, apb arg5, boolean arg6, boolean arg7)
create(Level arg0, CompoundTag arg1, Component arg2, Player arg3, BlockPos arg4, MobSpawnType arg5, boolean arg6, boolean arg7)
method_5888(class_1937 arg0, class_2487 arg1, class_2561 arg2, class_1657 arg3, class_2338 arg4, class_3730 arg5, boolean arg6, boolean arg7)
create(World world, CompoundTag itemTag, Text name, PlayerEntity player, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY)
func_220349_b(World arg0, CompoundNBT arg1, ITextComponent arg2, PlayerEntity arg3, BlockPos arg4, SpawnReason arg5, boolean arg6, boolean arg7)
createCreature(World arg0, NBTTagCompound arg1, IChatBaseComponent arg2, EntityHuman arg3, BlockPosition arg4, EnumMobSpawn arg5, boolean arg6, boolean arg7)
protected static double
a(bqd arg0, fu arg1, boolean arg2, deg arg3)
getYOffset(LevelReader arg0, BlockPos arg1, boolean arg2, AABB arg3)
method_5884(class_4538 arg0, class_2338 arg1, boolean arg2, class_238 arg3)
getOriginY(WorldView world, BlockPos pos, boolean invertY, Box boundingBox)
func_208051_a(IWorldReader arg0, BlockPos arg1, boolean arg2, AxisAlignedBB arg3)
public static void
a(bqb arg0, bec arg1, aom arg2, le arg3)
updateCustomEntityTag(Level arg0, Player arg1, Entity arg2, CompoundTag arg3)
method_5881(class_1937 arg0, class_1657 arg1, class_1297 arg2, class_2487 arg3)
loadFromEntityTag(World world, PlayerEntity player, Entity entity, CompoundTag itemTag)
func_208048_a(World arg0, PlayerEntity arg1, Entity arg2, CompoundNBT arg3)
public boolean
a()
canSerialize()
method_5893()
isSaveable()
func_200715_a()
public boolean
b()
canSummon()
method_5896()
isSummonable()
func_200720_b()
public boolean
c()
fireImmune()
method_19946()
isFireImmune()
func_220338_c()
public boolean
d()
canSpawnFarFromPlayer()
method_20814()
isSpawnableFarFromPlayer()
func_225437_d()
public MobCategory
e()
getCategory()
method_5891()
getSpawnGroup()
func_220339_d()
public String
f()
getDescriptionId()
method_5882()
getTranslationKey()
func_210760_d()
public Component
g()
getDescription()
method_5897()
getName()
func_212546_e()
public ResourceLocation
i()
getDefaultLootTable()
method_16351()
getLootTableId()
func_220348_g()
public float
j()
getWidth()
method_17685()
getWidth()
func_220333_h()
public float
k()
getHeight()
method_17686()
getHeight()
func_220344_i()
public T
a(bqb arg0)
create(Level arg0)
method_5883(class_1937 arg0)
create(World world)
func_200721_a(World arg0)
public static Optional<Entity>
a(le arg0, bqb arg1)
create(CompoundTag arg0, Level arg1)
method_5892(class_2487 arg0, class_1937 arg1)
getEntityFromTag(CompoundTag tag, World world)
func_220330_a(CompoundNBT arg0, World arg1)
public AABB
a(double arg0, double arg1, double arg2)
getAABB(double arg0, double arg1, double arg2)
method_17683(double arg0, double arg1, double arg2)
createSimpleBoundingBox(double feetX, double feetY, double feetZ)
func_220328_a(double arg0, double arg1, double arg2)
public boolean
a(cfj arg0)
isBlockDangerous(BlockState arg0)
method_29496(class_2680 arg0)
method_29496(BlockState arg0)
func_233597_a_(BlockState arg0)
public EntityDimensions
l()
getDimensions()
method_18386()
getDimensions()
func_220334_j()
public static Optional<EntityType<?>>
a(le arg0)
by(CompoundTag arg0)
method_17684(class_2487 arg0)
fromTag(CompoundTag compoundTag)
func_220347_a(CompoundNBT arg0)
public static Entity
a(le arg0, bqb arg1, Function<aom, aom> arg2)
loadEntityRecursive(CompoundTag arg0, Level arg1, Function<Entity, Entity> arg2)
method_17842(class_2487 arg0, class_1937 arg1, Function<class_1297, class_1297> arg2)
loadEntityWithPassengers(CompoundTag compoundTag, World world, Function<Entity, Entity> entityProcessor)
func_220335_a(CompoundNBT arg0, World arg1, Function<Entity, Entity> arg2)
private static Optional<Entity>
b(le arg0, bqb arg1)
loadStaticEntity(CompoundTag arg0, Level arg1)
method_17848(class_2487 arg0, class_1937 arg1)
loadEntityFromTag(CompoundTag compoundTag, World world)
func_220343_b(CompoundNBT arg0, World arg1)
public int
m()
clientTrackingRange()
method_18387()
getMaxTrackDistance()
func_233602_m_()
getChunkRange()
public int
n()
updateInterval()
method_18388()
getTrackTickInterval()
func_220332_l()
getUpdateInterval()
public boolean
o()
trackDeltas()
method_18389()
alwaysUpdateVelocity()
func_220340_m()
isDeltaTracking()
public boolean
a(adf<aoq<?>> arg0)
is(Tag<EntityType<?>> arg0)
method_20210(class_3494<class_1299<?>> arg0)
isIn(Tag<EntityType<?>> tag)
func_220341_a(ITag<EntityType<?>> arg0)
public static Entity
a(int arg0, bqb arg1)
create(int arg0, Level arg1)
method_5889(int arg0, class_1937 arg1)
createInstanceFromId(int type, World world)
func_200717_a(int arg0, World arg1)
private static Entity
a(bqb arg0, aoq<?> arg1)
create(Level arg0, EntityType<?> arg1)
method_5886(class_1937 arg0, class_1299<?> arg1)
newInstance(World world, EntityType<?> type)
func_200719_a(World arg0, EntityType<?> arg1)