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 bool)
BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, float float2)
BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, int[][] int2, boolean bool)
BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, Direction direction, Direction direction2)
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 Map<EntityType<?>,EntityRendererFactory<?>>
EntityRenderers.rendererFactories
private Map<EntityType<?>,EntityRenderer<?>>
EntityRenderDispatcher.renderers
private static Map<EntityType<?>,Identifier>
DonkeyEntityRenderer.TEXTURES
private static Map<EntityType<?>,Identifier>
PiglinEntityRenderer.TEXTURES
private static 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 EntityType<?>[]
HusbandryTabAdvancementGenerator.BREEDABLE_ANIMALS
private static EntityType<?>[]
AdventureTabAdvancementGenerator.MONSTERS
Modifier and TypeFieldDescriptionprivate static Set<EntityType<?>>
EntityLootTableGenerator.ENTITY_TYPES_IN_MISC_GROUP_TO_CHECK
Modifier and TypeMethodDescriptionprivate static class_6409.class_6410
AdventureTabAdvancementGenerator.method_37315(EntityType<?> entityType, Item item)
private void
EntityLootTableGenerator.register(EntityType<?> entityType, LootTable.Builder lootTable)
-
Uses of EntityType in net.minecraft.entity
Modifier and TypeFieldDescriptionstatic EntityType<AreaEffectCloudEntity>
EntityType.AREA_EFFECT_CLOUD
static EntityType<ArmorStandEntity>
EntityType.ARMOR_STAND
static EntityType<ArrowEntity>
EntityType.ARROW
static EntityType<AxolotlEntity>
EntityType.AXOLOTL
static EntityType<BatEntity>
EntityType.BAT
static EntityType<BeeEntity>
EntityType.BEE
static EntityType<BlazeEntity>
EntityType.BLAZE
static EntityType<BoatEntity>
EntityType.BOAT
static EntityType<CatEntity>
EntityType.CAT
static EntityType<CaveSpiderEntity>
EntityType.CAVE_SPIDER
static EntityType<ChestMinecartEntity>
EntityType.CHEST_MINECART
static EntityType<ChickenEntity>
EntityType.CHICKEN
static EntityType<CodEntity>
EntityType.COD
static EntityType<CommandBlockMinecartEntity>
EntityType.COMMAND_BLOCK_MINECART
static EntityType<CowEntity>
EntityType.COW
static EntityType<CreeperEntity>
EntityType.CREEPER
static EntityType<DolphinEntity>
EntityType.DOLPHIN
static EntityType<DonkeyEntity>
EntityType.DONKEY
static EntityType<DragonFireballEntity>
EntityType.DRAGON_FIREBALL
static EntityType<DrownedEntity>
EntityType.DROWNED
static EntityType<EggEntity>
EntityType.EGG
static EntityType<ElderGuardianEntity>
EntityType.ELDER_GUARDIAN
static EntityType<EndCrystalEntity>
EntityType.END_CRYSTAL
static EntityType<EnderDragonEntity>
EntityType.ENDER_DRAGON
static EntityType<EnderPearlEntity>
EntityType.ENDER_PEARL
static EntityType<EndermanEntity>
EntityType.ENDERMAN
static EntityType<EndermiteEntity>
EntityType.ENDERMITE
static EntityType<EvokerEntity>
EntityType.EVOKER
static EntityType<EvokerFangsEntity>
EntityType.EVOKER_FANGS
static EntityType<ExperienceBottleEntity>
EntityType.EXPERIENCE_BOTTLE
static EntityType<ExperienceOrbEntity>
EntityType.EXPERIENCE_ORB
static EntityType<EyeOfEnderEntity>
EntityType.EYE_OF_ENDER
static EntityType<FallingBlockEntity>
EntityType.FALLING_BLOCK
static EntityType<FireballEntity>
EntityType.FIREBALL
static EntityType<FireworkRocketEntity>
EntityType.FIREWORK_ROCKET
static EntityType<FishingBobberEntity>
EntityType.FISHING_BOBBER
static EntityType<FoxEntity>
EntityType.FOX
static EntityType<FurnaceMinecartEntity>
EntityType.FURNACE_MINECART
static EntityType<GhastEntity>
EntityType.GHAST
static EntityType<GiantEntity>
EntityType.GIANT
static EntityType<GlowItemFrameEntity>
EntityType.GLOW_ITEM_FRAME
static EntityType<GlowSquidEntity>
EntityType.GLOW_SQUID
static EntityType<GoatEntity>
EntityType.GOAT
static EntityType<GuardianEntity>
EntityType.GUARDIAN
static EntityType<HoglinEntity>
EntityType.HOGLIN
static EntityType<HopperMinecartEntity>
EntityType.HOPPER_MINECART
static EntityType<HorseEntity>
EntityType.HORSE
static EntityType<HuskEntity>
EntityType.HUSK
static EntityType<IllusionerEntity>
EntityType.ILLUSIONER
static EntityType<IronGolemEntity>
EntityType.IRON_GOLEM
static EntityType<ItemEntity>
EntityType.ITEM
static EntityType<ItemFrameEntity>
EntityType.ITEM_FRAME
static EntityType<LeashKnotEntity>
EntityType.LEASH_KNOT
static EntityType<LightningEntity>
EntityType.LIGHTNING_BOLT
static EntityType<LlamaEntity>
EntityType.LLAMA
static EntityType<LlamaSpitEntity>
EntityType.LLAMA_SPIT
static EntityType<MagmaCubeEntity>
EntityType.MAGMA_CUBE
static EntityType<MarkerEntity>
EntityType.MARKER
static EntityType<MinecartEntity>
EntityType.MINECART
static EntityType<MooshroomEntity>
EntityType.MOOSHROOM
static EntityType<MuleEntity>
EntityType.MULE
static EntityType<OcelotEntity>
EntityType.OCELOT
static EntityType<PaintingEntity>
EntityType.PAINTING
static EntityType<PandaEntity>
EntityType.PANDA
static EntityType<ParrotEntity>
EntityType.PARROT
static EntityType<PhantomEntity>
EntityType.PHANTOM
static EntityType<PigEntity>
EntityType.PIG
static EntityType<PiglinEntity>
EntityType.PIGLIN
static EntityType<PiglinBruteEntity>
EntityType.PIGLIN_BRUTE
static EntityType<PillagerEntity>
EntityType.PILLAGER
static EntityType<PlayerEntity>
EntityType.PLAYER
static EntityType<PolarBearEntity>
EntityType.POLAR_BEAR
static EntityType<PotionEntity>
EntityType.POTION
static EntityType<PufferfishEntity>
EntityType.PUFFERFISH
static EntityType<RabbitEntity>
EntityType.RABBIT
static EntityType<RavagerEntity>
EntityType.RAVAGER
static EntityType<SalmonEntity>
EntityType.SALMON
static EntityType<SheepEntity>
EntityType.SHEEP
static EntityType<ShulkerEntity>
EntityType.SHULKER
static EntityType<ShulkerBulletEntity>
EntityType.SHULKER_BULLET
static EntityType<SilverfishEntity>
EntityType.SILVERFISH
static EntityType<SkeletonEntity>
EntityType.SKELETON
static EntityType<SkeletonHorseEntity>
EntityType.SKELETON_HORSE
static EntityType<SlimeEntity>
EntityType.SLIME
static EntityType<SmallFireballEntity>
EntityType.SMALL_FIREBALL
static EntityType<SnowGolemEntity>
EntityType.SNOW_GOLEM
static EntityType<SnowballEntity>
EntityType.SNOWBALL
static EntityType<SpawnerMinecartEntity>
EntityType.SPAWNER_MINECART
static EntityType<SpectralArrowEntity>
EntityType.SPECTRAL_ARROW
static EntityType<SpiderEntity>
EntityType.SPIDER
static EntityType<SquidEntity>
EntityType.SQUID
static EntityType<StrayEntity>
EntityType.STRAY
static EntityType<StriderEntity>
EntityType.STRIDER
static EntityType<TntEntity>
EntityType.TNT
static EntityType<TntMinecartEntity>
EntityType.TNT_MINECART
static EntityType<TraderLlamaEntity>
EntityType.TRADER_LLAMA
static EntityType<TridentEntity>
EntityType.TRIDENT
static EntityType<TropicalFishEntity>
EntityType.TROPICAL_FISH
static EntityType<TurtleEntity>
EntityType.TURTLE
private EntityType<?>
Entity.type
static EntityType<VexEntity>
EntityType.VEX
static EntityType<VillagerEntity>
EntityType.VILLAGER
static EntityType<VindicatorEntity>
EntityType.VINDICATOR
static EntityType<WanderingTraderEntity>
EntityType.WANDERING_TRADER
static EntityType<WitchEntity>
EntityType.WITCH
static EntityType<WitherEntity>
EntityType.WITHER
static EntityType<WitherSkeletonEntity>
EntityType.WITHER_SKELETON
static EntityType<WitherSkullEntity>
EntityType.WITHER_SKULL
static EntityType<WolfEntity>
EntityType.WOLF
static EntityType<ZoglinEntity>
EntityType.ZOGLIN
static EntityType<ZombieEntity>
EntityType.ZOMBIE
static EntityType<ZombieHorseEntity>
EntityType.ZOMBIE_HORSE
static EntityType<ZombieVillagerEntity>
EntityType.ZOMBIE_VILLAGER
static EntityType<ZombifiedPiglinEntity>
EntityType.ZOMBIFIED_PIGLIN
Modifier and TypeFieldDescriptionprivate static 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<?>>
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 ImmutableMap<EntityType<?>,Float>
VillagerHostilesSensor.SQUARED_DISTANCES_FOR_DANGER
-
Uses of EntityType in net.minecraft.entity.ai.brain.task
Modifier and TypeFieldDescriptionprivate EntityType<? extends T>
FindEntityTask.entityType
private EntityType<?>
FindInteractionTargetTask.entityType
private 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 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
ModifierConstructorDescriptionWitherEntity(EntityType<? extends WitherEntity> type, World world)
-
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
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)
static boolean
WaterCreatureEntity.canSpawnUnderground(EntityType<? extends LivingEntity> entityType, WorldAccess 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 Map<EntityType<?>,SoundEvent>
ParrotEntity.MOB_SOUNDS
Modifier and TypeMethodDescriptionstatic boolean
BatEntity.canSpawn(EntityType<BatEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
DolphinEntity.canSpawn(EntityType<DolphinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
FishEntity.canSpawn(EntityType<? extends FishEntity> type, 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
SquidEntity.canSpawn(EntityType<SquidEntity> type, 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)
boolean
IronGolemEntity.canTarget(EntityType<?> type)
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 lureLevel, int luckOfTheSeaLevel)
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 EntityType<? extends AbstractDecorationEntity>
DecorationItem.entityType
private EntityType<?>
EntityBucketItem.entityType
private EntityType<T>
OnAStickItem.target
private EntityType<?>
SpawnEggItem.type
Modifier and TypeFieldDescriptionprivate static 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 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(Tag<EntityType<?>> tag)
EntityPredicate.Builder.type(Tag<EntityType<?>> tag)
-
Uses of EntityType in net.minecraft.stat
Modifier and TypeFieldDescriptionstatic StatType<EntityType<?>>
Stats.KILLED
static StatType<EntityType<?>>
Stats.KILLED_BY
-
Uses of EntityType in net.minecraft.tag
Modifier and TypeFieldDescriptionstatic Tag.Identified<EntityType<?>>
EntityTypeTags.ARROWS
static Tag.Identified<EntityType<?>>
EntityTypeTags.AXOLOTL_ALWAYS_HOSTILES
static Tag.Identified<EntityType<?>>
EntityTypeTags.AXOLOTL_HUNT_TARGETS
static Tag.Identified<EntityType<?>>
EntityTypeTags.BEEHIVE_INHABITORS
static Tag.Identified<EntityType<?>>
EntityTypeTags.FREEZE_HURTS_EXTRA_TYPES
static Tag.Identified<EntityType<?>>
EntityTypeTags.FREEZE_IMMUNE_ENTITY_TYPES
static Tag.Identified<EntityType<?>>
EntityTypeTags.IMPACT_PROJECTILES
static Tag.Identified<EntityType<?>>
EntityTypeTags.POWDER_SNOW_WALKABLE_MOBS
static Tag.Identified<EntityType<?>>
EntityTypeTags.RAIDERS
protected static RequiredTagList<EntityType<?>>
EntityTypeTags.REQUIRED_TAGS
static Tag.Identified<EntityType<?>>
EntityTypeTags.SKELETONS
Modifier and TypeMethodDescriptionstatic TagGroup<EntityType<?>>
EntityTypeTags.getTagGroup()
private static Tag.Identified<EntityType<?>>
-
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.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.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.method_36015(BlockPos blockPos, EntityType<E> entityType, Function<E,T> function, T t)
void
TestContext.method_36037(EntityType<?> type, int x, int y, int z)
void
TestContext.method_36038(EntityType<?> type, BlockPos pos)
void
TestContext.method_36042(EntityType<?> type, int x, int y, int z)
void
TestContext.method_36043(EntityType<?> type, BlockPos pos)
<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 DefaultedRegistry<EntityType<?>>
Registry.ENTITY_TYPE
static RegistryKey<Registry<EntityType<?>>>
Registry.ENTITY_TYPE_KEY
-
Uses of EntityType in net.minecraft.village.raid
Modifier and TypeFieldDescription(package private) 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 Map<EntityType<?>,SpawnSettings.SpawnDensity>
SpawnSettings.Builder.spawnCosts
private 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 EntityType<?>[]
DungeonFeature.MOB_SPAWNER_ENTITIES
Modifier and TypeMethodDescriptionprivate EntityType<?>
DungeonFeature.getMobSpawnerEntity(Random random)