Uses of Class
net.minecraft.entity.EntityType
Packages that use EntityType
Package
Description
-
Uses of EntityType in net.minecraft.block
Fields in net.minecraft.block with type parameters of type EntityTypeModifier and TypeFieldDescription(package private) AbstractBlock.TypedContextPredicate<EntityType<?>> AbstractBlock.Settings.allowsSpawningPredicateMethods in net.minecraft.block with parameters of type EntityTypeModifier and TypeMethodDescriptionbooleanAbstractBlock.AbstractBlockState.allowsSpawning(BlockView world, BlockPos pos, EntityType<?> type) private static BooleanBlocks.always(BlockState state, BlockView world, BlockPos pos, EntityType<?> type) A shortcut to always returntruein a typed context predicate with anEntityType, used likesettings.allowSpawning(Blocks::always).private static BooleanBlocks.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, int[][] possibleOffsets, boolean ignoreInvalidPos) BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, Direction bedDirection, float spawnAngle) BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, Direction bedDirection, Direction respawnDirection) private static BooleanBlocks.never(BlockState state, BlockView world, BlockPos pos, EntityType<?> type) A shortcut to always returnfalsein a typed context predicate with anEntityType, used likesettings.allowSpawning(Blocks::never).Method parameters in net.minecraft.block with type arguments of type EntityTypeModifier 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.block.entity
Methods in net.minecraft.block.entity with parameters of type EntityTypeModifier and TypeMethodDescriptionvoidMobSpawnerBlockEntity.setEntityType(EntityType<?> type, Random random) voidSpawner.setEntityType(EntityType<?> type, Random random) voidTrialSpawnerBlockEntity.setEntityType(EntityType<?> type, Random random) -
Uses of EntityType in net.minecraft.block.spawner
Methods in net.minecraft.block.spawner with parameters of type EntityTypeModifier and TypeMethodDescriptionvoidMobSpawnerLogic.setEntityId(EntityType<?> type, @Nullable World world, Random random, BlockPos pos) voidTrialSpawnerData.setEntityType(TrialSpawnerLogic logic, Random random, EntityType<?> type) -
Uses of EntityType in net.minecraft.client.gui.screen
Constructors in net.minecraft.client.gui.screen with parameters of type EntityType -
Uses of EntityType in net.minecraft.client.render.entity
Fields in net.minecraft.client.render.entity with type parameters of type EntityTypeModifier and TypeFieldDescriptionprivate static final Map<EntityType<?>, EntityRendererFactory<?>> EntityRenderers.RENDERER_FACTORIESprivate Map<EntityType<?>, EntityRenderer<?>> EntityRenderDispatcher.renderersprivate static final Map<EntityType<?>, Identifier> DonkeyEntityRenderer.TEXTURESprivate static final Map<EntityType<?>, Identifier> PiglinEntityRenderer.TEXTURESprivate static final Map<EntityType<?>, Identifier> ZombieHorseEntityRenderer.TEXTURESMethods in net.minecraft.client.render.entity that return types with arguments of type EntityTypeModifier and TypeMethodDescriptionstatic Map<EntityType<?>, EntityRenderer<?>> EntityRenderers.reloadEntityRenderers(EntityRendererFactory.Context ctx) Methods in net.minecraft.client.render.entity with parameters of type EntityTypeModifier and TypeMethodDescriptionprivate static <T extends Entity>
voidEntityRenderers.register(EntityType<? extends T> type, EntityRendererFactory<T> factory) -
Uses of EntityType in net.minecraft.command
Fields in net.minecraft.command declared as EntityTypeMethods in net.minecraft.command with parameters of type EntityTypeModifier and TypeMethodDescriptionvoidEntitySelectorReader.setEntityType(EntityType<?> entityType) Constructors in net.minecraft.command with parameters of type EntityTypeModifierConstructorDescriptionEntitySelector(int count, boolean includesNonPlayers, boolean localWorldOnly, List<Predicate<Entity>> predicates, NumberRange.DoubleRange 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.command.argument
Methods in net.minecraft.command.argument that return types with arguments of type EntityTypeModifier and TypeMethodDescriptionstatic RegistryEntry.Reference<EntityType<?>> RegistryEntryReferenceArgumentType.getEntityType(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static RegistryEntry.Reference<EntityType<?>> RegistryEntryReferenceArgumentType.getSummonableEntityType(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) -
Uses of EntityType in net.minecraft.data.server.advancement.vanilla
Fields in net.minecraft.data.server.advancement.vanilla with type parameters of type EntityTypeModifier and TypeFieldDescriptionstatic final List<EntityType<?>> VanillaHusbandryTabAdvancementGenerator.BREEDABLE_ANIMALSstatic final List<EntityType<?>> VanillaHusbandryTabAdvancementGenerator.EGG_LAYING_ANIMALSprotected static final List<EntityType<?>> VanillaAdventureTabAdvancementGenerator.MONSTERSMethods in net.minecraft.data.server.advancement.vanilla with parameters of type EntityTypeModifier and TypeMethodDescriptionprivate static AdvancementCriterion<UsingItemCriterion.Conditions> VanillaAdventureTabAdvancementGenerator.createLookingAtEntityUsing(EntityType<?> entity, Item item) Method parameters in net.minecraft.data.server.advancement.vanilla with type arguments of type EntityTypeModifier and TypeMethodDescriptionstatic AdvancementEntryVanillaHusbandryTabAdvancementGenerator.createBreedAllAnimalsAdvancement(AdvancementEntry parent, Consumer<AdvancementEntry> exporter, Stream<EntityType<?>> breedableAnimals, Stream<EntityType<?>> eggLayingAnimals) static AdvancementEntryVanillaAdventureTabAdvancementGenerator.createKillMobAdvancements(AdvancementEntry parent, Consumer<AdvancementEntry> exporter, List<EntityType<?>> monsters) private static Advancement.BuilderVanillaHusbandryTabAdvancementGenerator.requireListedAnimalsBred(Advancement.Builder advancementBuilder, Stream<EntityType<?>> breedableAnimals, Stream<EntityType<?>> eggLayingAnimals) private static Advancement.BuilderVanillaAdventureTabAdvancementGenerator.requireListedMobsKilled(Advancement.Builder builder, List<EntityType<?>> entityTypes) -
Uses of EntityType in net.minecraft.data.server.loottable
Fields in net.minecraft.data.server.loottable with type parameters of type EntityTypeModifier and TypeFieldDescriptionprivate static final Set<EntityType<?>> EntityLootTableGenerator.ENTITY_TYPES_IN_MISC_GROUP_TO_CHECKprivate final Map<EntityType<?>, Map<RegistryKey<LootTable>, LootTable.Builder>> EntityLootTableGenerator.lootTablesMethods in net.minecraft.data.server.loottable with parameters of type EntityTypeModifier and TypeMethodDescriptionprotected voidEntityLootTableGenerator.register(EntityType<?> entityType, LootTable.Builder lootTable) protected voidEntityLootTableGenerator.register(EntityType<?> entityType, RegistryKey<LootTable> tableKey, LootTable.Builder lootTable) private static booleanEntityLootTableGenerator.shouldCheck(EntityType<?> entityType) -
Uses of EntityType in net.minecraft.enchantment.effect.entity
Fields in net.minecraft.enchantment.effect.entity with type parameters of type EntityTypeModifier and TypeFieldDescriptionprivate final RegistryEntryList<EntityType<?>> SummonEntityEnchantmentEffect.entityTypesThe field for theentityTypesrecord component.Methods in net.minecraft.enchantment.effect.entity that return types with arguments of type EntityTypeModifier and TypeMethodDescriptionSummonEntityEnchantmentEffect.entityTypes()Returns the value of theentityTypesrecord component.Constructor parameters in net.minecraft.enchantment.effect.entity with type arguments of type EntityTypeModifierConstructorDescriptionSummonEntityEnchantmentEffect(RegistryEntryList<EntityType<?>> registryEntryList, boolean bool) -
Uses of EntityType in net.minecraft.entity
Fields in net.minecraft.entity declared as EntityTypeModifier and TypeFieldDescriptionstatic final EntityType<AllayEntity> EntityType.ALLAYstatic final EntityType<AreaEffectCloudEntity> EntityType.AREA_EFFECT_CLOUDstatic final EntityType<ArmadilloEntity> EntityType.ARMADILLOstatic final EntityType<ArmorStandEntity> EntityType.ARMOR_STANDstatic final EntityType<ArrowEntity> EntityType.ARROWstatic final EntityType<AxolotlEntity> EntityType.AXOLOTLstatic final EntityType<BatEntity> EntityType.BATstatic final EntityType<BeeEntity> EntityType.BEEstatic final EntityType<BlazeEntity> EntityType.BLAZEstatic final EntityType<DisplayEntity.BlockDisplayEntity> EntityType.BLOCK_DISPLAYstatic final EntityType<BoatEntity> EntityType.BOATstatic final EntityType<BoggedEntity> EntityType.BOGGEDstatic final EntityType<BreezeEntity> EntityType.BREEZEstatic final EntityType<BreezeWindChargeEntity> EntityType.BREEZE_WIND_CHARGEstatic final EntityType<CamelEntity> EntityType.CAMELstatic final EntityType<CatEntity> EntityType.CATstatic final EntityType<CaveSpiderEntity> EntityType.CAVE_SPIDERstatic final EntityType<ChestBoatEntity> EntityType.CHEST_BOATstatic final EntityType<ChestMinecartEntity> EntityType.CHEST_MINECARTstatic final EntityType<ChickenEntity> EntityType.CHICKENstatic final EntityType<CodEntity> EntityType.CODstatic final EntityType<CommandBlockMinecartEntity> EntityType.COMMAND_BLOCK_MINECARTstatic final EntityType<CowEntity> EntityType.COWstatic final EntityType<CreeperEntity> EntityType.CREEPERstatic final EntityType<DolphinEntity> EntityType.DOLPHINstatic final EntityType<DonkeyEntity> EntityType.DONKEYstatic final EntityType<DragonFireballEntity> EntityType.DRAGON_FIREBALLstatic final EntityType<DrownedEntity> EntityType.DROWNEDstatic final EntityType<EggEntity> EntityType.EGGstatic final EntityType<ElderGuardianEntity> EntityType.ELDER_GUARDIANstatic final EntityType<EndCrystalEntity> EntityType.END_CRYSTALstatic final EntityType<EnderDragonEntity> EntityType.ENDER_DRAGONstatic final EntityType<EnderPearlEntity> EntityType.ENDER_PEARLstatic final EntityType<EndermanEntity> EntityType.ENDERMANstatic final EntityType<EndermiteEntity> EntityType.ENDERMITEstatic final EntityType<EvokerEntity> EntityType.EVOKERstatic final EntityType<EvokerFangsEntity> EntityType.EVOKER_FANGSstatic final EntityType<ExperienceBottleEntity> EntityType.EXPERIENCE_BOTTLEstatic final EntityType<ExperienceOrbEntity> EntityType.EXPERIENCE_ORBstatic final EntityType<EyeOfEnderEntity> EntityType.EYE_OF_ENDERstatic final EntityType<FallingBlockEntity> EntityType.FALLING_BLOCKstatic final EntityType<FireballEntity> EntityType.FIREBALLstatic final EntityType<FireworkRocketEntity> EntityType.FIREWORK_ROCKETstatic final EntityType<FishingBobberEntity> EntityType.FISHING_BOBBERstatic final EntityType<FoxEntity> EntityType.FOXstatic final EntityType<FrogEntity> EntityType.FROGstatic final EntityType<FurnaceMinecartEntity> EntityType.FURNACE_MINECARTstatic final EntityType<GhastEntity> EntityType.GHASTstatic final EntityType<GiantEntity> EntityType.GIANTstatic final EntityType<GlowItemFrameEntity> EntityType.GLOW_ITEM_FRAMEstatic final EntityType<GlowSquidEntity> EntityType.GLOW_SQUIDstatic final EntityType<GoatEntity> EntityType.GOATstatic final EntityType<GuardianEntity> EntityType.GUARDIANstatic final EntityType<HoglinEntity> EntityType.HOGLINstatic final EntityType<HopperMinecartEntity> EntityType.HOPPER_MINECARTstatic final EntityType<HorseEntity> EntityType.HORSEstatic final EntityType<HuskEntity> EntityType.HUSKstatic final EntityType<IllusionerEntity> EntityType.ILLUSIONERstatic final EntityType<InteractionEntity> EntityType.INTERACTIONstatic final EntityType<IronGolemEntity> EntityType.IRON_GOLEMstatic final EntityType<ItemEntity> EntityType.ITEMstatic final EntityType<DisplayEntity.ItemDisplayEntity> EntityType.ITEM_DISPLAYstatic final EntityType<ItemFrameEntity> EntityType.ITEM_FRAMEstatic final EntityType<LeashKnotEntity> EntityType.LEASH_KNOTstatic final EntityType<LightningEntity> EntityType.LIGHTNING_BOLTstatic final EntityType<LlamaEntity> EntityType.LLAMAstatic final EntityType<LlamaSpitEntity> EntityType.LLAMA_SPITstatic final EntityType<MagmaCubeEntity> EntityType.MAGMA_CUBEstatic final EntityType<MarkerEntity> EntityType.MARKERstatic final EntityType<MinecartEntity> EntityType.MINECARTstatic final EntityType<MooshroomEntity> EntityType.MOOSHROOMstatic final EntityType<MuleEntity> EntityType.MULEstatic final EntityType<OcelotEntity> EntityType.OCELOTstatic final EntityType<OminousItemSpawnerEntity> EntityType.OMINOUS_ITEM_SPAWNERstatic final EntityType<PaintingEntity> EntityType.PAINTINGstatic final EntityType<PandaEntity> EntityType.PANDAstatic final EntityType<ParrotEntity> EntityType.PARROTstatic final EntityType<PhantomEntity> EntityType.PHANTOMstatic final EntityType<PigEntity> EntityType.PIGstatic final EntityType<PiglinEntity> EntityType.PIGLINstatic final EntityType<PiglinBruteEntity> EntityType.PIGLIN_BRUTEstatic final EntityType<PillagerEntity> EntityType.PILLAGERstatic final EntityType<PlayerEntity> EntityType.PLAYERstatic final EntityType<PolarBearEntity> EntityType.POLAR_BEARstatic final EntityType<PotionEntity> EntityType.POTIONstatic final EntityType<PufferfishEntity> EntityType.PUFFERFISHstatic final EntityType<RabbitEntity> EntityType.RABBITstatic final EntityType<RavagerEntity> EntityType.RAVAGERstatic final EntityType<SalmonEntity> EntityType.SALMONstatic final EntityType<SheepEntity> EntityType.SHEEPstatic final EntityType<ShulkerEntity> EntityType.SHULKERstatic final EntityType<ShulkerBulletEntity> EntityType.SHULKER_BULLETstatic final EntityType<SilverfishEntity> EntityType.SILVERFISHstatic final EntityType<SkeletonEntity> EntityType.SKELETONstatic final EntityType<SkeletonHorseEntity> EntityType.SKELETON_HORSEstatic final EntityType<SlimeEntity> EntityType.SLIMEstatic final EntityType<SmallFireballEntity> EntityType.SMALL_FIREBALLstatic final EntityType<SnifferEntity> EntityType.SNIFFERstatic final EntityType<SnowGolemEntity> EntityType.SNOW_GOLEMstatic final EntityType<SnowballEntity> EntityType.SNOWBALLstatic final EntityType<SpawnerMinecartEntity> EntityType.SPAWNER_MINECARTstatic final EntityType<SpectralArrowEntity> EntityType.SPECTRAL_ARROWstatic final EntityType<SpiderEntity> EntityType.SPIDERstatic final EntityType<SquidEntity> EntityType.SQUIDstatic final EntityType<StrayEntity> EntityType.STRAYstatic final EntityType<StriderEntity> EntityType.STRIDERstatic final EntityType<TadpoleEntity> EntityType.TADPOLEstatic final EntityType<DisplayEntity.TextDisplayEntity> EntityType.TEXT_DISPLAYstatic final EntityType<TntEntity> EntityType.TNTstatic final EntityType<TntMinecartEntity> EntityType.TNT_MINECARTstatic final EntityType<TraderLlamaEntity> EntityType.TRADER_LLAMAstatic final EntityType<TridentEntity> EntityType.TRIDENTstatic final EntityType<TropicalFishEntity> EntityType.TROPICAL_FISHstatic final EntityType<TurtleEntity> EntityType.TURTLEprivate final EntityType<?> Entity.typestatic final EntityType<VexEntity> EntityType.VEXstatic final EntityType<VillagerEntity> EntityType.VILLAGERstatic final EntityType<VindicatorEntity> EntityType.VINDICATORstatic final EntityType<WanderingTraderEntity> EntityType.WANDERING_TRADERstatic final EntityType<WardenEntity> EntityType.WARDENstatic final EntityType<WindChargeEntity> EntityType.WIND_CHARGEstatic final EntityType<WitchEntity> EntityType.WITCHstatic final EntityType<WitherEntity> EntityType.WITHERstatic final EntityType<WitherSkeletonEntity> EntityType.WITHER_SKELETONstatic final EntityType<WitherSkullEntity> EntityType.WITHER_SKULLstatic final EntityType<WolfEntity> EntityType.WOLFstatic final EntityType<ZoglinEntity> EntityType.ZOGLINstatic final EntityType<ZombieEntity> EntityType.ZOMBIEstatic final EntityType<ZombieHorseEntity> EntityType.ZOMBIE_HORSEstatic final EntityType<ZombieVillagerEntity> EntityType.ZOMBIE_VILLAGERstatic final EntityType<ZombifiedPiglinEntity> EntityType.ZOMBIFIED_PIGLINFields in net.minecraft.entity with type parameters of type EntityTypeModifier and TypeFieldDescriptionprivate final RegistryEntry.Reference<EntityType<?>> EntityType.registryEntryprivate static final Map<EntityType<?>, SpawnRestriction.Entry> SpawnRestriction.RESTRICTIONSMethods in net.minecraft.entity that return EntityTypeModifier and TypeMethodDescriptionEntityType<?> Entity.getType()private static <T extends Entity>
EntityType<T> EntityType.register(String id, EntityType.Builder<T> type) Methods in net.minecraft.entity that return types with arguments of type EntityTypeModifier and TypeMethodDescriptionstatic Optional<EntityType<?>> EntityType.fromNbt(NbtCompound nbt) static Optional<EntityType<?>> EntityType.getRegistryEntry()Deprecated.Methods in net.minecraft.entity with parameters of type EntityTypeModifier and TypeMethodDescriptionstatic <T extends Entity>
booleanSpawnRestriction.canSpawn(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) booleanLivingEntity.canTarget(EntityType<?> type) EntityType.EntityFactory.create(EntityType<T> type, World world) Dismounting.findRespawnPos(EntityType<?> entityType, CollisionView world, BlockPos pos, boolean ignoreInvalidPos) static Heightmap.TypeSpawnRestriction.getHeightmapType(@Nullable EntityType<?> type) static IdentifierEntityType.getId(EntityType<?> type) static SpawnLocationSpawnRestriction.getLocation(EntityType<?> type) static booleanSpawnRestriction.isSpawnPosAllowed(EntityType<?> type, WorldView world, BlockPos pos) booleanSpawnLocation.isSpawnPositionOk(WorldView world, BlockPos pos, @Nullable EntityType<?> entityType) private static <T extends MobEntity>
voidSpawnRestriction.register(EntityType<T> type, SpawnLocation location, Heightmap.Type heightmapType, SpawnRestriction.SpawnPredicate<T> predicate) booleanSpawnRestriction.SpawnPredicate.test(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) LargeEntitySpawnHelper.trySpawnAt(EntityType<T> entityType, SpawnReason reason, ServerWorld world, BlockPos pos, int tries, int horizontalRange, int verticalRange, LargeEntitySpawnHelper.Requirements requirements) Method parameters in net.minecraft.entity with type arguments of type EntityTypeModifier and TypeMethodDescriptionbooleanEntityType.isIn(RegistryEntryList<EntityType<?>> entityTypeEntryList) booleanEntityType.isIn(TagKey<EntityType<?>> tag) Constructors in net.minecraft.entity with parameters of type EntityTypeModifierConstructorDescriptionAreaEffectCloudEntity(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) protectedLivingEntity(EntityType<? extends LivingEntity> type, World world) MarkerEntity(EntityType<?> type, World world) OminousItemSpawnerEntity(EntityType<? extends OminousItemSpawnerEntity> type, World world) TntEntity(EntityType<? extends TntEntity> type, World world) -
Uses of EntityType in net.minecraft.entity.ai.brain.sensor
Fields in net.minecraft.entity.ai.brain.sensor with type parameters of type EntityTypeModifier and TypeFieldDescriptionprivate static final ImmutableMap<EntityType<?>, Float> VillagerHostilesSensor.SQUARED_DISTANCES_FOR_DANGER -
Uses of EntityType in net.minecraft.entity.ai.brain.task
Fields in net.minecraft.entity.ai.brain.task declared as EntityTypeModifier and TypeFieldDescriptionprivate final EntityType<? extends AnimalEntity> BreedTask.targetTypeMethods in net.minecraft.entity.ai.brain.task with parameters of type EntityTypeModifier and TypeMethodDescriptionstatic booleanLookTargetUtil.canSee(Brain<?> brain, MemoryModuleType<? extends LivingEntity> memoryModuleType, EntityType<?> entityType) static <E extends LivingEntity,T extends LivingEntity>
Task<E> FindEntityTask.create(EntityType<? extends T> type, int maxDistance, Predicate<E> entityPredicate, Predicate<T> targetPredicate, MemoryModuleType<T> targetModule, float speed, int completionRange) static <T extends LivingEntity>
Task<LivingEntity> FindEntityTask.create(EntityType<? extends T> type, int maxDistance, MemoryModuleType<T> targetModule, float speed, int completionRange) static Task<LivingEntity> FindInteractionTargetTask.create(EntityType<?> type, int maxDistance) static SingleTickTask<LivingEntity> LookAtMobTask.create(EntityType<?> type, float maxDistance) static Task<LivingEntity> LookAtMobWithIntervalTask.follow(EntityType<?> type, float maxDistance, UniformIntProvider interval) Deprecated.Constructors in net.minecraft.entity.ai.brain.task with parameters of type EntityTypeModifierConstructorDescriptionBreedTask(EntityType<? extends AnimalEntity> targetType) BreedTask(EntityType<? extends AnimalEntity> targetType, float speed, int approachDistance) -
Uses of EntityType in net.minecraft.entity.attribute
Fields in net.minecraft.entity.attribute with type parameters of type EntityTypeModifier and TypeFieldDescriptionprivate static final Map<EntityType<? extends LivingEntity>, DefaultAttributeContainer> DefaultAttributeRegistry.DEFAULT_ATTRIBUTE_REGISTRYMethods in net.minecraft.entity.attribute with parameters of type EntityTypeModifier and TypeMethodDescriptionstatic DefaultAttributeContainerDefaultAttributeRegistry.get(EntityType<? extends LivingEntity> type) static booleanDefaultAttributeRegistry.hasDefinitionFor(EntityType<?> type) -
Uses of EntityType in net.minecraft.entity.boss
Constructors in net.minecraft.entity.boss with parameters of type EntityType -
Uses of EntityType in net.minecraft.entity.boss.dragon
Constructors in net.minecraft.entity.boss.dragon with parameters of type EntityTypeModifierConstructorDescriptionEnderDragonEntity(EntityType<? extends EnderDragonEntity> type, World world) -
Uses of EntityType in net.minecraft.entity.decoration
Constructors in net.minecraft.entity.decoration with parameters of type EntityTypeModifierConstructorDescriptionprotectedAbstractDecorationEntity(EntityType<? extends AbstractDecorationEntity> type, World world) protectedAbstractDecorationEntity(EntityType<? extends AbstractDecorationEntity> type, World world, BlockPos pos) ArmorStandEntity(EntityType<? extends ArmorStandEntity> type, World world) protectedBlockAttachedEntity(EntityType<? extends BlockAttachedEntity> type, World world) protectedBlockAttachedEntity(EntityType<? extends BlockAttachedEntity> type, World world, BlockPos attachedBlockPos) BlockDisplayEntity(EntityType<?> type, World world) DisplayEntity(EntityType<?> type, World world) EndCrystalEntity(EntityType<? extends EndCrystalEntity> type, World world) GlowItemFrameEntity(EntityType<? extends ItemFrameEntity> type, World world) InteractionEntity(EntityType<?> type, World world) ItemDisplayEntity(EntityType<?> 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) TextDisplayEntity(EntityType<?> type, World world) -
Uses of EntityType in net.minecraft.entity.decoration.painting
Constructors in net.minecraft.entity.decoration.painting with parameters of type EntityTypeModifierConstructorDescriptionPaintingEntity(EntityType<? extends PaintingEntity> type, World world) -
Uses of EntityType in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob that return EntityTypeMethods in net.minecraft.entity.mob with parameters of type EntityTypeModifier and TypeMethodDescriptionstatic booleanMagmaCubeEntity.canMagmaCubeSpawn(EntityType<MagmaCubeEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanMobEntity.canMobSpawn(EntityType<? extends MobEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanDrownedEntity.canSpawn(EntityType<DrownedEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanEndermiteEntity.canSpawn(EntityType<EndermiteEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanGhastEntity.canSpawn(EntityType<GhastEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanGuardianEntity.canSpawn(EntityType<? extends GuardianEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanHoglinEntity.canSpawn(EntityType<HoglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanHuskEntity.canSpawn(EntityType<HuskEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanPatrolEntity.canSpawn(EntityType<? extends PatrolEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanPiglinEntity.canSpawn(EntityType<PiglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanSilverfishEntity.canSpawn(EntityType<SilverfishEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanSkeletonHorseEntity.canSpawn(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) static booleanSlimeEntity.canSpawn(EntityType<SlimeEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanStrayEntity.canSpawn(EntityType<StrayEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanWaterCreatureEntity.canSpawn(EntityType<? extends WaterCreatureEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) static booleanZombieHorseEntity.canSpawn(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) static booleanZombifiedPiglinEntity.canSpawn(EntityType<ZombifiedPiglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanHostileEntity.canSpawnIgnoreLightLevel(EntityType<? extends HostileEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanHostileEntity.canSpawnInDark(EntityType<? extends HostileEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) booleanBreezeEntity.canTarget(EntityType<?> type) booleanMobEntity.canTarget(EntityType<?> type) booleanPhantomEntity.canTarget(EntityType<?> type) <T extends MobEntity>
TMobEntity.convertTo(EntityType<T> entityType, boolean keepEquipment) Converts this entity to the providedentityType.protected voidZombieEntity.convertTo(EntityType<? extends ZombieEntity> entityType) static booleanPiglinBrain.isZombified(EntityType<?> entityType) Constructors in net.minecraft.entity.mob with parameters of type EntityTypeModifierConstructorDescriptionAbstractPiglinEntity(EntityType<? extends AbstractPiglinEntity> type, World world) protectedAbstractSkeletonEntity(EntityType<? extends AbstractSkeletonEntity> type, World world) protectedAmbientEntity(EntityType<? extends AmbientEntity> type, World world) BlazeEntity(EntityType<? extends BlazeEntity> type, World world) BoggedEntity(EntityType<? extends BoggedEntity> type, World world) BreezeEntity(EntityType<? extends HostileEntity> 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) protectedFlyingEntity(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) protectedHostileEntity(EntityType<? extends HostileEntity> type, World world) HuskEntity(EntityType<? extends HuskEntity> type, World world) protectedIllagerEntity(EntityType<? extends IllagerEntity> type, World world) IllusionerEntity(EntityType<? extends IllusionerEntity> type, World world) MagmaCubeEntity(EntityType<? extends MagmaCubeEntity> type, World world) protectedMobEntity(EntityType<? extends MobEntity> type, World world) protectedPathAwareEntity(EntityType<? extends PathAwareEntity> type, World world) protectedPatrolEntity(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) protectedSpellcastingIllagerEntity(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) WardenEntity(EntityType<? extends HostileEntity> type, World world) protectedWaterCreatureEntity(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
Fields in net.minecraft.entity.passive with type parameters of type EntityTypeModifier and TypeFieldDescription(package private) static final Map<EntityType<?>, SoundEvent> ParrotEntity.MOB_SOUNDSMethods in net.minecraft.entity.passive with parameters of type EntityTypeModifier and TypeMethodDescriptionstatic booleanArmadilloEntity.canSpawn(EntityType<ArmadilloEntity> entityType, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanAxolotlEntity.canSpawn(EntityType<? extends LivingEntity> type, ServerWorldAccess world, SpawnReason reason, BlockPos pos, Random random) static booleanBatEntity.canSpawn(EntityType<BatEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanFoxEntity.canSpawn(EntityType<FoxEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanFrogEntity.canSpawn(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) static booleanGlowSquidEntity.canSpawn(EntityType<? extends LivingEntity> type, ServerWorldAccess world, SpawnReason reason, BlockPos pos, Random random) static booleanGoatEntity.canSpawn(EntityType<? extends AnimalEntity> entityType, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanMooshroomEntity.canSpawn(EntityType<MooshroomEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanOcelotEntity.canSpawn(EntityType<OcelotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanParrotEntity.canSpawn(EntityType<ParrotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanPolarBearEntity.canSpawn(EntityType<PolarBearEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanRabbitEntity.canSpawn(EntityType<RabbitEntity> entity, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanStriderEntity.canSpawn(EntityType<StriderEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanTurtleEntity.canSpawn(EntityType<TurtleEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanWolfEntity.canSpawn(EntityType<WolfEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) booleanIronGolemEntity.canTarget(EntityType<?> type) static booleanTropicalFishEntity.canTropicalFishSpawn(EntityType<TropicalFishEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) private static SoundEventParrotEntity.getSound(EntityType<?> imitate) static booleanAnimalEntity.isValidNaturalSpawn(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) Constructors in net.minecraft.entity.passive with parameters of type EntityTypeModifierConstructorDescriptionprotectedAbstractDonkeyEntity(EntityType<? extends AbstractDonkeyEntity> type, World world) protectedAbstractHorseEntity(EntityType<? extends AbstractHorseEntity> type, World world) AllayEntity(EntityType<? extends AllayEntity> type, World world) protectedAnimalEntity(EntityType<? extends AnimalEntity> type, World world) ArmadilloEntity(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) CamelEntity(EntityType<? extends CamelEntity> 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) FrogEntity(EntityType<? extends AnimalEntity> type, World world) GlowSquidEntity(EntityType<? extends GlowSquidEntity> type, World world) GoatEntity(EntityType<? extends GoatEntity> type, World world) protectedGolemEntity(EntityType<? extends GolemEntity> 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) protectedPassiveEntity(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) SnifferEntity(EntityType<? extends AnimalEntity> type, World world) SnowGolemEntity(EntityType<? extends SnowGolemEntity> type, World world) SquidEntity(EntityType<? extends SquidEntity> type, World world) StriderEntity(EntityType<? extends StriderEntity> type, World world) TadpoleEntity(EntityType<? extends FishEntity> type, World world) protectedTameableEntity(EntityType<? extends TameableEntity> type, World world) protectedTameableShoulderEntity(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
Constructors in net.minecraft.entity.projectile with parameters of type EntityTypeModifierConstructorDescriptionAbstractFireballEntity(EntityType<? extends AbstractFireballEntity> type, double x, double y, double z, Vec3d velocity, World world) AbstractFireballEntity(EntityType<? extends AbstractFireballEntity> type, LivingEntity owner, Vec3d velocity, World world) AbstractFireballEntity(EntityType<? extends AbstractFireballEntity> type, World world) (package private)AbstractWindChargeEntity(EntityType<? extends AbstractWindChargeEntity> type, double x, double y, double z, Vec3d velocity, World world) AbstractWindChargeEntity(EntityType<? extends AbstractWindChargeEntity> type, World world) AbstractWindChargeEntity(EntityType<? extends AbstractWindChargeEntity> type, World world, Entity owner, double x, double y, double z) ArrowEntity(EntityType<? extends ArrowEntity> type, World world) BreezeWindChargeEntity(EntityType<? extends AbstractWindChargeEntity> type, World world) DragonFireballEntity(EntityType<? extends DragonFireballEntity> type, World world) ExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, double x, double y, double z, Vec3d velocity, World world) protectedExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, double x, double y, double z, World world) ExplosiveProjectileEntity(EntityType<? extends ExplosiveProjectileEntity> type, LivingEntity owner, Vec3d velocity, World world) protectedExplosiveProjectileEntity(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) privateFishingBobberEntity(EntityType<? extends FishingBobberEntity> type, World world, int luckBonus, int waitTimeReductionTicks) LlamaSpitEntity(EntityType<? extends LlamaSpitEntity> type, World world) protectedPersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, double x, double y, double z, World world, ItemStack stack, @Nullable ItemStack weapon) protectedPersistentProjectileEntity(EntityType<? extends PersistentProjectileEntity> type, LivingEntity owner, World world, ItemStack stack, @Nullable ItemStack shotFrom) protectedPersistentProjectileEntity(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) WindChargeEntity(EntityType<? extends AbstractWindChargeEntity> type, World world) WitherSkullEntity(EntityType<? extends WitherSkullEntity> type, World world) -
Uses of EntityType in net.minecraft.entity.projectile.thrown
Constructors in net.minecraft.entity.projectile.thrown with parameters of type EntityTypeModifierConstructorDescriptionEggEntity(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) protectedThrownEntity(EntityType<? extends ThrownEntity> type, double x, double y, double z, World world) protectedThrownEntity(EntityType<? extends ThrownEntity> type, LivingEntity owner, World world) protectedThrownEntity(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
Constructors in net.minecraft.entity.raid with parameters of type EntityTypeModifierConstructorDescriptionprotectedRaiderEntity(EntityType<? extends RaiderEntity> type, World world) -
Uses of EntityType in net.minecraft.entity.vehicle
Constructors in net.minecraft.entity.vehicle with parameters of type EntityTypeModifierConstructorDescriptionprotectedAbstractMinecartEntity(EntityType<?> type, World world) protectedAbstractMinecartEntity(EntityType<?> type, World world, double x, double y, double z) BoatEntity(EntityType<? extends BoatEntity> type, World world) ChestBoatEntity(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) protectedStorageMinecartEntity(EntityType<?> type, double x, double y, double z, World world) protectedStorageMinecartEntity(EntityType<?> type, World world) TntMinecartEntity(EntityType<? extends TntMinecartEntity> type, World world) VehicleEntity(EntityType<?> type, World world) -
Uses of EntityType in net.minecraft.item
Fields in net.minecraft.item declared as EntityTypeModifier and TypeFieldDescriptionprivate final EntityType<? extends AbstractDecorationEntity> DecorationItem.entityTypeprivate final EntityType<?> EntityBucketItem.entityTypeprivate final EntityType<T> OnAStickItem.targetprivate final EntityType<?> SpawnEggItem.typeFields in net.minecraft.item with type parameters of type EntityTypeModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.MapCodec<EntityType<?>> SpawnEggItem.ENTITY_TYPE_MAP_CODECprivate static final Map<EntityType<? extends MobEntity>, SpawnEggItem> SpawnEggItem.SPAWN_EGGSMethods in net.minecraft.item that return EntityTypeMethods in net.minecraft.item with parameters of type EntityTypeModifier and TypeMethodDescriptionstatic @Nullable SpawnEggItemSpawnEggItem.forEntity(@Nullable EntityType<?> type) booleanSpawnEggItem.isOfSameEntityType(ItemStack stack, EntityType<?> type) SpawnEggItem.spawnBaby(PlayerEntity user, MobEntity entity, EntityType<? extends MobEntity> entityType, ServerWorld world, Vec3d pos, ItemStack stack) Constructors in net.minecraft.item with parameters of type EntityTypeModifierConstructorDescriptionDecorationItem(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
Fields in net.minecraft.network.packet.s2c.play declared as EntityTypeMethods in net.minecraft.network.packet.s2c.play that return EntityTypeConstructors in net.minecraft.network.packet.s2c.play with parameters of type EntityTypeModifierConstructorDescriptionEntitySpawnS2CPacket(int id, UUID uuid, double x, double y, double z, float pitch, float yaw, EntityType<?> entityType, int entityData, Vec3d velocity, double headYaw) -
Uses of EntityType in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type EntityTypeModifier and TypeFieldDescriptionprivate final RegistryEntryList<EntityType<?>> EntityTypePredicate.typesThe field for thetypesrecord component.Methods in net.minecraft.predicate.entity that return types with arguments of type EntityTypeModifier and TypeMethodDescriptionEntityTypePredicate.types()Returns the value of thetypesrecord component.Methods in net.minecraft.predicate.entity with parameters of type EntityTypeModifier and TypeMethodDescriptionstatic EntityTypePredicateEntityTypePredicate.create(EntityType<?> type) booleanEntityTypePredicate.matches(EntityType<?> type) EntityPredicate.Builder.type(EntityType<?> type) Method parameters in net.minecraft.predicate.entity with type arguments of type EntityTypeModifier and TypeMethodDescriptionstatic EntityTypePredicateEntityTypePredicate.create(TagKey<EntityType<?>> tag) EntityPredicate.Builder.type(TagKey<EntityType<?>> tag) Constructor parameters in net.minecraft.predicate.entity with type arguments of type EntityTypeModifierConstructorDescriptionEntityTypePredicate(RegistryEntryList<EntityType<?>> registryEntryList) -
Uses of EntityType in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type EntityTypeModifier and TypeFieldDescriptionstatic final DefaultedRegistry<EntityType<?>> Registries.ENTITY_TYPEstatic final RegistryKey<Registry<EntityType<?>>> RegistryKeys.ENTITY_TYPE -
Uses of EntityType in net.minecraft.registry.tag
Fields in net.minecraft.registry.tag with type parameters of type EntityTypeModifier and TypeFieldDescriptionstatic final TagKey<EntityType<?>> EntityTypeTags.AQUATICstatic final TagKey<EntityType<?>> EntityTypeTags.ARROWSstatic final TagKey<EntityType<?>> EntityTypeTags.ARTHROPODstatic final TagKey<EntityType<?>> EntityTypeTags.AXOLOTL_ALWAYS_HOSTILESstatic final TagKey<EntityType<?>> EntityTypeTags.AXOLOTL_HUNT_TARGETSstatic final TagKey<EntityType<?>> EntityTypeTags.BEEHIVE_INHABITORSstatic final TagKey<EntityType<?>> EntityTypeTags.CAN_BREATHE_UNDER_WATERstatic final TagKey<EntityType<?>> EntityTypeTags.CAN_TURN_IN_BOATSstatic final TagKey<EntityType<?>> EntityTypeTags.DEFLECTS_PROJECTILESstatic final TagKey<EntityType<?>> EntityTypeTags.DISMOUNTS_UNDERWATERstatic final TagKey<EntityType<?>> EntityTypeTags.FALL_DAMAGE_IMMUNEstatic final TagKey<EntityType<?>> EntityTypeTags.FREEZE_HURTS_EXTRA_TYPESstatic final TagKey<EntityType<?>> EntityTypeTags.FREEZE_IMMUNE_ENTITY_TYPESstatic final TagKey<EntityType<?>> EntityTypeTags.FROG_FOODstatic final TagKey<EntityType<?>> EntityTypeTags.IGNORES_POISON_AND_REGENstatic final TagKey<EntityType<?>> EntityTypeTags.ILLAGERstatic final TagKey<EntityType<?>> EntityTypeTags.ILLAGER_FRIENDSstatic final TagKey<EntityType<?>> EntityTypeTags.IMMUNE_TO_INFESTEDstatic final TagKey<EntityType<?>> EntityTypeTags.IMMUNE_TO_OOZINGstatic final TagKey<EntityType<?>> EntityTypeTags.IMPACT_PROJECTILESstatic final TagKey<EntityType<?>> EntityTypeTags.INVERTED_HEALING_AND_HARMstatic final TagKey<EntityType<?>> EntityTypeTags.NO_ANGER_FROM_WIND_CHARGEstatic final TagKey<EntityType<?>> EntityTypeTags.NON_CONTROLLING_RIDERstatic final TagKey<EntityType<?>> EntityTypeTags.NOT_SCARY_FOR_PUFFERFISHstatic final TagKey<EntityType<?>> EntityTypeTags.POWDER_SNOW_WALKABLE_MOBSstatic final TagKey<EntityType<?>> EntityTypeTags.RAIDERSstatic final TagKey<EntityType<?>> EntityTypeTags.REDIRECTABLE_PROJECTILEstatic final TagKey<EntityType<?>> EntityTypeTags.SENSITIVE_TO_BANE_OF_ARTHROPODSstatic final TagKey<EntityType<?>> EntityTypeTags.SENSITIVE_TO_IMPALINGstatic final TagKey<EntityType<?>> EntityTypeTags.SENSITIVE_TO_SMITEstatic final TagKey<EntityType<?>> EntityTypeTags.SKELETONSstatic final TagKey<EntityType<?>> EntityTypeTags.UNDEADstatic final TagKey<EntityType<?>> EntityTypeTags.WITHER_FRIENDSstatic final TagKey<EntityType<?>> EntityTypeTags.ZOMBIESMethods in net.minecraft.registry.tag that return types with arguments of type EntityType -
Uses of EntityType in net.minecraft.server.command
Method parameters in net.minecraft.server.command with type arguments of type EntityTypeModifier and TypeMethodDescriptionprivate static intSummonCommand.execute(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType, Vec3d pos, NbtCompound nbt, boolean initialize) private static ServerCommandSourceExecuteCommand.summon(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType) static EntitySummonCommand.summon(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType, Vec3d pos, NbtCompound nbt, boolean initialize) -
Uses of EntityType in net.minecraft.stat
Fields in net.minecraft.stat with type parameters of type EntityTypeModifier and TypeFieldDescriptionstatic final StatType<EntityType<?>> Stats.KILLEDstatic final StatType<EntityType<?>> Stats.KILLED_BY -
Uses of EntityType in net.minecraft.test
Methods in net.minecraft.test with parameters of type EntityTypeModifier and TypeMethodDescriptionvoidTestContext.dontExpectEntity(EntityType<?> type) voidTestContext.dontExpectEntityAt(EntityType<?> type, int x, int y, int z) voidTestContext.dontExpectEntityAt(EntityType<?> type, BlockPos pos) voidTestContext.dontExpectEntityAtEnd(EntityType<?> type, int x, int y, int z) voidTestContext.dontExpectEntityAtEnd(EntityType<?> type, BlockPos pos) voidTestContext.dontExpectEntityBetween(EntityType<?> type, Vec3d pos1, Vec3d pos2) voidTestContext.dontExpectEntityToTouch(EntityType<?> type, double x, double y, double z) voidTestContext.expectEntities(EntityType<?> type, int amount) voidTestContext.expectEntitiesAround(EntityType<?> type, BlockPos pos, int amount, double radius) voidTestContext.expectEntity(EntityType<?> type) <E extends Entity>
ETestContext.expectEntity(EntityType<E> type, int x, int y, int z, double margin) voidTestContext.expectEntityAround(EntityType<?> type, BlockPos pos, double radius) voidTestContext.expectEntityAt(EntityType<?> type, int x, int y, int z) voidTestContext.expectEntityAt(EntityType<?> type, BlockPos pos) voidTestContext.expectEntityAtEnd(EntityType<?> type, int x, int y, int z) voidTestContext.expectEntityAtEnd(EntityType<?> type, BlockPos pos) <E extends Entity>
ETestContext.expectEntityAtOrigin(EntityType<E> type) <E extends LivingEntity>
voidTestContext.expectEntityHoldingItem(BlockPos pos, EntityType<E> entityType, Item item) voidTestContext.expectEntityInside(EntityType<?> type, Vec3d pos1, Vec3d pos2) voidTestContext.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 & InventoryOwner>
voidTestContext.expectEntityWithItem(BlockPos pos, EntityType<E> entityType, Item item) TestContext.getEntities(EntityType<T> type) TestContext.getEntitiesAround(EntityType<E> type, int x, int y, int z, double margin) TestContext.getEntitiesAround(EntityType<E> type, Vec3d pos, double margin) TestContext.getEntitiesAround(EntityType<T> type, BlockPos pos, double radius) <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
Fields in net.minecraft.text declared as EntityTypeConstructors in net.minecraft.text with parameters of type EntityTypeModifierConstructorDescriptionEntityContent(EntityType<?> entityType, UUID uuid, Optional<Text> name) EntityContent(EntityType<?> entityType, UUID uuid, @Nullable Text name) -
Uses of EntityType in net.minecraft.village.raid
Fields in net.minecraft.village.raid declared as EntityTypeModifier and TypeFieldDescription(package private) final EntityType<? extends RaiderEntity> Raid.Member.typeConstructors in net.minecraft.village.raid with parameters of type EntityTypeModifierConstructorDescriptionprivateMember(EntityType<? extends RaiderEntity> type, int[] countInWave) -
Uses of EntityType in net.minecraft.world
Fields in net.minecraft.world declared as EntityTypeModifier and TypeFieldDescriptionprivate @Nullable EntityType<?> SpawnHelper.Info.cachedEntityTypeMethods in net.minecraft.world with parameters of type EntityTypeModifier and TypeMethodDescriptionSpawnHelper.createMob(ServerWorld world, EntityType<?> type) private static BlockPosSpawnHelper.getEntitySpawnPos(WorldView world, EntityType<?> entityType, int x, int z) static booleanSpawnHelper.isClearForSpawn(BlockView blockView, BlockPos pos, BlockState state, FluidState fluidState, EntityType<?> entityType) booleanSpawnHelper.Checker.test(EntityType<?> type, BlockPos pos, Chunk chunk) private booleanSpawnHelper.Info.test(EntityType<?> type, BlockPos pos, Chunk chunk) -
Uses of EntityType in net.minecraft.world.biome
Fields in net.minecraft.world.biome declared as EntityTypeFields in net.minecraft.world.biome with type parameters of type EntityTypeModifier and TypeFieldDescriptionprivate final Map<EntityType<?>, SpawnSettings.SpawnDensity> SpawnSettings.Builder.spawnCostsprivate final Map<EntityType<?>, SpawnSettings.SpawnDensity> SpawnSettings.spawnCostsMethods in net.minecraft.world.biome with parameters of type EntityTypeModifier and TypeMethodDescriptionSpawnSettings.getSpawnDensity(EntityType<?> entityType) SpawnSettings.Builder.spawnCost(EntityType<?> entityType, double mass, double gravityLimit) Constructors in net.minecraft.world.biome with parameters of type EntityTypeModifierConstructorDescriptionSpawnEntry(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
Fields in net.minecraft.world.gen.feature declared as EntityTypeModifier and TypeFieldDescriptionprivate static final EntityType<?>[]DungeonFeature.MOB_SPAWNER_ENTITIESMethods in net.minecraft.world.gen.feature that return EntityTypeModifier and TypeMethodDescriptionprivate EntityType<?> DungeonFeature.getMobSpawnerEntity(Random random)