net.minecraft.entity

public class EntityType<T extends Entity>

implements TypeFilter<Entity, T>, ToggleableFeature

net.minecraft.world.entity.EntityType
net.minecraft.world.entity.EntityType
net.minecraft.class_1299
net.minecraft.entity.EntityType

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
LOGGER
field_6088
LOGGER
private final RegistryEntry$Reference<EntityType<?>>
builtInRegistryHolder
builtInRegistryHolder
field_36398
registryEntry
public static final com.mojang.serialization.Codec<EntityType<?>>
CODEC
CODEC
field_57582
CODEC
public static final PacketCodec<RegistryByteBuf, EntityType<?>>
STREAM_CODEC
STREAM_CODEC
field_61222
PACKET_CODEC
private static final float
MAGIC_HORSE_WIDTH
MAGIC_HORSE_WIDTH
field_30054
field_30054
private static final int
DISPLAY_TRACKING_RANGE
DISPLAY_TRACKING_RANGE
field_42459
field_42459
public static final EntityType<BoatEntity>
ACACIA_BOAT
ACACIA_BOAT
field_54408
ACACIA_BOAT
public static final EntityType<ChestBoatEntity>
ACACIA_CHEST_BOAT
ACACIA_CHEST_BOAT
field_54415
ACACIA_CHEST_BOAT
public static final EntityType<AllayEntity>
ALLAY
ALLAY
field_38384
ALLAY
public static final EntityType<AreaEffectCloudEntity>
AREA_EFFECT_CLOUD
AREA_EFFECT_CLOUD
field_6083
AREA_EFFECT_CLOUD
public static final EntityType<ArmadilloEntity>
ARMADILLO
ARMADILLO
field_47754
ARMADILLO
public static final EntityType<ArmorStandEntity>
ARMOR_STAND
ARMOR_STAND
field_6131
ARMOR_STAND
public static final EntityType<ArrowEntity>
ARROW
ARROW
field_6122
ARROW
public static final EntityType<AxolotlEntity>
AXOLOTL
AXOLOTL
field_28315
AXOLOTL
public static final EntityType<ChestRaftEntity>
BAMBOO_CHEST_RAFT
BAMBOO_CHEST_RAFT
field_54418
BAMBOO_CHEST_RAFT
public static final EntityType<RaftEntity>
BAMBOO_RAFT
BAMBOO_RAFT
field_54419
BAMBOO_RAFT
public static final EntityType<BatEntity>
BAT
BAT
field_6108
BAT
public static final EntityType<BeeEntity>
BEE
BEE
field_20346
BEE
public static final EntityType<BoatEntity>
BIRCH_BOAT
BIRCH_BOAT
field_54420
BIRCH_BOAT
public static final EntityType<ChestBoatEntity>
BIRCH_CHEST_BOAT
BIRCH_CHEST_BOAT
field_54421
BIRCH_CHEST_BOAT
public static final EntityType<BlazeEntity>
BLAZE
BLAZE
field_6099
BLAZE
public static final EntityType<DisplayEntity$BlockDisplayEntity>
BLOCK_DISPLAY
BLOCK_DISPLAY
field_42460
BLOCK_DISPLAY
public static final EntityType<BoggedEntity>
BOGGED
BOGGED
field_49148
BOGGED
public static final EntityType<BreezeEntity>
BREEZE
BREEZE
field_47244
BREEZE
public static final EntityType<BreezeWindChargeEntity>
BREEZE_WIND_CHARGE
BREEZE_WIND_CHARGE
field_49075
BREEZE_WIND_CHARGE
public static final EntityType<CamelEntity>
CAMEL
CAMEL
field_40116
CAMEL
public static final EntityType<CamelHuskEntity>
CAMEL_HUSK
CAMEL_HUSK
field_64132
CAMEL_HUSK
public static final EntityType<CatEntity>
CAT
CAT
field_16281
CAT
public static final EntityType<CaveSpiderEntity>
CAVE_SPIDER
CAVE_SPIDER
field_6084
CAVE_SPIDER
public static final EntityType<BoatEntity>
CHERRY_BOAT
CHERRY_BOAT
field_54422
CHERRY_BOAT
public static final EntityType<ChestBoatEntity>
CHERRY_CHEST_BOAT
CHERRY_CHEST_BOAT
field_54423
CHERRY_CHEST_BOAT
public static final EntityType<ChestMinecartEntity>
CHEST_MINECART
CHEST_MINECART
field_6126
CHEST_MINECART
public static final EntityType<ChickenEntity>
CHICKEN
CHICKEN
field_6132
CHICKEN
public static final EntityType<CodEntity>
COD
COD
field_6070
COD
public static final EntityType<CopperGolemEntity>
COPPER_GOLEM
COPPER_GOLEM
field_61221
COPPER_GOLEM
public static final EntityType<CommandBlockMinecartEntity>
COMMAND_BLOCK_MINECART
COMMAND_BLOCK_MINECART
field_6136
COMMAND_BLOCK_MINECART
public static final EntityType<CowEntity>
COW
COW
field_6085
COW
public static final EntityType<CreakingEntity>
CREAKING
CREAKING
field_54560
CREAKING
public static final EntityType<CreeperEntity>
CREEPER
CREEPER
field_6046
CREEPER
public static final EntityType<BoatEntity>
DARK_OAK_BOAT
DARK_OAK_BOAT
field_54406
DARK_OAK_BOAT
public static final EntityType<ChestBoatEntity>
DARK_OAK_CHEST_BOAT
DARK_OAK_CHEST_BOAT
field_54407
DARK_OAK_CHEST_BOAT
public static final EntityType<DolphinEntity>
DOLPHIN
DOLPHIN
field_6087
DOLPHIN
public static final EntityType<DonkeyEntity>
DONKEY
DONKEY
field_6067
DONKEY
public static final EntityType<DragonFireballEntity>
DRAGON_FIREBALL
DRAGON_FIREBALL
field_6129
DRAGON_FIREBALL
public static final EntityType<DrownedEntity>
DROWNED
DROWNED
field_6123
DROWNED
public static final EntityType<EggEntity>
EGG
EGG
field_6144
EGG
public static final EntityType<ElderGuardianEntity>
ELDER_GUARDIAN
ELDER_GUARDIAN
field_6086
ELDER_GUARDIAN
public static final EntityType<EndermanEntity>
ENDERMAN
ENDERMAN
field_6091
ENDERMAN
public static final EntityType<EndermiteEntity>
ENDERMITE
ENDERMITE
field_6128
ENDERMITE
public static final EntityType<EnderDragonEntity>
ENDER_DRAGON
ENDER_DRAGON
field_6116
ENDER_DRAGON
public static final EntityType<EnderPearlEntity>
ENDER_PEARL
ENDER_PEARL
field_6082
ENDER_PEARL
public static final EntityType<EndCrystalEntity>
END_CRYSTAL
END_CRYSTAL
field_6110
END_CRYSTAL
public static final EntityType<EvokerEntity>
EVOKER
EVOKER
field_6090
EVOKER
public static final EntityType<EvokerFangsEntity>
EVOKER_FANGS
EVOKER_FANGS
field_6060
EVOKER_FANGS
public static final EntityType<ExperienceBottleEntity>
EXPERIENCE_BOTTLE
EXPERIENCE_BOTTLE
field_6064
EXPERIENCE_BOTTLE
public static final EntityType<ExperienceOrbEntity>
EXPERIENCE_ORB
EXPERIENCE_ORB
field_6044
EXPERIENCE_ORB
public static final EntityType<EyeOfEnderEntity>
EYE_OF_ENDER
EYE_OF_ENDER
field_6061
EYE_OF_ENDER
public static final EntityType<FallingBlockEntity>
FALLING_BLOCK
FALLING_BLOCK
field_6089
FALLING_BLOCK
public static final EntityType<FireballEntity>
FIREBALL
FIREBALL
field_6066
FIREBALL
public static final EntityType<FireworkRocketEntity>
FIREWORK_ROCKET
FIREWORK_ROCKET
field_6133
FIREWORK_ROCKET
public static final EntityType<FoxEntity>
FOX
FOX
field_17943
FOX
public static final EntityType<FrogEntity>
FROG
FROG
field_37419
FROG
public static final EntityType<FurnaceMinecartEntity>
FURNACE_MINECART
FURNACE_MINECART
field_6080
FURNACE_MINECART
public static final EntityType<GhastEntity>
GHAST
GHAST
field_6107
GHAST
public static final EntityType<HappyGhastEntity>
HAPPY_GHAST
HAPPY_GHAST
field_59668
HAPPY_GHAST
public static final EntityType<GiantEntity>
GIANT
GIANT
field_6095
GIANT
public static final EntityType<GlowItemFrameEntity>
GLOW_ITEM_FRAME
GLOW_ITEM_FRAME
field_28401
GLOW_ITEM_FRAME
public static final EntityType<GlowSquidEntity>
GLOW_SQUID
GLOW_SQUID
field_28402
GLOW_SQUID
public static final EntityType<GoatEntity>
GOAT
GOAT
field_30052
GOAT
public static final EntityType<GuardianEntity>
GUARDIAN
GUARDIAN
field_6118
GUARDIAN
public static final EntityType<HoglinEntity>
HOGLIN
HOGLIN
field_21973
HOGLIN
public static final EntityType<HopperMinecartEntity>
HOPPER_MINECART
HOPPER_MINECART
field_6058
HOPPER_MINECART
public static final EntityType<HorseEntity>
HORSE
HORSE
field_6139
HORSE
public static final EntityType<HuskEntity>
HUSK
HUSK
field_6071
HUSK
public static final EntityType<IllusionerEntity>
ILLUSIONER
ILLUSIONER
field_6065
ILLUSIONER
public static final EntityType<InteractionEntity>
INTERACTION
INTERACTION
field_42623
INTERACTION
public static final EntityType<IronGolemEntity>
IRON_GOLEM
IRON_GOLEM
field_6147
IRON_GOLEM
public static final EntityType<ItemEntity>
ITEM
ITEM
field_6052
ITEM
public static final EntityType<DisplayEntity$ItemDisplayEntity>
ITEM_DISPLAY
ITEM_DISPLAY
field_42456
ITEM_DISPLAY
public static final EntityType<ItemFrameEntity>
ITEM_FRAME
ITEM_FRAME
field_6043
ITEM_FRAME
public static final EntityType<BoatEntity>
JUNGLE_BOAT
JUNGLE_BOAT
field_54412
JUNGLE_BOAT
public static final EntityType<ChestBoatEntity>
JUNGLE_CHEST_BOAT
JUNGLE_CHEST_BOAT
field_54413
JUNGLE_CHEST_BOAT
public static final EntityType<LeashKnotEntity>
LEASH_KNOT
LEASH_KNOT
field_6138
LEASH_KNOT
public static final EntityType<LightningEntity>
LIGHTNING_BOLT
LIGHTNING_BOLT
field_6112
LIGHTNING_BOLT
public static final EntityType<LlamaEntity>
LLAMA
LLAMA
field_6074
LLAMA
public static final EntityType<LlamaSpitEntity>
LLAMA_SPIT
LLAMA_SPIT
field_6124
LLAMA_SPIT
public static final EntityType<MagmaCubeEntity>
MAGMA_CUBE
MAGMA_CUBE
field_6102
MAGMA_CUBE
public static final EntityType<BoatEntity>
MANGROVE_BOAT
MANGROVE_BOAT
field_54414
MANGROVE_BOAT
public static final EntityType<ChestBoatEntity>
MANGROVE_CHEST_BOAT
MANGROVE_CHEST_BOAT
field_54409
MANGROVE_CHEST_BOAT
public static final EntityType<MannequinEntity>
MANNEQUIN
MANNEQUIN
field_62515
MANNEQUIN
public static final EntityType<MarkerEntity>
MARKER
MARKER
field_33456
MARKER
public static final EntityType<MinecartEntity>
MINECART
MINECART
field_6096
MINECART
public static final EntityType<MooshroomEntity>
MOOSHROOM
MOOSHROOM
field_6143
MOOSHROOM
public static final EntityType<MuleEntity>
MULE
MULE
field_6057
MULE
public static final EntityType<NautilusEntity>
NAUTILUS
NAUTILUS
field_63289
NAUTILUS
public static final EntityType<BoatEntity>
OAK_BOAT
OAK_BOAT
field_54410
OAK_BOAT
public static final EntityType<ChestBoatEntity>
OAK_CHEST_BOAT
OAK_CHEST_BOAT
field_54411
OAK_CHEST_BOAT
public static final EntityType<OcelotEntity>
OCELOT
OCELOT
field_6081
OCELOT
public static final EntityType<OminousItemSpawnerEntity>
OMINOUS_ITEM_SPAWNER
OMINOUS_ITEM_SPAWNER
field_50124
OMINOUS_ITEM_SPAWNER
public static final EntityType<PaintingEntity>
PAINTING
PAINTING
field_6120
PAINTING
public static final EntityType<BoatEntity>
PALE_OAK_BOAT
PALE_OAK_BOAT
field_54562
PALE_OAK_BOAT
public static final EntityType<ChestBoatEntity>
PALE_OAK_CHEST_BOAT
PALE_OAK_CHEST_BOAT
field_54563
PALE_OAK_CHEST_BOAT
public static final EntityType<PandaEntity>
PANDA
PANDA
field_6146
PANDA
public static final EntityType<ParchedEntity>
PARCHED
PARCHED
field_64131
PARCHED
public static final EntityType<ParrotEntity>
PARROT
PARROT
field_6104
PARROT
public static final EntityType<PhantomEntity>
PHANTOM
PHANTOM
field_6078
PHANTOM
public static final EntityType<PigEntity>
PIG
PIG
field_6093
PIG
public static final EntityType<PiglinEntity>
PIGLIN
PIGLIN
field_22281
PIGLIN
public static final EntityType<PiglinBruteEntity>
PIGLIN_BRUTE
PIGLIN_BRUTE
field_25751
PIGLIN_BRUTE
public static final EntityType<PillagerEntity>
PILLAGER
PILLAGER
field_6105
PILLAGER
public static final EntityType<PolarBearEntity>
POLAR_BEAR
POLAR_BEAR
field_6042
POLAR_BEAR
public static final EntityType<SplashPotionEntity>
SPLASH_POTION
SPLASH_POTION
field_56254
SPLASH_POTION
public static final EntityType<LingeringPotionEntity>
LINGERING_POTION
LINGERING_POTION
field_56255
LINGERING_POTION
public static final EntityType<PufferfishEntity>
PUFFERFISH
PUFFERFISH
field_6062
PUFFERFISH
public static final EntityType<RabbitEntity>
RABBIT
RABBIT
field_6140
RABBIT
public static final EntityType<RavagerEntity>
RAVAGER
RAVAGER
field_6134
RAVAGER
public static final EntityType<SalmonEntity>
SALMON
SALMON
field_6073
SALMON
public static final EntityType<SheepEntity>
SHEEP
SHEEP
field_6115
SHEEP
public static final EntityType<ShulkerEntity>
SHULKER
SHULKER
field_6109
SHULKER
public static final EntityType<ShulkerBulletEntity>
SHULKER_BULLET
SHULKER_BULLET
field_6100
SHULKER_BULLET
public static final EntityType<SilverfishEntity>
SILVERFISH
SILVERFISH
field_6125
SILVERFISH
public static final EntityType<SkeletonEntity>
SKELETON
SKELETON
field_6137
SKELETON
public static final EntityType<SkeletonHorseEntity>
SKELETON_HORSE
SKELETON_HORSE
field_6075
SKELETON_HORSE
public static final EntityType<SlimeEntity>
SLIME
SLIME
field_6069
SLIME
public static final EntityType<SmallFireballEntity>
SMALL_FIREBALL
SMALL_FIREBALL
field_6049
SMALL_FIREBALL
public static final EntityType<SnifferEntity>
SNIFFER
SNIFFER
field_42622
SNIFFER
public static final EntityType<SnowballEntity>
SNOWBALL
SNOWBALL
field_6068
SNOWBALL
public static final EntityType<SnowGolemEntity>
SNOW_GOLEM
SNOW_GOLEM
field_6047
SNOW_GOLEM
public static final EntityType<SpawnerMinecartEntity>
SPAWNER_MINECART
SPAWNER_MINECART
field_6142
SPAWNER_MINECART
public static final EntityType<SpectralArrowEntity>
SPECTRAL_ARROW
SPECTRAL_ARROW
field_6135
SPECTRAL_ARROW
public static final EntityType<SpiderEntity>
SPIDER
SPIDER
field_6079
SPIDER
public static final EntityType<BoatEntity>
SPRUCE_BOAT
SPRUCE_BOAT
field_54416
SPRUCE_BOAT
public static final EntityType<ChestBoatEntity>
SPRUCE_CHEST_BOAT
SPRUCE_CHEST_BOAT
field_54417
SPRUCE_CHEST_BOAT
public static final EntityType<SquidEntity>
SQUID
SQUID
field_6114
SQUID
public static final EntityType<StrayEntity>
STRAY
STRAY
field_6098
STRAY
public static final EntityType<StriderEntity>
STRIDER
STRIDER
field_23214
STRIDER
public static final EntityType<TadpoleEntity>
TADPOLE
TADPOLE
field_37420
TADPOLE
public static final EntityType<DisplayEntity$TextDisplayEntity>
TEXT_DISPLAY
TEXT_DISPLAY
field_42457
TEXT_DISPLAY
public static final EntityType<TntEntity>
TNT
TNT
field_6063
TNT
public static final EntityType<TntMinecartEntity>
TNT_MINECART
TNT_MINECART
field_6053
TNT_MINECART
public static final EntityType<TraderLlamaEntity>
TRADER_LLAMA
TRADER_LLAMA
field_17714
TRADER_LLAMA
public static final EntityType<TridentEntity>
TRIDENT
TRIDENT
field_6127
TRIDENT
public static final EntityType<TropicalFishEntity>
TROPICAL_FISH
TROPICAL_FISH
field_6111
TROPICAL_FISH
public static final EntityType<TurtleEntity>
TURTLE
TURTLE
field_6113
TURTLE
public static final EntityType<VexEntity>
VEX
VEX
field_6059
VEX
public static final EntityType<VillagerEntity>
VILLAGER
VILLAGER
field_6077
VILLAGER
public static final EntityType<VindicatorEntity>
VINDICATOR
VINDICATOR
field_6117
VINDICATOR
public static final EntityType<WanderingTraderEntity>
WANDERING_TRADER
WANDERING_TRADER
field_17713
WANDERING_TRADER
public static final EntityType<WardenEntity>
WARDEN
WARDEN
field_38095
WARDEN
public static final EntityType<WindChargeEntity>
WIND_CHARGE
WIND_CHARGE
field_47243
WIND_CHARGE
public static final EntityType<WitchEntity>
WITCH
WITCH
field_6145
WITCH
public static final EntityType<WitherEntity>
WITHER
WITHER
field_6119
WITHER
public static final EntityType<WitherSkeletonEntity>
WITHER_SKELETON
WITHER_SKELETON
field_6076
WITHER_SKELETON
public static final EntityType<WitherSkullEntity>
WITHER_SKULL
WITHER_SKULL
field_6130
WITHER_SKULL
public static final EntityType<WolfEntity>
WOLF
WOLF
field_6055
WOLF
public static final EntityType<ZoglinEntity>
ZOGLIN
ZOGLIN
field_23696
ZOGLIN
public static final EntityType<ZombieEntity>
ZOMBIE
ZOMBIE
field_6051
ZOMBIE
public static final EntityType<ZombieHorseEntity>
ZOMBIE_HORSE
ZOMBIE_HORSE
field_6048
ZOMBIE_HORSE
public static final EntityType<ZombieNautilusEntity>
ZOMBIE_NAUTILUS
ZOMBIE_NAUTILUS
field_63290
ZOMBIE_NAUTILUS
public static final EntityType<ZombieVillagerEntity>
ZOMBIE_VILLAGER
ZOMBIE_VILLAGER
field_6054
ZOMBIE_VILLAGER
public static final EntityType<ZombifiedPiglinEntity>
ZOMBIFIED_PIGLIN
ZOMBIFIED_PIGLIN
field_6050
ZOMBIFIED_PIGLIN
public static final EntityType<PlayerEntity>
PLAYER
PLAYER
field_6097
PLAYER
public static final EntityType<FishingBobberEntity>
FISHING_BOBBER
FISHING_BOBBER
field_6103
FISHING_BOBBER
private static final Set<EntityType<?>>
OP_ONLY_CUSTOM_DATA
OP_ONLY_CUSTOM_DATA
field_55544
POTENTIALLY_EXECUTES_COMMANDS
private final EntityType$EntityFactory<T>
factory
factory
field_6101
factory
private final SpawnGroup
category
category
field_6094
spawnGroup
private final com.google.common.collect.ImmutableSet<Block>
immuneTo
immuneTo
field_25355
canSpawnInside
private final boolean
serialize
serialize
field_6056
saveable
private final boolean
summon
summon
field_6072
summonable
private final boolean
fireImmune
fireImmune
field_18981
fireImmune
private final boolean
canSpawnFarFromPlayer
canSpawnFarFromPlayer
field_19423
spawnableFarFromPlayer
private final int
clientTrackingRange
clientTrackingRange
field_24085
maxTrackDistance
private final int
updateInterval
updateInterval
field_24086
trackTickInterval
private final String
descriptionId
descriptionId
field_6106
translationKey
private Text
description
description
field_6092
name
private final Optional<RegistryKey<LootTable>>
lootTable
lootTable
field_16526
lootTableKey
private final EntityDimensions
dimensions
dimensions
field_18070
dimensions
private final float
spawnDimensionsScale
spawnDimensionsScale
field_50125
spawnBoxScale
private final FeatureSet
requiredFeatures
requiredFeatures
field_40115
requiredFeatures
private final boolean
allowedInPeaceful
allowedInPeaceful
field_61223
allowedInPeaceful

