Uses of Class
net.minecraft.entity.EntityType
Package
Description
-
Uses of EntityType in net.minecraft.block
Modifier and TypeFieldDescription(package private) AbstractBlock.TypedContextPredicate<EntityType<?>>
AbstractBlock.Settings.allowsSpawningPredicate
Modifier and TypeMethodDescriptionboolean
AbstractBlock.AbstractBlockState.allowsSpawning
(BlockView world, BlockPos pos, EntityType<?> type) private static Boolean
Blocks.always
(BlockState state, BlockView world, BlockPos pos, EntityType<?> type) A shortcut to always returntrue
in a typed context predicate with anEntityType
, used likesettings.allowSpawning(Blocks::always)
.private static Boolean
Blocks.canSpawnOnLeaves
(BlockState state, BlockView world, BlockPos pos, EntityType<?> type) RespawnAnchorBlock.findRespawnPosition
(EntityType<?> entity, CollisionView world, BlockPos pos) RespawnAnchorBlock.findRespawnPosition
(EntityType<?> entity, CollisionView world, BlockPos pos, boolean ignoreInvalidPos) BedBlock.findWakeUpPosition
(EntityType<?> type, CollisionView world, BlockPos pos, float spawnAngle) BedBlock.findWakeUpPosition
(EntityType<?> type, CollisionView world, BlockPos pos, int[][] possibleOffsets, boolean ignoreInvalidPos) BedBlock.findWakeUpPosition
(EntityType<?> type, CollisionView world, BlockPos pos, Direction bedDirection, Direction respawnDirection) private static Boolean
Blocks.never
(BlockState state, BlockView world, BlockPos pos, EntityType<?> type) A shortcut to always returnfalse
in a typed context predicate with anEntityType
, used likesettings.allowSpawning(Blocks::never)
.Modifier and TypeMethodDescriptionAbstractBlock.Settings.allowsSpawning
(AbstractBlock.TypedContextPredicate<EntityType<?>> predicate) Specifies logic that calculates whether an entity can spawn on a block. -
Uses of EntityType in net.minecraft.client.gui.screen
-
Uses of EntityType in net.minecraft.client.render.entity
Modifier and TypeFieldDescriptionprivate static final Map<EntityType<?>,
EntityRendererFactory<?>> EntityRenderers.RENDERER_FACTORIES
private Map<EntityType<?>,
EntityRenderer<?>> EntityRenderDispatcher.renderers
private static final Map<EntityType<?>,
Identifier> DonkeyEntityRenderer.TEXTURES
private static final Map<EntityType<?>,
Identifier> PiglinEntityRenderer.TEXTURES
private static final Map<EntityType<?>,
Identifier> ZombieHorseEntityRenderer.TEXTURES
Modifier and TypeMethodDescriptionstatic Map<EntityType<?>,
EntityRenderer<?>> EntityRenderers.reloadEntityRenderers
(EntityRendererFactory.Context ctx) Modifier and TypeMethodDescriptionprivate static <T extends Entity>
voidEntityRenderers.register
(EntityType<? extends T> type, EntityRendererFactory<T> factory) -
Uses of EntityType in net.minecraft.command
Modifier and TypeMethodDescriptionvoid
EntitySelectorReader.setEntityType
(EntityType<?> entityType) ModifierConstructorDescriptionEntitySelector
(int count, boolean includesNonPlayers, boolean localWorldOnly, Predicate<Entity> basePredicate, NumberRange.FloatRange distance, Function<Vec3d, Vec3d> positionOffset, @Nullable Box box, BiConsumer<Vec3d, List<? extends Entity>> sorter, boolean senderOnly, @Nullable String playerName, @Nullable UUID uuid, @Nullable EntityType<?> type, boolean usesAt) -
Uses of EntityType in net.minecraft.data.server
Modifier and TypeFieldDescriptionprivate static final EntityType<?>[]
HusbandryTabAdvancementGenerator.BREEDABLE_ANIMALS
private static final EntityType<?>[]
AdventureTabAdvancementGenerator.MONSTERS
Modifier and TypeFieldDescriptionprivate static final Set<EntityType<?>>
EntityLootTableGenerator.ENTITY_TYPES_IN_MISC_GROUP_TO_CHECK
Modifier and TypeMethodDescriptionprivate static UsingItemCriterion.Conditions
AdventureTabAdvancementGenerator.createLookingAtEntityUsing
(EntityType<?> entity, Item item) private void
EntityLootTableGenerator.register
(EntityType<?> entityType, LootTable.Builder lootTable) -
Uses of EntityType in net.minecraft.entity
Modifier and TypeFieldDescriptionstatic final EntityType<AreaEffectCloudEntity>
EntityType.AREA_EFFECT_CLOUD
static final EntityType<ArmorStandEntity>
EntityType.ARMOR_STAND
static final EntityType<ArrowEntity>
EntityType.ARROW
static final EntityType<AxolotlEntity>
EntityType.AXOLOTL
static final EntityType<BatEntity>
EntityType.BAT
static final EntityType<BeeEntity>
EntityType.BEE
static final EntityType<BlazeEntity>
EntityType.BLAZE
static final EntityType<BoatEntity>
EntityType.BOAT
static final EntityType<CatEntity>
EntityType.CAT
static final EntityType<CaveSpiderEntity>
EntityType.CAVE_SPIDER
static final EntityType<ChestMinecartEntity>
EntityType.CHEST_MINECART
static final EntityType<ChickenEntity>
EntityType.CHICKEN
static final EntityType<CodEntity>
EntityType.COD
static final EntityType<CommandBlockMinecartEntity>
EntityType.COMMAND_BLOCK_MINECART
static final EntityType<CowEntity>
EntityType.COW
static final EntityType<CreeperEntity>
EntityType.CREEPER
static final EntityType<DolphinEntity>
EntityType.DOLPHIN
static final EntityType<DonkeyEntity>
EntityType.DONKEY
static final EntityType<DragonFireballEntity>
EntityType.DRAGON_FIREBALL
static final EntityType<DrownedEntity>
EntityType.DROWNED
static final EntityType<EggEntity>
EntityType.EGG
static final EntityType<ElderGuardianEntity>
EntityType.ELDER_GUARDIAN
static final EntityType<EndCrystalEntity>
EntityType.END_CRYSTAL
static final EntityType<EnderDragonEntity>
EntityType.ENDER_DRAGON
static final EntityType<EnderPearlEntity>
EntityType.ENDER_PEARL
static final EntityType<EndermanEntity>
EntityType.ENDERMAN
static final EntityType<EndermiteEntity>
EntityType.ENDERMITE
static final EntityType<EvokerEntity>
EntityType.EVOKER
static final EntityType<EvokerFangsEntity>
EntityType.EVOKER_FANGS
static final EntityType<ExperienceBottleEntity>
EntityType.EXPERIENCE_BOTTLE
static final EntityType<ExperienceOrbEntity>
EntityType.EXPERIENCE_ORB
static final EntityType<EyeOfEnderEntity>
EntityType.EYE_OF_ENDER
static final EntityType<FallingBlockEntity>
EntityType.FALLING_BLOCK
static final EntityType<FireballEntity>
EntityType.FIREBALL
static final EntityType<FireworkRocketEntity>
EntityType.FIREWORK_ROCKET
static final EntityType<FishingBobberEntity>
EntityType.FISHING_BOBBER
static final EntityType<FoxEntity>
EntityType.FOX
static final EntityType<FurnaceMinecartEntity>
EntityType.FURNACE_MINECART
static final EntityType<GhastEntity>
EntityType.GHAST
static final EntityType<GiantEntity>
EntityType.GIANT
static final EntityType<GlowItemFrameEntity>
EntityType.GLOW_ITEM_FRAME
static final EntityType<GlowSquidEntity>
EntityType.GLOW_SQUID
static final EntityType<GoatEntity>
EntityType.GOAT
static final EntityType<GuardianEntity>
EntityType.GUARDIAN
static final EntityType<HoglinEntity>
EntityType.HOGLIN
static final EntityType<HopperMinecartEntity>
EntityType.HOPPER_MINECART
static final EntityType<HorseEntity>
EntityType.HORSE
static final EntityType<HuskEntity>
EntityType.HUSK
static final EntityType<IllusionerEntity>
EntityType.ILLUSIONER
static final EntityType<IronGolemEntity>
EntityType.IRON_GOLEM
static final EntityType<ItemEntity>
EntityType.ITEM
static final EntityType<ItemFrameEntity>
EntityType.ITEM_FRAME
static final EntityType<LeashKnotEntity>
EntityType.LEASH_KNOT
static final EntityType<LightningEntity>
EntityType.LIGHTNING_BOLT
static final EntityType<LlamaEntity>
EntityType.LLAMA
static final EntityType<LlamaSpitEntity>
EntityType.LLAMA_SPIT
static final EntityType<MagmaCubeEntity>
EntityType.MAGMA_CUBE
static final EntityType<MarkerEntity>
EntityType.MARKER
static final EntityType<MinecartEntity>
EntityType.MINECART
static final EntityType<MooshroomEntity>
EntityType.MOOSHROOM
static final EntityType<MuleEntity>
EntityType.MULE
static final EntityType<OcelotEntity>
EntityType.OCELOT
static final EntityType<PaintingEntity>
EntityType.PAINTING
static final EntityType<PandaEntity>
EntityType.PANDA
static final EntityType<ParrotEntity>
EntityType.PARROT
static final EntityType<PhantomEntity>
EntityType.PHANTOM
static final EntityType<PigEntity>
EntityType.PIG
static final EntityType<PiglinEntity>
EntityType.PIGLIN
static final EntityType<PiglinBruteEntity>
EntityType.PIGLIN_BRUTE
static final EntityType<PillagerEntity>
EntityType.PILLAGER
static final EntityType<PlayerEntity>
EntityType.PLAYER
static final EntityType<PolarBearEntity>
EntityType.POLAR_BEAR
static final EntityType<PotionEntity>
EntityType.POTION
static final EntityType<PufferfishEntity>
EntityType.PUFFERFISH
static final EntityType<RabbitEntity>
EntityType.RABBIT
static final EntityType<RavagerEntity>
EntityType.RAVAGER
static final EntityType<SalmonEntity>
EntityType.SALMON
static final EntityType<SheepEntity>
EntityType.SHEEP
static final EntityType<ShulkerEntity>
EntityType.SHULKER
static final EntityType<ShulkerBulletEntity>
EntityType.SHULKER_BULLET
static final EntityType<SilverfishEntity>
EntityType.SILVERFISH
static final EntityType<SkeletonEntity>
EntityType.SKELETON
static final EntityType<SkeletonHorseEntity>
EntityType.SKELETON_HORSE
static final EntityType<SlimeEntity>
EntityType.SLIME
static final EntityType<SmallFireballEntity>
EntityType.SMALL_FIREBALL
static final EntityType<SnowGolemEntity>
EntityType.SNOW_GOLEM
static final EntityType<SnowballEntity>
EntityType.SNOWBALL
static final EntityType<SpawnerMinecartEntity>
EntityType.SPAWNER_MINECART
static final EntityType<SpectralArrowEntity>
EntityType.SPECTRAL_ARROW
static final EntityType<SpiderEntity>
EntityType.SPIDER
static final EntityType<SquidEntity>
EntityType.SQUID
static final EntityType<StrayEntity>
EntityType.STRAY
static final EntityType<StriderEntity>
EntityType.STRIDER
static final EntityType<TntEntity>
EntityType.TNT
static final EntityType<TntMinecartEntity>
EntityType.TNT_MINECART
static final EntityType<TraderLlamaEntity>
EntityType.TRADER_LLAMA
static final EntityType<TridentEntity>
EntityType.TRIDENT
static final EntityType<TropicalFishEntity>
EntityType.TROPICAL_FISH
static final EntityType<TurtleEntity>
EntityType.TURTLE
private final EntityType<?>
Entity.type
static final EntityType<VexEntity>
EntityType.VEX
static final EntityType<VillagerEntity>
EntityType.VILLAGER
static final EntityType<VindicatorEntity>
EntityType.VINDICATOR
static final EntityType<WanderingTraderEntity>
EntityType.WANDERING_TRADER
static final EntityType<WitchEntity>
EntityType.WITCH
static final EntityType<WitherEntity>
EntityType.WITHER
static final EntityType<WitherSkeletonEntity>
EntityType.WITHER_SKELETON
static final EntityType<WitherSkullEntity>
EntityType.WITHER_SKULL
static final EntityType<WolfEntity>
EntityType.WOLF
static final EntityType<ZoglinEntity>
EntityType.ZOGLIN
static final EntityType<ZombieEntity>
EntityType.ZOMBIE
static final EntityType<ZombieHorseEntity>
EntityType.ZOMBIE_HORSE
static final EntityType<ZombieVillagerEntity>
EntityType.ZOMBIE_VILLAGER
static final EntityType<ZombifiedPiglinEntity>
EntityType.ZOMBIFIED_PIGLIN
Modifier and TypeFieldDescriptionprivate final RegistryEntry.Reference<EntityType<?>>
EntityType.registryEntry
private static final Map<EntityType<?>,
SpawnRestriction.Entry> SpawnRestriction.RESTRICTIONS
Modifier and TypeMethodDescriptionEntityType<?>
Entity.getType()
private static <T extends Entity>
EntityType<T>EntityType.register
(String id, EntityType.Builder<T> type) Modifier and TypeMethodDescriptionstatic Optional<EntityType<?>>
EntityType.fromNbt
(NbtCompound nbt) static Optional<EntityType<?>>
EntityType.getRegistryEntry()
Deprecated.Modifier and TypeMethodDescriptionstatic <T extends Entity>
booleanSpawnRestriction.canSpawn
(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) boolean
LivingEntity.canTarget
(EntityType<?> type) EntityType.EntityFactory.create
(EntityType<T> type, World world) Dismounting.findRespawnPos
(EntityType<?> entityType, CollisionView world, BlockPos pos, boolean ignoreInvalidPos) static Heightmap.Type
SpawnRestriction.getHeightmapType
(@Nullable EntityType<?> type) static Identifier
EntityType.getId
(EntityType<?> type) static SpawnRestriction.Location
SpawnRestriction.getLocation
(EntityType<?> type) EntityType.newInstance
(World world, @Nullable EntityType<?> type) private static <T extends MobEntity>
voidSpawnRestriction.register
(EntityType<T> type, SpawnRestriction.Location location, Heightmap.Type heightmapType, SpawnRestriction.SpawnPredicate<T> predicate) boolean
SpawnRestriction.SpawnPredicate.test
(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) ModifierConstructorDescriptionAreaEffectCloudEntity
(EntityType<? extends AreaEffectCloudEntity> type, World world) Entity
(EntityType<?> type, World world) ExperienceOrbEntity
(EntityType<? extends ExperienceOrbEntity> type, World world) EyeOfEnderEntity
(EntityType<? extends EyeOfEnderEntity> type, World world) FallingBlockEntity
(EntityType<? extends FallingBlockEntity> type, World world) ItemEntity
(EntityType<? extends ItemEntity> type, World world) LightningEntity
(EntityType<? extends LightningEntity> type, World world) protected
LivingEntity
(EntityType<? extends LivingEntity> type, World world) MarkerEntity
(EntityType<?> type, World world) TntEntity
(EntityType<? extends TntEntity> type, World world) -
Uses of EntityType in net.minecraft.entity.ai.brain.sensor
Modifier and TypeFieldDescriptionprivate static final ImmutableMap<EntityType<?>,
Float> VillagerHostilesSensor.SQUARED_DISTANCES_FOR_DANGER
-
Uses of EntityType in net.minecraft.entity.ai.brain.task
Modifier and TypeFieldDescriptionprivate final EntityType<? extends T>
FindEntityTask.entityType
private final EntityType<?>
FindInteractionTargetTask.entityType
private final EntityType<? extends AnimalEntity>
BreedTask.targetType
Modifier and TypeMethodDescriptionstatic boolean
LookTargetUtil.canSee
(Brain<?> brain, MemoryModuleType<? extends LivingEntity> memoryModuleType, EntityType<?> entityType) static <T extends LivingEntity>
FindEntityTask<LivingEntity,T> FindEntityTask.create
(EntityType<? extends T> entityType, int maxDistance, Predicate<T> condition, MemoryModuleType<T> moduleType, float speed, int completionRange) static <T extends LivingEntity>
FindEntityTask<LivingEntity,T> FindEntityTask.create
(EntityType<? extends T> entityType, int maxDistance, MemoryModuleType<T> targetModule, float speed, int completionRange) ModifierConstructorDescriptionBreedTask
(EntityType<? extends AnimalEntity> targetType, float speed) FindEntityTask
(EntityType<? extends T> entityType, int maxDistance, Predicate<E> shouldRunPredicate, Predicate<T> predicate, MemoryModuleType<T> targetModule, float speed, int completionRange) FindInteractionTargetTask
(EntityType<?> entityType, int maxDistance) FindInteractionTargetTask
(EntityType<?> entityType, int maxDistance, Predicate<LivingEntity> shouldRunPredicate, Predicate<LivingEntity> predicate) FollowMobTask
(EntityType<?> entityType, float maxDistance) -
Uses of EntityType in net.minecraft.entity.attribute
Modifier and TypeFieldDescriptionprivate static final Map<EntityType<? extends LivingEntity>,
DefaultAttributeContainer> DefaultAttributeRegistry.DEFAULT_ATTRIBUTE_REGISTRY
Modifier and TypeMethodDescriptionstatic DefaultAttributeContainer
DefaultAttributeRegistry.get
(EntityType<? extends LivingEntity> type) static boolean
DefaultAttributeRegistry.hasDefinitionFor
(EntityType<?> type) -
Uses of EntityType in net.minecraft.entity.boss
-
Uses of EntityType in net.minecraft.entity.boss.dragon
ModifierConstructorDescriptionEnderDragonEntity
(EntityType<? extends EnderDragonEntity> type, World world) -
Uses of EntityType in net.minecraft.entity.decoration
ModifierConstructorDescriptionprotected
AbstractDecorationEntity
(EntityType<? extends AbstractDecorationEntity> type, World world) protected
AbstractDecorationEntity
(EntityType<? extends AbstractDecorationEntity> type, World world, BlockPos pos) ArmorStandEntity
(EntityType<? extends ArmorStandEntity> type, World world) EndCrystalEntity
(EntityType<? extends EndCrystalEntity> type, World world) GlowItemFrameEntity
(EntityType<? extends ItemFrameEntity> type, World world) ItemFrameEntity
(EntityType<? extends ItemFrameEntity> type, World world) ItemFrameEntity
(EntityType<? extends ItemFrameEntity> type, World world, BlockPos pos, Direction facing) LeashKnotEntity
(EntityType<? extends LeashKnotEntity> type, World world) -
Uses of EntityType in net.minecraft.entity.decoration.painting
ModifierConstructorDescriptionPaintingEntity
(EntityType<? extends PaintingEntity> type, World world) -
Uses of EntityType in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionstatic boolean
MagmaCubeEntity.canMagmaCubeSpawn
(EntityType<MagmaCubeEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
MobEntity.canMobSpawn
(EntityType<? extends MobEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
DrownedEntity.canSpawn
(EntityType<DrownedEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
EndermiteEntity.canSpawn
(EntityType<EndermiteEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
GhastEntity.canSpawn
(EntityType<GhastEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
GuardianEntity.canSpawn
(EntityType<? extends GuardianEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
HoglinEntity.canSpawn
(EntityType<HoglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
HuskEntity.canSpawn
(EntityType<HuskEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
PatrolEntity.canSpawn
(EntityType<? extends PatrolEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
PiglinEntity.canSpawn
(EntityType<PiglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
SilverfishEntity.canSpawn
(EntityType<SilverfishEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
SlimeEntity.canSpawn
(EntityType<SlimeEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
StrayEntity.canSpawn
(EntityType<StrayEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
WaterCreatureEntity.canSpawn
(EntityType<? extends WaterCreatureEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) static boolean
ZombifiedPiglinEntity.canSpawn
(EntityType<ZombifiedPiglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
HostileEntity.canSpawnIgnoreLightLevel
(EntityType<? extends HostileEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
HostileEntity.canSpawnInDark
(EntityType<? extends HostileEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) boolean
MobEntity.canTarget
(EntityType<?> type) boolean
PhantomEntity.canTarget
(EntityType<?> type) <T extends MobEntity>
TMobEntity.convertTo
(EntityType<T> entityType, boolean keepEquipment) Converts this entity to the providedentityType
.protected void
ZombieEntity.convertTo
(EntityType<? extends ZombieEntity> entityType) static boolean
PiglinBrain.isZombified
(EntityType<?> entityType) ModifierConstructorDescriptionAbstractPiglinEntity
(EntityType<? extends AbstractPiglinEntity> type, World world) protected
AbstractSkeletonEntity
(EntityType<? extends AbstractSkeletonEntity> type, World world) protected
AmbientEntity
(EntityType<? extends AmbientEntity> type, World world) BlazeEntity
(EntityType<? extends BlazeEntity> type, World world) CaveSpiderEntity
(EntityType<? extends CaveSpiderEntity> type, World world) CreeperEntity
(EntityType<? extends CreeperEntity> type, World world) DrownedEntity
(EntityType<? extends DrownedEntity> type, World world) ElderGuardianEntity
(EntityType<? extends ElderGuardianEntity> type, World world) EndermanEntity
(EntityType<? extends EndermanEntity> type, World world) EndermiteEntity
(EntityType<? extends EndermiteEntity> type, World world) EvokerEntity
(EntityType<? extends EvokerEntity> type, World world) EvokerFangsEntity
(EntityType<? extends EvokerFangsEntity> type, World world) protected
FlyingEntity
(EntityType<? extends FlyingEntity> type, World world) GhastEntity
(EntityType<? extends GhastEntity> type, World world) GiantEntity
(EntityType<? extends GiantEntity> type, World world) GuardianEntity
(EntityType<? extends GuardianEntity> type, World world) HoglinEntity
(EntityType<? extends HoglinEntity> type, World world) protected
HostileEntity
(EntityType<? extends HostileEntity> type, World world) HuskEntity
(EntityType<? extends HuskEntity> type, World world) protected
IllagerEntity
(EntityType<? extends IllagerEntity> type, World world) IllusionerEntity
(EntityType<? extends IllusionerEntity> type, World world) MagmaCubeEntity
(EntityType<? extends MagmaCubeEntity> type, World world) protected
MobEntity
(EntityType<? extends MobEntity> type, World world) protected
PathAwareEntity
(EntityType<? extends PathAwareEntity> type, World world) protected
PatrolEntity
(EntityType<? extends PatrolEntity> type, World world) PhantomEntity
(EntityType<? extends PhantomEntity> type, World world) PiglinBruteEntity
(EntityType<? extends PiglinBruteEntity> type, World world) PiglinEntity
(EntityType<? extends AbstractPiglinEntity> type, World world) PillagerEntity
(EntityType<? extends PillagerEntity> type, World world) RavagerEntity
(EntityType<? extends RavagerEntity> type, World world) ShulkerEntity
(EntityType<? extends ShulkerEntity> type, World world) SilverfishEntity
(EntityType<? extends SilverfishEntity> type, World world) SkeletonEntity
(EntityType<? extends SkeletonEntity> type, World world) SkeletonHorseEntity
(EntityType<? extends SkeletonHorseEntity> type, World world) SlimeEntity
(EntityType<? extends SlimeEntity> type, World world) protected
SpellcastingIllagerEntity
(EntityType<? extends SpellcastingIllagerEntity> type, World world) SpiderEntity
(EntityType<? extends SpiderEntity> type, World world) StrayEntity
(EntityType<? extends StrayEntity> type, World world) VexEntity
(EntityType<? extends VexEntity> type, World world) VindicatorEntity
(EntityType<? extends VindicatorEntity> type, World world) protected
WaterCreatureEntity
(EntityType<? extends WaterCreatureEntity> type, World world) WitchEntity
(EntityType<? extends WitchEntity> type, World world) WitherSkeletonEntity
(EntityType<? extends WitherSkeletonEntity> type, World world) ZoglinEntity
(EntityType<? extends ZoglinEntity> type, World world) ZombieEntity
(EntityType<? extends ZombieEntity> type, World world) ZombieHorseEntity
(EntityType<? extends ZombieHorseEntity> type, World world) ZombieVillagerEntity
(EntityType<? extends ZombieVillagerEntity> type, World world) ZombifiedPiglinEntity
(EntityType<? extends ZombifiedPiglinEntity> type, World world) -
Uses of EntityType in net.minecraft.entity.passive
Modifier and TypeFieldDescription(package private) static final Map<EntityType<?>,
SoundEvent> ParrotEntity.MOB_SOUNDS
Modifier and TypeMethodDescriptionstatic boolean
AxolotlEntity.canSpawn
(EntityType<? extends LivingEntity> type, ServerWorldAccess world, SpawnReason reason, BlockPos pos, Random random) static boolean
BatEntity.canSpawn
(EntityType<BatEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
FoxEntity.canSpawn
(EntityType<FoxEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
GlowSquidEntity.canSpawn
(EntityType<? extends LivingEntity> type, ServerWorldAccess world, SpawnReason reason, BlockPos pos, Random random) static boolean
GoatEntity.canSpawn
(EntityType<? extends AnimalEntity> entityType, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
MooshroomEntity.canSpawn
(EntityType<MooshroomEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
OcelotEntity.canSpawn
(EntityType<OcelotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
ParrotEntity.canSpawn
(EntityType<ParrotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
PolarBearEntity.canSpawn
(EntityType<PolarBearEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
RabbitEntity.canSpawn
(EntityType<RabbitEntity> entity, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
StriderEntity.canSpawn
(EntityType<StriderEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
TurtleEntity.canSpawn
(EntityType<TurtleEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static boolean
WolfEntity.canSpawn
(EntityType<WolfEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) boolean
IronGolemEntity.canTarget
(EntityType<?> type) static boolean
TropicalFishEntity.canTropicalFishSpawn
(EntityType<TropicalFishEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) private static SoundEvent
ParrotEntity.getSound
(EntityType<?> imitate) static boolean
AnimalEntity.isValidNaturalSpawn
(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) ModifierConstructorDescriptionprotected
AbstractDonkeyEntity
(EntityType<? extends AbstractDonkeyEntity> type, World world) protected
AnimalEntity
(EntityType<? extends AnimalEntity> type, World world) AxolotlEntity
(EntityType<? extends AxolotlEntity> type, World world) BatEntity
(EntityType<? extends BatEntity> type, World world) BeeEntity
(EntityType<? extends BeeEntity> type, World world) CatEntity
(EntityType<? extends CatEntity> type, World world) ChickenEntity
(EntityType<? extends ChickenEntity> type, World world) CodEntity
(EntityType<? extends CodEntity> type, World world) CowEntity
(EntityType<? extends CowEntity> type, World world) DolphinEntity
(EntityType<? extends DolphinEntity> type, World world) DonkeyEntity
(EntityType<? extends DonkeyEntity> type, World world) FishEntity
(EntityType<? extends FishEntity> type, World world) FoxEntity
(EntityType<? extends FoxEntity> type, World world) GlowSquidEntity
(EntityType<? extends GlowSquidEntity> type, World world) GoatEntity
(EntityType<? extends GoatEntity> type, World world) protected
GolemEntity
(EntityType<? extends GolemEntity> type, World world) protected
HorseBaseEntity
(EntityType<? extends HorseBaseEntity> type, World world) HorseEntity
(EntityType<? extends HorseEntity> type, World world) IronGolemEntity
(EntityType<? extends IronGolemEntity> type, World world) LlamaEntity
(EntityType<? extends LlamaEntity> type, World world) MerchantEntity
(EntityType<? extends MerchantEntity> type, World world) MooshroomEntity
(EntityType<? extends MooshroomEntity> type, World world) MuleEntity
(EntityType<? extends MuleEntity> type, World world) OcelotEntity
(EntityType<? extends OcelotEntity> type, World world) PandaEntity
(EntityType<? extends PandaEntity> type, World world) ParrotEntity
(EntityType<? extends ParrotEntity> type, World world) protected
PassiveEntity
(EntityType<? extends PassiveEntity> type, World world) PigEntity
(EntityType<? extends PigEntity> type, World world) PolarBearEntity
(EntityType<? extends PolarBearEntity> type, World world) PufferfishEntity
(EntityType<? extends PufferfishEntity> type, World world) RabbitEntity
(EntityType<? extends RabbitEntity> type, World world) SalmonEntity
(EntityType<? extends SalmonEntity> type, World world) SchoolingFishEntity
(EntityType<? extends SchoolingFishEntity> type, World world) SheepEntity
(EntityType<? extends SheepEntity> type, World world) SnowGolemEntity
(EntityType<? extends SnowGolemEntity> type, World world) SquidEntity
(EntityType<? extends SquidEntity> type, World world) StriderEntity
(EntityType<? extends StriderEntity> type, World world) protected
TameableEntity
(EntityType<? extends TameableEntity> type, World world) protected
TameableShoulderEntity
(EntityType<? extends TameableShoulderEntity> type, World world) TraderLlamaEntity
(EntityType<? extends TraderLlamaEntity> type, World world) TropicalFishEntity
(EntityType<? extends TropicalFishEntity> type, World world) TurtleEntity
(EntityType<? extends TurtleEntity> type, World world) VillagerEntity
(EntityType<? extends VillagerEntity> type, World world) VillagerEntity
(EntityType<? extends VillagerEntity> entityType, World world, VillagerType type) WanderingTraderEntity
(EntityType<? extends WanderingTraderEntity> type, World world) WolfEntity
(EntityType<? extends WolfEntity> type, World world) -
Uses of EntityType in net.minecraft.entity.projectile
ModifierConstructorDescriptionAbstractFireballEntity
(EntityType<? extends AbstractFireballEntity> type, double x, double y, double z, double directionX, double directionY, double directionZ, World world) AbstractFireballEntity
(EntityType<? extends AbstractFireballEntity> type, LivingEntity owner, double directionX, double directionY, double directionZ, World world) AbstractFireballEntity
(EntityType<? extends AbstractFireballEntity> type, World world) ArrowEntity
(EntityType<? extends ArrowEntity> type, World world) DragonFireballEntity
(EntityType<? extends DragonFireballEntity> type, World world) ExplosiveProjectileEntity
(EntityType<? extends ExplosiveProjectileEntity> type, double x, double y, double z, double directionX, double directionY, double directionZ, World world) ExplosiveProjectileEntity
(EntityType<? extends ExplosiveProjectileEntity> type, LivingEntity owner, double directionX, double directionY, double directionZ, World world) protected
ExplosiveProjectileEntity
(EntityType<? extends ExplosiveProjectileEntity> type, World world) FireballEntity
(EntityType<? extends FireballEntity> type, World world) FireworkRocketEntity
(EntityType<? extends FireworkRocketEntity> type, World world) FishingBobberEntity
(EntityType<? extends FishingBobberEntity> type, World world) private
FishingBobberEntity
(EntityType<? extends FishingBobberEntity> type, World world, int luckOfTheSeaLevel, int lureLevel) LlamaSpitEntity
(EntityType<? extends LlamaSpitEntity> type, World world) protected
PersistentProjectileEntity
(EntityType<? extends PersistentProjectileEntity> type, double x, double y, double z, World world) protected
PersistentProjectileEntity
(EntityType<? extends PersistentProjectileEntity> type, LivingEntity owner, World world) protected
PersistentProjectileEntity
(EntityType<? extends PersistentProjectileEntity> type, World world) (package private)
ProjectileEntity
(EntityType<? extends ProjectileEntity> type, World world) ShulkerBulletEntity
(EntityType<? extends ShulkerBulletEntity> type, World world) SmallFireballEntity
(EntityType<? extends SmallFireballEntity> type, World world) SpectralArrowEntity
(EntityType<? extends SpectralArrowEntity> type, World world) TridentEntity
(EntityType<? extends TridentEntity> type, World world) WitherSkullEntity
(EntityType<? extends WitherSkullEntity> type, World world) -
Uses of EntityType in net.minecraft.entity.projectile.thrown
ModifierConstructorDescriptionEggEntity
(EntityType<? extends EggEntity> type, World world) EnderPearlEntity
(EntityType<? extends EnderPearlEntity> type, World world) ExperienceBottleEntity
(EntityType<? extends ExperienceBottleEntity> type, World world) PotionEntity
(EntityType<? extends PotionEntity> type, World world) SnowballEntity
(EntityType<? extends SnowballEntity> type, World world) protected
ThrownEntity
(EntityType<? extends ThrownEntity> type, double x, double y, double z, World world) protected
ThrownEntity
(EntityType<? extends ThrownEntity> type, LivingEntity owner, World world) protected
ThrownEntity
(EntityType<? extends ThrownEntity> type, World world) ThrownItemEntity
(EntityType<? extends ThrownItemEntity> type, double x, double y, double z, World world) ThrownItemEntity
(EntityType<? extends ThrownItemEntity> type, LivingEntity owner, World world) ThrownItemEntity
(EntityType<? extends ThrownItemEntity> type, World world) -
Uses of EntityType in net.minecraft.entity.raid
ModifierConstructorDescriptionprotected
RaiderEntity
(EntityType<? extends RaiderEntity> type, World world) -
Uses of EntityType in net.minecraft.entity.vehicle
ModifierConstructorDescriptionprotected
AbstractMinecartEntity
(EntityType<?> type, World world) protected
AbstractMinecartEntity
(EntityType<?> type, World world, double x, double y, double z) BoatEntity
(EntityType<? extends BoatEntity> type, World world) ChestMinecartEntity
(EntityType<? extends ChestMinecartEntity> type, World world) CommandBlockMinecartEntity
(EntityType<? extends CommandBlockMinecartEntity> type, World world) FurnaceMinecartEntity
(EntityType<? extends FurnaceMinecartEntity> type, World world) HopperMinecartEntity
(EntityType<? extends HopperMinecartEntity> type, World world) MinecartEntity
(EntityType<?> type, World world) SpawnerMinecartEntity
(EntityType<? extends SpawnerMinecartEntity> type, World world) protected
StorageMinecartEntity
(EntityType<?> type, double x, double y, double z, World world) protected
StorageMinecartEntity
(EntityType<?> type, World world) TntMinecartEntity
(EntityType<? extends TntMinecartEntity> type, World world) -
Uses of EntityType in net.minecraft.item
Modifier and TypeFieldDescriptionprivate final EntityType<? extends AbstractDecorationEntity>
DecorationItem.entityType
private final EntityType<?>
EntityBucketItem.entityType
private final EntityType<T>
OnAStickItem.target
private final EntityType<?>
SpawnEggItem.type
Modifier and TypeFieldDescriptionprivate static final Map<EntityType<? extends MobEntity>,
SpawnEggItem> SpawnEggItem.SPAWN_EGGS
Modifier and TypeMethodDescriptionEntityType<?>
SpawnEggItem.getEntityType
(@Nullable NbtCompound nbt) Modifier and TypeMethodDescriptionstatic @Nullable SpawnEggItem
SpawnEggItem.forEntity
(@Nullable EntityType<?> type) boolean
SpawnEggItem.isOfSameEntityType
(@Nullable NbtCompound nbt, EntityType<?> type) SpawnEggItem.spawnBaby
(PlayerEntity user, MobEntity entity, EntityType<? extends MobEntity> entityType, ServerWorld world, Vec3d pos, ItemStack stack) ModifierConstructorDescriptionDecorationItem
(EntityType<? extends AbstractDecorationEntity> type, Item.Settings settings) EntityBucketItem
(EntityType<?> type, Fluid fluid, SoundEvent emptyingSound, Item.Settings settings) ItemFrameItem
(EntityType<? extends AbstractDecorationEntity> type, Item.Settings settings) OnAStickItem
(Item.Settings settings, EntityType<T> target, int damagePerUse) SpawnEggItem
(EntityType<? extends MobEntity> type, int primaryColor, int secondaryColor, Item.Settings settings) -
Uses of EntityType in net.minecraft.network.packet.s2c.play
ModifierConstructorDescriptionEntitySpawnS2CPacket
(int id, UUID uuid, double x, double y, double z, float pitch, float yaw, EntityType<?> entityTypeId, int entityData, Vec3d velocity) EntitySpawnS2CPacket
(Entity entity, EntityType<?> entityType, int data, BlockPos pos) -
Uses of EntityType in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionprivate final TagKey<EntityType<?>>
EntityTypePredicate.Tagged.tag
Modifier and TypeMethodDescriptionstatic EntityTypePredicate
EntityTypePredicate.create
(EntityType<?> type) abstract boolean
EntityTypePredicate.matches
(EntityType<?> type) boolean
EntityTypePredicate.Single.matches
(EntityType<?> type) boolean
EntityTypePredicate.Tagged.matches
(EntityType<?> type) EntityPredicate.Builder.type
(EntityType<?> type) Modifier and TypeMethodDescriptionstatic EntityTypePredicate
EntityTypePredicate.create
(TagKey<EntityType<?>> tag) EntityPredicate.Builder.type
(TagKey<EntityType<?>> tag) -
Uses of EntityType in net.minecraft.stat
Modifier and TypeFieldDescriptionstatic final StatType<EntityType<?>>
Stats.KILLED
static final StatType<EntityType<?>>
Stats.KILLED_BY
-
Uses of EntityType in net.minecraft.tag
Modifier and TypeFieldDescriptionstatic final TagKey<EntityType<?>>
EntityTypeTags.ARROWS
static final TagKey<EntityType<?>>
EntityTypeTags.AXOLOTL_ALWAYS_HOSTILES
static final TagKey<EntityType<?>>
EntityTypeTags.AXOLOTL_HUNT_TARGETS
static final TagKey<EntityType<?>>
EntityTypeTags.BEEHIVE_INHABITORS
static final TagKey<EntityType<?>>
EntityTypeTags.FREEZE_HURTS_EXTRA_TYPES
static final TagKey<EntityType<?>>
EntityTypeTags.FREEZE_IMMUNE_ENTITY_TYPES
static final TagKey<EntityType<?>>
EntityTypeTags.IMPACT_PROJECTILES
static final TagKey<EntityType<?>>
EntityTypeTags.POWDER_SNOW_WALKABLE_MOBS
static final TagKey<EntityType<?>>
EntityTypeTags.RAIDERS
static final TagKey<EntityType<?>>
EntityTypeTags.SKELETONS
-
Uses of EntityType in net.minecraft.test
Modifier and TypeMethodDescriptionvoid
TestContext.dontExpectEntity
(EntityType<?> type) void
TestContext.dontExpectEntityAt
(EntityType<?> type, int x, int y, int z) void
TestContext.dontExpectEntityAt
(EntityType<?> type, BlockPos pos) void
TestContext.dontExpectEntityAtEnd
(EntityType<?> type, int x, int y, int z) void
TestContext.dontExpectEntityAtEnd
(EntityType<?> type, BlockPos pos) void
TestContext.dontExpectEntityToTouch
(EntityType<?> type, double x, double y, double z) void
TestContext.expectEntity
(EntityType<?> type) void
TestContext.expectEntityAround
(EntityType<?> type, BlockPos pos, double radius) void
TestContext.expectEntityAt
(EntityType<?> type, int x, int y, int z) void
TestContext.expectEntityAt
(EntityType<?> type, BlockPos pos) void
TestContext.expectEntityAtEnd
(EntityType<?> type, int x, int y, int z) void
TestContext.expectEntityAtEnd
(EntityType<?> type, BlockPos pos) void
TestContext.expectEntityToTouch
(EntityType<?> type, double x, double y, double z) <E extends Entity,
T>
voidTestContext.expectEntityWithData
(BlockPos pos, EntityType<E> type, Function<? super E, T> entityDataGetter, T data) <E extends Entity,
T>
voidTestContext.expectEntityWithDataEnd
(BlockPos pos, EntityType<E> type, Function<E, T> entityDataGetter, T data) <E extends Entity>
ETestContext.spawnEntity
(EntityType<E> type, float x, float y, float z) <E extends Entity>
ETestContext.spawnEntity
(EntityType<E> type, int x, int y, int z) <E extends Entity>
ETestContext.spawnEntity
(EntityType<E> type, BlockPos pos) <E extends Entity>
ETestContext.spawnEntity
(EntityType<E> type, Vec3d pos) <E extends MobEntity>
ETestContext.spawnMob
(EntityType<E> type, float x, float y, float z) <E extends MobEntity>
ETestContext.spawnMob
(EntityType<E> type, int x, int y, int z) <E extends MobEntity>
ETestContext.spawnMob
(EntityType<E> type, BlockPos pos) <E extends MobEntity>
ETestContext.spawnMob
(EntityType<E> type, Vec3d pos) -
Uses of EntityType in net.minecraft.text
ModifierConstructorDescriptionEntityContent
(EntityType<?> entityType, UUID uuid, @Nullable Text name) -
Uses of EntityType in net.minecraft.util.registry
Modifier and TypeFieldDescriptionstatic final DefaultedRegistry<EntityType<?>>
Registry.ENTITY_TYPE
static final RegistryKey<Registry<EntityType<?>>>
Registry.ENTITY_TYPE_KEY
-
Uses of EntityType in net.minecraft.village.raid
Modifier and TypeFieldDescription(package private) final EntityType<? extends RaiderEntity>
Raid.Member.type
ModifierConstructorDescriptionprivate
Member
(EntityType<? extends RaiderEntity> type, int[] countInWave) -
Uses of EntityType in net.minecraft.world
Modifier and TypeFieldDescriptionprivate @Nullable EntityType<?>
SpawnHelper.Info.cachedEntityType
Modifier and TypeMethodDescriptionstatic boolean
SpawnHelper.canSpawn
(SpawnRestriction.Location location, WorldView world, BlockPos pos, @Nullable EntityType<?> entityType) SpawnHelper.createMob
(ServerWorld world, EntityType<?> type) private static BlockPos
SpawnHelper.getEntitySpawnPos
(WorldView world, EntityType<?> entityType, int x, int z) static boolean
SpawnHelper.isClearForSpawn
(BlockView blockView, BlockPos pos, BlockState state, FluidState fluidState, EntityType<?> entityType) void
MobSpawnerLogic.setEntityId
(EntityType<?> type) boolean
SpawnHelper.Checker.test
(EntityType<?> type, BlockPos pos, Chunk chunk) private boolean
SpawnHelper.Info.test
(EntityType<?> type, BlockPos pos, Chunk chunk) -
Uses of EntityType in net.minecraft.world.biome
Modifier and TypeFieldDescriptionprivate final Map<EntityType<?>,
SpawnSettings.SpawnDensity> SpawnSettings.Builder.spawnCosts
private final Map<EntityType<?>,
SpawnSettings.SpawnDensity> SpawnSettings.spawnCosts
Modifier and TypeMethodDescriptionSpawnSettings.getSpawnDensity
(EntityType<?> entityType) SpawnSettings.Builder.spawnCost
(EntityType<?> entityType, double mass, double gravityLimit) ModifierConstructorDescriptionSpawnEntry
(EntityType<?> type, int weight, int minGroupSize, int maxGroupSize) SpawnEntry
(EntityType<?> type, Weight weight, int minGroupSize, int maxGroupSize) -
Uses of EntityType in net.minecraft.world.gen.feature
Modifier and TypeFieldDescriptionprivate static final EntityType<?>[]
DungeonFeature.MOB_SPAWNER_ENTITIES
Modifier and TypeMethodDescriptionprivate EntityType<?>
DungeonFeature.getMobSpawnerEntity
(Random random)