Constructor summary

ModifierConstructor
public (EntityType$EntityFactory<T> factory, SpawnGroup spawnGroup, boolean saveable, boolean summonable, boolean fireImmune, boolean spawnableFarFromPlayer, com.google.common.collect.ImmutableSet<Block> canSpawnInside, EntityDimensions dimensions, float spawnBoxScale, int maxTrackDistance, int trackTickInterval, String translationKey, Optional<RegistryKey<LootTable>> lootTable, FeatureSet requiredFeatures, boolean allowedInPeaceful)

Method summary

Modifier and TypeMethod
private static <T extends Entity> EntityType<T>
register(ResourceKey<EntityType<?>> id, EntityType$Builder<T> builder)
register(ResourceKey<EntityType<?>> id, EntityType$Builder<T> builder)
method_63002(class_5321<class_1299<?>> arg0, class_1299$class_1300<T> arg1)
register(RegistryKey<EntityType<?>> key, EntityType$Builder<T> type)
private static RegistryKey<EntityType<?>>
vanillaEntityId(String vanillaId)
vanillaEntityId(String vanillaId)
method_63003(String arg0)
keyOf(String id)
private static <T extends Entity> EntityType<T>
register(String vanillaId, EntityType$Builder<T> builder)
register(String vanillaId, EntityType$Builder<T> builder)
method_5895(String arg0, class_1299$class_1300<T> arg1)
register(String id, EntityType$Builder<T> type)
public static Identifier
getKey(EntityType<?> type)
getKey(EntityType<?> type)
method_5890(class_1299<?> arg0)
getId(EntityType<?> type)
public static Optional<EntityType<?>>
byString(String id)
byString(String id)
method_5898(String arg0)
get(String id)
public T
spawn(ServerLevel level, ItemStack itemStack, LivingEntity user, BlockPos spawnPos, EntitySpawnReason spawnReason, boolean tryMoveDown, boolean movedUp)
spawn(ServerLevel level, ItemStack itemStack, LivingEntity user, BlockPos spawnPos, EntitySpawnReason spawnReason, boolean tryMoveDown, boolean movedUp)
method_5894(class_3218 arg0, class_1799 arg1, class_1309 arg2, class_2338 arg3, class_3730 arg4, boolean arg5, boolean arg6)
spawnFromItemStack(ServerWorld world, ItemStack stack, LivingEntity spawner, BlockPos pos, SpawnReason spawnReason, boolean alignPosition, boolean invertY)
public static <T extends Entity> Consumer<T>
createDefaultStackConfig(Level level, ItemStack itemStack, LivingEntity user)
createDefaultStackConfig(Level level, ItemStack itemStack, LivingEntity user)
method_48009(class_1937 arg0, class_1799 arg1, class_1309 arg2)
copier(World world, ItemStack stack, LivingEntity spawner)
public static <T extends Entity> Consumer<T>
appendDefaultStackConfig(Consumer<T> initialConfig, Level level, ItemStack itemStack, LivingEntity user)
appendDefaultStackConfig(Consumer<T> initialConfig, Level level, ItemStack itemStack, LivingEntity user)
method_48156(Consumer<T> arg0, class_1937 arg1, class_1799 arg2, class_1309 arg3)
copier(Consumer<T> chained, World world, ItemStack stack, LivingEntity spawner)
public static <T extends Entity> Consumer<T>
appendComponentsConfig(Consumer<T> initialConfig, ItemStack itemStack)
appendComponentsConfig(Consumer<T> initialConfig, ItemStack itemStack)
method_66663(Consumer<T> arg0, class_1799 arg1)
componentsCopier(Consumer<T> chained, ItemStack stack)
public static <T extends Entity> Consumer<T>
appendCustomEntityStackConfig(Consumer<T> initialConfig, Level level, ItemStack itemStack, LivingEntity user)
appendCustomEntityStackConfig(Consumer<T> initialConfig, Level level, ItemStack itemStack, LivingEntity user)
method_48011(Consumer<T> arg0, class_1937 arg1, class_1799 arg2, class_1309 arg3)
nbtCopier(Consumer<T> chained, World world, ItemStack stack, LivingEntity spawner)
public T
spawn(ServerLevel level, BlockPos spawnPos, EntitySpawnReason spawnReason)
spawn(ServerLevel level, BlockPos spawnPos, EntitySpawnReason spawnReason)
method_47821(class_3218 arg0, class_2338 arg1, class_3730 arg2)
spawn(ServerWorld world, BlockPos pos, SpawnReason reason)
public T
spawn(ServerLevel level, Consumer<T> postSpawnConfig, BlockPos spawnPos, EntitySpawnReason spawnReason, boolean tryMoveDown, boolean movedUp)
spawn(ServerLevel level, Consumer<T> postSpawnConfig, BlockPos spawnPos, EntitySpawnReason spawnReason, boolean tryMoveDown, boolean movedUp)
method_5899(class_3218 arg0, Consumer<T> arg1, class_2338 arg2, class_3730 arg3, boolean arg4, boolean arg5)
spawn(ServerWorld world, Consumer<T> afterConsumer, BlockPos pos, SpawnReason reason, boolean alignPosition, boolean invertY)
public T
create(ServerLevel level, Consumer<T> postSpawnConfig, BlockPos spawnPos, EntitySpawnReason spawnReason, boolean tryMoveDown, boolean movedUp)
create(ServerLevel level, Consumer<T> postSpawnConfig, BlockPos spawnPos, EntitySpawnReason spawnReason, boolean tryMoveDown, boolean movedUp)
method_5888(class_3218 arg0, Consumer<T> arg1, class_2338 arg2, class_3730 arg3, boolean arg4, boolean arg5)
create(ServerWorld world, Consumer<T> afterConsumer, BlockPos pos, SpawnReason reason, boolean alignPosition, boolean invertY)
protected static double
getYOffset(LevelReader level, BlockPos spawnPos, boolean movedUp, AABB entityBox)
getYOffset(LevelReader level, BlockPos spawnPos, boolean movedUp, AABB entityBox)
method_5884(class_4538 arg0, class_2338 arg1, boolean arg2, class_238 arg3)
getOriginY(WorldView world, BlockPos pos, boolean invertY, Box boundingBox)
public static void
updateCustomEntityTag(Level level, LivingEntity user, Entity entity, TypedEntityData<EntityType<?>> entityData)
updateCustomEntityTag(Level level, LivingEntity user, Entity entity, TypedEntityData<EntityType<?>> entityData)
method_5881(class_1937 arg0, class_1309 arg1, class_1297 arg2, class_11580<class_1299<?>> arg3)
loadFromEntityNbt(World world, LivingEntity spawner, Entity entity, TypedEntityData<EntityType<?>> data)
public boolean
canSerialize()
canSerialize()
method_5893()
isSaveable()
public boolean
canSummon()
canSummon()
method_5896()
isSummonable()
public boolean
fireImmune()
fireImmune()
method_19946()
isFireImmune()
public boolean
canSpawnFarFromPlayer()
canSpawnFarFromPlayer()
method_20814()
isSpawnableFarFromPlayer()
public SpawnGroup
getCategory()
getCategory()
method_5891()
getSpawnGroup()
public String
getDescriptionId()
getDescriptionId()
method_5882()
getTranslationKey()
public Text
getDescription()
getDescription()
method_5897()
getName()
public String
toShortString()
toShortString()
method_35050()
getUntranslatedName()
public Optional<RegistryKey<LootTable>>
getDefaultLootTable()
getDefaultLootTable()
method_16351()
getLootTableKey()
public float
getWidth()
getWidth()
method_17685()
getWidth()
public float
getHeight()
getHeight()
method_17686()
getHeight()
public FeatureSet
requiredFeatures()
requiredFeatures()
method_45322()
getRequiredFeatures()
public T
create(Level level, EntitySpawnReason reason)
create(Level level, EntitySpawnReason reason)
method_5883(class_1937 arg0, class_3730 arg1)
create(World world, SpawnReason reason)
public static Optional<Entity>
create(ValueInput input, Level level, EntitySpawnReason reason)
create(ValueInput input, Level level, EntitySpawnReason reason)
method_5892(class_11368 arg0, class_1937 arg1, class_3730 arg2)
getEntityFromData(ReadView view, World world, SpawnReason reason)
public static Optional<Entity>
create(EntityType<?> type, ValueInput input, Level level, EntitySpawnReason reason)
create(EntityType<?> type, ValueInput input, Level level, EntitySpawnReason reason)
method_72384(class_1299<?> arg0, class_11368 arg1, class_1937 arg2, class_3730 arg3)
getEntityFromData(EntityType<?> type, ReadView readView, World world, SpawnReason spawnReason)
public Box
getSpawnAABB(double x, double y, double z)
getSpawnAABB(double x, double y, double z)
method_58629(double arg0, double arg1, double arg2)
getSpawnBox(double x, double y, double z)
public boolean
isBlockDangerous(BlockState state)
isBlockDangerous(BlockState state)
method_29496(class_2680 arg0)
isInvalidSpawn(BlockState state)
public EntityDimensions
getDimensions()
getDimensions()
method_18386()
getDimensions()
public static Optional<EntityType<?>>
by(ValueInput input)
by(ValueInput input)
method_17684(class_11368 arg0)
fromData(ReadView view)
public static Entity
loadEntityRecursive(CompoundTag tag, Level level, EntitySpawnReason reason, EntityProcessor postLoad)
loadEntityRecursive(CompoundTag tag, Level level, EntitySpawnReason reason, EntityProcessor postLoad)
method_71371(class_2487 arg0, class_1937 arg1, class_3730 arg2, class_12259 arg3)
loadEntityWithPassengers(NbtCompound nbt, World world, SpawnReason reason, LoadedEntityProcessor processor)
public static Entity
loadEntityRecursive(EntityType<?> type, CompoundTag tag, Level level, EntitySpawnReason reason, EntityProcessor postLoad)
loadEntityRecursive(EntityType<?> type, CompoundTag tag, Level level, EntitySpawnReason reason, EntityProcessor postLoad)
method_72386(class_1299<?> arg0, class_2487 arg1, class_1937 arg2, class_3730 arg3, class_12259 arg4)
loadEntityWithPassengers(EntityType<?> type, NbtCompound data, World world, SpawnReason reason, LoadedEntityProcessor processor)
public static Entity
loadEntityRecursive(ValueInput input, Level level, EntitySpawnReason reason, EntityProcessor postLoad)
loadEntityRecursive(ValueInput input, Level level, EntitySpawnReason reason, EntityProcessor postLoad)
method_17842(class_11368 arg0, class_1937 arg1, class_3730 arg2, class_12259 arg3)
loadEntityWithPassengers(ReadView view, World world, SpawnReason reason, LoadedEntityProcessor processor)
public static Entity
loadEntityRecursive(EntityType<?> type, ValueInput input, Level level, EntitySpawnReason reason, EntityProcessor postLoad)
loadEntityRecursive(EntityType<?> type, ValueInput input, Level level, EntitySpawnReason reason, EntityProcessor postLoad)
method_72385(class_1299<?> arg0, class_11368 arg1, class_1937 arg2, class_3730 arg3, class_12259 arg4)
loadEntityWithPassengers(EntityType<?> type, ReadView view, World world, SpawnReason reason, LoadedEntityProcessor processor)
private static Entity
loadPassengersRecursive(Entity entity, ValueInput input, Level level, EntitySpawnReason reason, EntityProcessor postLoad)
loadPassengersRecursive(Entity entity, ValueInput input, Level level, EntitySpawnReason reason, EntityProcessor postLoad)
method_72383(class_1297 arg0, class_11368 arg1, class_1937 arg2, class_3730 arg3, class_12259 arg4)
loadEntityPassengers(Entity entity, ReadView view, World world, SpawnReason reason, LoadedEntityProcessor processor)
public static Stream<Entity>
loadEntitiesRecursive(ValueInput$ValueInputList entities, Level level, EntitySpawnReason reason)
loadEntitiesRecursive(ValueInput$ValueInputList entities, Level level, EntitySpawnReason reason)
method_31489(class_11368$class_11370 arg0, class_1937 arg1, class_3730 arg2)
streamFromData(ReadView$ListReadView view, World world, SpawnReason reason)
private static Optional<Entity>
loadStaticEntity(ValueInput input, Level level, EntitySpawnReason reason)
loadStaticEntity(ValueInput input, Level level, EntitySpawnReason reason)
method_17848(class_11368 arg0, class_1937 arg1, class_3730 arg2)
loadEntityFromData(ReadView view, World world, SpawnReason reason)
private static Optional<Entity>
loadStaticEntity(EntityType<?> type, ValueInput input, Level level, EntitySpawnReason reason)
loadStaticEntity(EntityType<?> type, ValueInput input, Level level, EntitySpawnReason reason)
method_72389(class_1299<?> arg0, class_11368 arg1, class_1937 arg2, class_3730 arg3)
loadEntityFromData(EntityType<?> type, ReadView view, World world, SpawnReason reason)
public int
clientTrackingRange()
clientTrackingRange()
method_18387()
getMaxTrackDistance()
public int
updateInterval()
updateInterval()
method_18388()
getTrackTickInterval()
public boolean
trackDeltas()
trackDeltas()
method_18389()
alwaysUpdateVelocity()
public T
tryCast(Entity entity)
tryCast(Entity entity)
method_31488(class_1297 arg0)
downcast(Entity arg0)
public Class<? extends Entity>
getBaseClass()
getBaseClass()
method_31794()
getBaseClass()
public RegistryEntry$Reference<EntityType<?>>
builtInRegistryHolder()
builtInRegistryHolder()
method_40124()
getRegistryEntry()
public boolean
isAllowedInPeaceful()
isAllowedInPeaceful()
method_72390()
isAllowedInPeaceful()
private static EntityType$EntityFactory<BoatEntity>
boatFactory(Supplier<Item> boatItem)
boatFactory(Supplier<Item> boatItem)
method_64432(Supplier<class_1792> arg0)
getBoatFactory(Supplier<Item> itemSupplier)
private static EntityType$EntityFactory<ChestBoatEntity>
chestBoatFactory(Supplier<Item> dropItem)
chestBoatFactory(Supplier<Item> dropItem)
method_64434(Supplier<class_1792> arg0)
getChestBoatFactory(Supplier<Item> itemSupplier)
private static EntityType$EntityFactory<RaftEntity>
raftFactory(Supplier<Item> dropItem)
raftFactory(Supplier<Item> dropItem)
method_64436(Supplier<class_1792> arg0)
getRaftFactory(Supplier<Item> itemSupplier)
private static EntityType$EntityFactory<ChestRaftEntity>
chestRaftFactory(Supplier<Item> dropItem)
chestRaftFactory(Supplier<Item> dropItem)
method_64438(Supplier<class_1792> arg0)
getChestRaftFactory(Supplier<Item> itemSupplier)
public boolean
onlyOpCanSetNbt()
onlyOpCanSetNbt()
method_65893()
canPotentiallyExecuteCommands()