Uses of Class
net.minecraft.world.entity.EntityType
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of EntityType in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate final HolderSet<EntityType<?>>
EntityTypePredicate.types
The field for thetypes
record component.Modifier and TypeMethodDescriptionHolderSet<EntityType<?>>
EntityTypePredicate.types()
Returns the value of thetypes
record component.Modifier and TypeMethodDescriptionboolean
EntityTypePredicate.matches
(EntityType<?> p_37642_) EntityPredicate.Builder.of
(EntityType<?> p_36637_) static EntityTypePredicate
EntityTypePredicate.of
(EntityType<?> p_37648_) Modifier and TypeMethodDescriptionEntityPredicate.Builder.of
(TagKey<EntityType<?>> p_204078_) static EntityTypePredicate
EntityTypePredicate.of
(TagKey<EntityType<?>> p_204082_) ModifierConstructorDescriptionEntityTypePredicate
(HolderSet<EntityType<?>> types) Creates an instance of aEntityTypePredicate
record class. -
Uses of EntityType in net.minecraft.client.gui.screens.achievement
-
Uses of EntityType in net.minecraft.client.renderer.entity
Modifier and TypeFieldDescriptionprivate static final Map<EntityType<?>,
ResourceLocation> ChestedHorseRenderer.MAP
private static final Map<EntityType<?>,
ResourceLocation> UndeadHorseRenderer.MAP
private static final Map<EntityType<?>,
EntityRendererProvider<?>> EntityRenderers.PROVIDERS
Map<EntityType<?>,
EntityRenderer<?>> EntityRenderDispatcher.renderers
private static final Map<EntityType<?>,
ResourceLocation> PiglinRenderer.TEXTURES
Modifier and TypeMethodDescriptionstatic Map<EntityType<?>,
EntityRenderer<?>> EntityRenderers.createEntityRenderers
(EntityRendererProvider.Context p_174050_) Modifier and TypeMethodDescriptionstatic <T extends Entity>
voidEntityRenderers.register
(EntityType<? extends T> p_174037_, EntityRendererProvider<T> p_174038_) -
Uses of EntityType in net.minecraft.commands.arguments
Modifier and TypeMethodDescriptionstatic Holder.Reference<EntityType<?>>
ResourceArgument.getEntityType
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_251258_, String p_252322_) static Holder.Reference<EntityType<?>>
ResourceArgument.getSummonableEntityType
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_251880_, String p_250243_) -
Uses of EntityType in net.minecraft.commands.arguments.selector
ModifierConstructorDescriptionEntitySelector
(int p_121125_, boolean p_121126_, boolean p_121127_, Predicate<Entity> p_121128_, MinMaxBounds.Doubles p_121129_, Function<Vec3, Vec3> p_121130_, AABB p_121131_, BiConsumer<Vec3, List<? extends Entity>> p_121132_, boolean p_121133_, String p_121134_, UUID p_121135_, EntityType<?> p_121136_, boolean p_121137_) -
Uses of EntityType in net.minecraft.core.dispenser
Modifier and TypeMethodDescriptionstatic Vec3
DispenseItemBehavior.getEntityPokingOutOfBlockPos
(BlockSource p_301823_, EntityType<?> p_301844_, Direction p_301805_) -
Uses of EntityType in net.minecraft.core.registries
Modifier and TypeFieldDescriptionstatic final DefaultedRegistry<EntityType<?>>
BuiltInRegistries.ENTITY_TYPE
Deprecated.static final ResourceKey<Registry<EntityType<?>>>
Registries.ENTITY_TYPE
-
Uses of EntityType in net.minecraft.data.advancements.packs
Modifier and TypeFieldDescriptionprivate static final EntityType<?>[]
VanillaAdventureAdvancements.MOBS_TO_KILL
Modifier and TypeFieldDescriptionstatic final List<EntityType<?>>
VanillaHusbandryAdvancements.BREEDABLE_ANIMALS
static final List<EntityType<?>>
VanillaHusbandryAdvancements.INDIRECTLY_BREEDABLE_ANIMALS
Modifier and TypeMethodDescriptionprivate static Criterion<UsingItemTrigger.TriggerInstance>
VanillaAdventureAdvancements.lookAtThroughItem
(EntityType<?> p_249703_, Item p_250746_) Modifier and TypeMethodDescriptionprivate static Advancement.Builder
VanillaHusbandryAdvancements.addBreedable
(Advancement.Builder p_266978_, Stream<EntityType<?>> p_267147_, Stream<EntityType<?>> p_267091_) static AdvancementHolder
VanillaHusbandryAdvancements.createBreedAllAnimalsAdvancement
(AdvancementHolder p_301269_, Consumer<AdvancementHolder> p_266923_, Stream<EntityType<?>> p_266961_, Stream<EntityType<?>> p_266751_) -
Uses of EntityType in net.minecraft.data.loot
Modifier and TypeFieldDescriptionprivate final Map<EntityType<?>,
Map<ResourceLocation, LootTable.Builder>> EntityLootSubProvider.map
private static final Set<EntityType<?>>
EntityLootSubProvider.SPECIAL_LOOT_TABLE_TYPES
Modifier and TypeMethodDescriptionprotected Stream<EntityType<?>>
EntityLootSubProvider.getKnownEntityTypes()
Modifier and TypeMethodDescriptionprotected void
EntityLootSubProvider.add
(EntityType<?> p_252130_, ResourceLocation p_251706_, LootTable.Builder p_249357_) protected void
EntityLootSubProvider.add
(EntityType<?> p_248740_, LootTable.Builder p_249440_) protected boolean
EntityLootSubProvider.canHaveLootTable
(EntityType<?> p_249029_) -
Uses of EntityType in net.minecraft.gametest.framework
Modifier and TypeMethodDescriptionvoid
GameTestHelper.assertEntitiesPresent
(EntityType<?> p_239372_, BlockPos p_239373_, int p_239374_, double p_239375_) <E extends Entity,
T>
voidGameTestHelper.assertEntityData
(BlockPos p_177238_, EntityType<E> p_177239_, Function<? super E, T> p_177240_, T p_177241_) <E extends Entity & InventoryCarrier>
voidGameTestHelper.assertEntityInventoryContains
(BlockPos p_263495_, EntityType<E> p_263521_, Item p_263502_) <E extends LivingEntity>
voidGameTestHelper.assertEntityIsHolding
(BlockPos p_263501_, EntityType<E> p_263510_, Item p_263517_) void
GameTestHelper.assertEntityNotPresent
(EntityType<?> p_177310_) void
GameTestHelper.assertEntityNotPresent
(EntityType<?> p_177398_, int p_177399_, int p_177400_, int p_177401_) void
GameTestHelper.assertEntityNotPresent
(EntityType<?> p_177403_, BlockPos p_177404_) void
GameTestHelper.assertEntityNotTouching
(EntityType<?> p_177312_, double p_177313_, double p_177314_, double p_177315_) void
GameTestHelper.assertEntityPresent
(EntityType<?> p_177157_) void
GameTestHelper.assertEntityPresent
(EntityType<?> p_177370_, int p_177371_, int p_177372_, int p_177373_) void
GameTestHelper.assertEntityPresent
(EntityType<?> p_177375_, BlockPos p_177376_) void
GameTestHelper.assertEntityPresent
(EntityType<?> p_177180_, BlockPos p_177181_, double p_177182_) void
GameTestHelper.assertEntityPresent
(EntityType<?> p_252010_, Vec3 p_249488_, Vec3 p_251186_) void
GameTestHelper.assertEntityTouching
(EntityType<?> p_177159_, double p_177160_, double p_177161_, double p_177162_) GameTestHelper.getEntities
(EntityType<T> p_238400_, BlockPos p_238401_, double p_238402_) <E extends Entity>
EGameTestHelper.spawn
(EntityType<E> p_177164_, float p_177165_, float p_177166_, float p_177167_) <E extends Entity>
EGameTestHelper.spawn
(EntityType<E> p_177169_, int p_177170_, int p_177171_, int p_177172_) <E extends Entity>
EGameTestHelper.spawn
(EntityType<E> p_177177_, BlockPos p_177178_) <E extends Entity>
EGameTestHelper.spawn
(EntityType<E> p_177174_, Vec3 p_177175_) <E extends Mob>
EGameTestHelper.spawnWithNoFreeWill
(EntityType<E> p_177317_, float p_177318_, float p_177319_, float p_177320_) <E extends Mob>
EGameTestHelper.spawnWithNoFreeWill
(EntityType<E> p_177322_, int p_177323_, int p_177324_, int p_177325_) <E extends Mob>
EGameTestHelper.spawnWithNoFreeWill
(EntityType<E> p_177330_, BlockPos p_177331_) <E extends Mob>
EGameTestHelper.spawnWithNoFreeWill
(EntityType<E> p_177327_, Vec3 p_177328_) <E extends Entity,
T>
voidGameTestHelper.succeedWhenEntityData
(BlockPos p_177350_, EntityType<E> p_177351_, Function<E, T> p_177352_, T p_177353_) void
GameTestHelper.succeedWhenEntityNotPresent
(EntityType<?> p_177427_, int p_177428_, int p_177429_, int p_177430_) void
GameTestHelper.succeedWhenEntityNotPresent
(EntityType<?> p_177432_, BlockPos p_177433_) void
GameTestHelper.succeedWhenEntityPresent
(EntityType<?> p_177414_, int p_177415_, int p_177416_, int p_177417_) void
GameTestHelper.succeedWhenEntityPresent
(EntityType<?> p_177419_, BlockPos p_177420_) -
Uses of EntityType in net.minecraft.network.chat
ModifierConstructorDescriptionEntityTooltipInfo
(EntityType<?> p_130876_, UUID p_130877_, Component p_130878_) -
Uses of EntityType in net.minecraft.network.protocol.game
ModifierConstructorDescriptionClientboundAddEntityPacket
(int p_237546_, UUID p_237547_, double p_237548_, double p_237549_, double p_237550_, float p_237551_, float p_237552_, EntityType<?> p_237553_, int p_237554_, Vec3 p_237555_, double p_237556_) -
Uses of EntityType in net.minecraft.server.commands
Modifier and TypeMethodDescriptionstatic Entity
SummonCommand.createEntity
(CommandSourceStack p_270582_, Holder.Reference<EntityType<?>> p_270277_, Vec3 p_270366_, CompoundTag p_270197_, boolean p_270947_) private static int
SummonCommand.spawnEntity
(CommandSourceStack p_249752_, Holder.Reference<EntityType<?>> p_251948_, Vec3 p_251429_, CompoundTag p_250568_, boolean p_250229_) private static CommandSourceStack
ExecuteCommand.spawnEntityAndRedirect
(CommandSourceStack p_270320_, Holder.Reference<EntityType<?>> p_270344_) -
Uses of EntityType in net.minecraft.stats
Modifier and TypeFieldDescriptionstatic final StatType<EntityType<?>>
Stats.ENTITY_KILLED
static final StatType<EntityType<?>>
Stats.ENTITY_KILLED_BY
-
Uses of EntityType in net.minecraft.tags
Modifier and TypeFieldDescriptionstatic final TagKey<EntityType<?>>
EntityTypeTags.ARROWS
static final TagKey<EntityType<?>>
EntityTypeTags.AXOLOTL_ALWAYS_HOSTILES
static final TagKey<EntityType<?>>
EntityTypeTags.AXOLOTL_HUNT_TARGETS
static final TagKey<EntityType<?>>
EntityTypeTags.BEEHIVE_INHABITORS
static final TagKey<EntityType<?>>
EntityTypeTags.DISMOUNTS_UNDERWATER
static final TagKey<EntityType<?>>
EntityTypeTags.FALL_DAMAGE_IMMUNE
static final TagKey<EntityType<?>>
EntityTypeTags.FREEZE_HURTS_EXTRA_TYPES
static final TagKey<EntityType<?>>
EntityTypeTags.FREEZE_IMMUNE_ENTITY_TYPES
static final TagKey<EntityType<?>>
EntityTypeTags.FROG_FOOD
static final TagKey<EntityType<?>>
EntityTypeTags.IMPACT_PROJECTILES
static final TagKey<EntityType<?>>
EntityTypeTags.NON_CONTROLLING_RIDER
static final TagKey<EntityType<?>>
EntityTypeTags.POWDER_SNOW_WALKABLE_MOBS
static final TagKey<EntityType<?>>
EntityTypeTags.RAIDERS
static final TagKey<EntityType<?>>
EntityTypeTags.SKELETONS
-
Uses of EntityType in net.minecraft.util
Modifier and TypeMethodDescriptionSpawnUtil.trySpawnMob
(EntityType<T> p_216404_, MobSpawnType p_216405_, ServerLevel p_216406_, BlockPos p_216407_, int p_216408_, int p_216409_, int p_216410_, SpawnUtil.Strategy p_216411_) -
Uses of EntityType in net.minecraft.world.entity
Modifier and TypeFieldDescriptionstatic final EntityType<Allay>
EntityType.ALLAY
static final EntityType<AreaEffectCloud>
EntityType.AREA_EFFECT_CLOUD
static final EntityType<ArmorStand>
EntityType.ARMOR_STAND
static final EntityType<Arrow>
EntityType.ARROW
static final EntityType<Axolotl>
EntityType.AXOLOTL
static final EntityType<Bat>
EntityType.BAT
static final EntityType<Bee>
EntityType.BEE
static final EntityType<Blaze>
EntityType.BLAZE
static final EntityType<Display.BlockDisplay>
EntityType.BLOCK_DISPLAY
static final EntityType<Boat>
EntityType.BOAT
static final EntityType<Camel>
EntityType.CAMEL
static final EntityType<Cat>
EntityType.CAT
static final EntityType<CaveSpider>
EntityType.CAVE_SPIDER
static final EntityType<ChestBoat>
EntityType.CHEST_BOAT
static final EntityType<MinecartChest>
EntityType.CHEST_MINECART
static final EntityType<Chicken>
EntityType.CHICKEN
static final EntityType<Cod>
EntityType.COD
static final EntityType<MinecartCommandBlock>
EntityType.COMMAND_BLOCK_MINECART
static final EntityType<Cow>
EntityType.COW
static final EntityType<Creeper>
EntityType.CREEPER
static final EntityType<Dolphin>
EntityType.DOLPHIN
static final EntityType<Donkey>
EntityType.DONKEY
static final EntityType<DragonFireball>
EntityType.DRAGON_FIREBALL
static final EntityType<Drowned>
EntityType.DROWNED
static final EntityType<ThrownEgg>
EntityType.EGG
static final EntityType<ElderGuardian>
EntityType.ELDER_GUARDIAN
static final EntityType<EndCrystal>
EntityType.END_CRYSTAL
static final EntityType<EnderDragon>
EntityType.ENDER_DRAGON
static final EntityType<ThrownEnderpearl>
EntityType.ENDER_PEARL
static final EntityType<EnderMan>
EntityType.ENDERMAN
static final EntityType<Endermite>
EntityType.ENDERMITE
static final EntityType<Evoker>
EntityType.EVOKER
static final EntityType<EvokerFangs>
EntityType.EVOKER_FANGS
static final EntityType<ThrownExperienceBottle>
EntityType.EXPERIENCE_BOTTLE
static final EntityType<ExperienceOrb>
EntityType.EXPERIENCE_ORB
static final EntityType<EyeOfEnder>
EntityType.EYE_OF_ENDER
static final EntityType<FallingBlockEntity>
EntityType.FALLING_BLOCK
static final EntityType<LargeFireball>
EntityType.FIREBALL
static final EntityType<FireworkRocketEntity>
EntityType.FIREWORK_ROCKET
static final EntityType<FishingHook>
EntityType.FISHING_BOBBER
static final EntityType<Fox>
EntityType.FOX
static final EntityType<Frog>
EntityType.FROG
static final EntityType<MinecartFurnace>
EntityType.FURNACE_MINECART
static final EntityType<Ghast>
EntityType.GHAST
static final EntityType<Giant>
EntityType.GIANT
static final EntityType<GlowItemFrame>
EntityType.GLOW_ITEM_FRAME
static final EntityType<GlowSquid>
EntityType.GLOW_SQUID
static final EntityType<Goat>
EntityType.GOAT
static final EntityType<Guardian>
EntityType.GUARDIAN
static final EntityType<Hoglin>
EntityType.HOGLIN
static final EntityType<MinecartHopper>
EntityType.HOPPER_MINECART
static final EntityType<Horse>
EntityType.HORSE
static final EntityType<Husk>
EntityType.HUSK
static final EntityType<Illusioner>
EntityType.ILLUSIONER
static final EntityType<Interaction>
EntityType.INTERACTION
static final EntityType<IronGolem>
EntityType.IRON_GOLEM
static final EntityType<ItemEntity>
EntityType.ITEM
static final EntityType<Display.ItemDisplay>
EntityType.ITEM_DISPLAY
static final EntityType<ItemFrame>
EntityType.ITEM_FRAME
static final EntityType<LeashFenceKnotEntity>
EntityType.LEASH_KNOT
static final EntityType<LightningBolt>
EntityType.LIGHTNING_BOLT
static final EntityType<Llama>
EntityType.LLAMA
static final EntityType<LlamaSpit>
EntityType.LLAMA_SPIT
static final EntityType<MagmaCube>
EntityType.MAGMA_CUBE
static final EntityType<Marker>
EntityType.MARKER
static final EntityType<Minecart>
EntityType.MINECART
static final EntityType<MushroomCow>
EntityType.MOOSHROOM
static final EntityType<Mule>
EntityType.MULE
static final EntityType<Ocelot>
EntityType.OCELOT
static final EntityType<Painting>
EntityType.PAINTING
static final EntityType<Panda>
EntityType.PANDA
static final EntityType<Parrot>
EntityType.PARROT
static final EntityType<Phantom>
EntityType.PHANTOM
static final EntityType<Pig>
EntityType.PIG
static final EntityType<Piglin>
EntityType.PIGLIN
static final EntityType<PiglinBrute>
EntityType.PIGLIN_BRUTE
static final EntityType<Pillager>
EntityType.PILLAGER
static final EntityType<Player>
EntityType.PLAYER
static final EntityType<PolarBear>
EntityType.POLAR_BEAR
static final EntityType<ThrownPotion>
EntityType.POTION
static final EntityType<Pufferfish>
EntityType.PUFFERFISH
static final EntityType<Rabbit>
EntityType.RABBIT
static final EntityType<Ravager>
EntityType.RAVAGER
static final EntityType<Salmon>
EntityType.SALMON
static final EntityType<Sheep>
EntityType.SHEEP
static final EntityType<Shulker>
EntityType.SHULKER
static final EntityType<ShulkerBullet>
EntityType.SHULKER_BULLET
static final EntityType<Silverfish>
EntityType.SILVERFISH
static final EntityType<Skeleton>
EntityType.SKELETON
static final EntityType<SkeletonHorse>
EntityType.SKELETON_HORSE
static final EntityType<Slime>
EntityType.SLIME
static final EntityType<SmallFireball>
EntityType.SMALL_FIREBALL
static final EntityType<Sniffer>
EntityType.SNIFFER
static final EntityType<SnowGolem>
EntityType.SNOW_GOLEM
static final EntityType<Snowball>
EntityType.SNOWBALL
static final EntityType<MinecartSpawner>
EntityType.SPAWNER_MINECART
static final EntityType<SpectralArrow>
EntityType.SPECTRAL_ARROW
static final EntityType<Spider>
EntityType.SPIDER
static final EntityType<Squid>
EntityType.SQUID
static final EntityType<Stray>
EntityType.STRAY
static final EntityType<Strider>
EntityType.STRIDER
static final EntityType<Tadpole>
EntityType.TADPOLE
static final EntityType<Display.TextDisplay>
EntityType.TEXT_DISPLAY
static final EntityType<PrimedTnt>
EntityType.TNT
static final EntityType<MinecartTNT>
EntityType.TNT_MINECART
static final EntityType<TraderLlama>
EntityType.TRADER_LLAMA
static final EntityType<ThrownTrident>
EntityType.TRIDENT
static final EntityType<TropicalFish>
EntityType.TROPICAL_FISH
static final EntityType<Turtle>
EntityType.TURTLE
private final EntityType<?>
Entity.type
Deprecated.static final EntityType<Vex>
EntityType.VEX
static final EntityType<Villager>
EntityType.VILLAGER
static final EntityType<Vindicator>
EntityType.VINDICATOR
static final EntityType<WanderingTrader>
EntityType.WANDERING_TRADER
static final EntityType<Warden>
EntityType.WARDEN
static final EntityType<Witch>
EntityType.WITCH
static final EntityType<WitherBoss>
EntityType.WITHER
static final EntityType<WitherSkeleton>
EntityType.WITHER_SKELETON
static final EntityType<WitherSkull>
EntityType.WITHER_SKULL
static final EntityType<Wolf>
EntityType.WOLF
static final EntityType<Zoglin>
EntityType.ZOGLIN
static final EntityType<Zombie>
EntityType.ZOMBIE
static final EntityType<ZombieHorse>
EntityType.ZOMBIE_HORSE
static final EntityType<ZombieVillager>
EntityType.ZOMBIE_VILLAGER
static final EntityType<ZombifiedPiglin>
EntityType.ZOMBIFIED_PIGLIN
Modifier and TypeFieldDescriptionprivate final Holder.Reference<EntityType<?>>
EntityType.builtInRegistryHolder
private static final Map<EntityType<?>,
SpawnPlacements.Data> SpawnPlacements.DATA_BY_TYPE
private TriPredicate<LevelReader,
BlockPos, EntityType<?>> SpawnPlacements.Type.predicate
private ToIntFunction<EntityType<?>>
EntityType.Builder.trackingRangeSupplier
private final ToIntFunction<EntityType<?>>
EntityType.trackingRangeSupplier
private ToIntFunction<EntityType<?>>
EntityType.Builder.updateIntervalSupplier
private final ToIntFunction<EntityType<?>>
EntityType.updateIntervalSupplier
private Predicate<EntityType<?>>
EntityType.Builder.velocityUpdateSupplier
private final Predicate<EntityType<?>>
EntityType.velocityUpdateSupplier
Modifier and TypeMethodDescriptionEntityType<?>
Entity.getType()
private static <T extends Entity>
EntityType<T>EntityType.register
(String p_20635_, EntityType.Builder<T> p_20636_) Modifier and TypeMethodDescriptionEntityType.builtInRegistryHolder()
Deprecated.static Optional<EntityType<?>>
EntityType.by
(CompoundTag p_20638_) static Optional<EntityType<?>>
Stream<TagKey<EntityType<?>>>
EntityType.getTags()
Modifier and TypeMethodDescriptionboolean
LivingEntity.canAttackType
(EntityType<?> p_21032_) boolean
Mob.canAttackType
(EntityType<?> p_21399_) boolean
SpawnPlacements.Type.canSpawnAt
(LevelReader world, BlockPos pos, EntityType<?> type) static boolean
GlowSquid.checkGlowSquidSpawnRules
(EntityType<? extends LivingEntity> p_300540_, ServerLevelAccessor p_297255_, MobSpawnType p_297489_, BlockPos p_299141_, RandomSource p_297395_) static boolean
Mob.checkMobSpawnRules
(EntityType<? extends Mob> p_217058_, LevelAccessor p_217059_, MobSpawnType p_217060_, BlockPos p_217061_, RandomSource p_217062_) static <T extends Entity>
booleanSpawnPlacements.checkSpawnRules
(EntityType<T> p_217075_, ServerLevelAccessor p_217076_, MobSpawnType p_217077_, BlockPos p_217078_, RandomSource p_217079_) <T extends Mob>
TMob.convertTo
(EntityType<T> p_21407_, boolean p_21408_) EntityType.EntityFactory.create
(EntityType<T> p_20722_, Level p_20723_) static Heightmap.Types
SpawnPlacements.getHeightmapType
(EntityType<?> p_21766_) static ResourceLocation
EntityType.getKey
(EntityType<?> p_20614_) static SpawnPlacements.Type
SpawnPlacements.getPlacementType
(EntityType<?> p_21753_) static <T extends Mob>
voidSpawnPlacements.register
(EntityType<T> p_21755_, SpawnPlacements.Type p_21756_, Heightmap.Types p_21757_, SpawnPlacements.SpawnPredicate<T> p_21758_) Deprecated.boolean
SpawnPlacements.SpawnPredicate.test
(EntityType<T> p_217081_, ServerLevelAccessor p_217082_, MobSpawnType p_217083_, BlockPos p_217084_, RandomSource p_217085_) Modifier and TypeMethodDescriptionstatic SpawnPlacements.Type
SpawnPlacements.Type.create
(String name, TriPredicate<LevelReader, BlockPos, EntityType<? extends Mob>> predicate) boolean
EntityType.is
(HolderSet<EntityType<?>> p_300605_) boolean
EntityType.is
(TagKey<EntityType<?>> p_204040_) ModifierConstructorDescriptionprotected
AgeableMob
(EntityType<? extends AgeableMob> p_146738_, Level p_146739_) AreaEffectCloud
(EntityType<? extends AreaEffectCloud> p_19704_, Level p_19705_) BlockDisplay
(EntityType<?> p_271022_, Level p_270442_) Display
(EntityType<?> p_270360_, Level p_270280_) Entity
(EntityType<?> p_19870_, Level p_19871_) ExperienceOrb
(EntityType<? extends ExperienceOrb> p_20773_, Level p_20774_) protected
FlyingMob
(EntityType<? extends FlyingMob> p_20806_, Level p_20807_) GlowSquid
(EntityType<? extends GlowSquid> p_147111_, Level p_147112_) Interaction
(EntityType<?> p_273319_, Level p_272713_) ItemDisplay
(EntityType<?> p_270104_, Level p_270735_) LightningBolt
(EntityType<? extends LightningBolt> p_20865_, Level p_20866_) protected
LivingEntity
(EntityType<? extends LivingEntity> p_20966_, Level p_20967_) Marker
(EntityType<?> p_147250_, Level p_147251_) protected
Mob
(EntityType<? extends Mob> p_21368_, Level p_21369_) protected
PathfinderMob
(EntityType<? extends PathfinderMob> p_21683_, Level p_21684_) protected
TamableAnimal
(EntityType<? extends TamableAnimal> p_21803_, Level p_21804_) TextDisplay
(EntityType<?> p_270708_, Level p_270736_) ModifierConstructorDescriptionEntityType
(EntityType.EntityFactory<T> p_251402_, MobCategory p_251431_, boolean p_251439_, boolean p_251973_, boolean p_252007_, boolean p_250908_, com.google.common.collect.ImmutableSet<Block> p_250201_, EntityDimensions p_251742_, int p_250479_, int p_249249_, FeatureFlagSet p_250427_, Predicate<EntityType<?>> velocityUpdateSupplier, ToIntFunction<EntityType<?>> trackingRangeSupplier, ToIntFunction<EntityType<?>> updateIntervalSupplier, BiFunction<SpawnEntity, Level, T> customClientFactory) EntityType
(EntityType.EntityFactory<T> p_251402_, MobCategory p_251431_, boolean p_251439_, boolean p_251973_, boolean p_252007_, boolean p_250908_, com.google.common.collect.ImmutableSet<Block> p_250201_, EntityDimensions p_251742_, int p_250479_, int p_249249_, FeatureFlagSet p_250427_, Predicate<EntityType<?>> velocityUpdateSupplier, ToIntFunction<EntityType<?>> trackingRangeSupplier, ToIntFunction<EntityType<?>> updateIntervalSupplier, BiFunction<SpawnEntity, Level, T> customClientFactory) private
Type
(TriPredicate<LevelReader, BlockPos, EntityType<?>> predicate) -
Uses of EntityType in net.minecraft.world.entity.ai.attributes
Modifier and TypeFieldDescriptionprivate static final Map<EntityType<? extends LivingEntity>,
AttributeSupplier> DefaultAttributes.SUPPLIERS
Modifier and TypeMethodDescriptionstatic AttributeSupplier
DefaultAttributes.getSupplier
(EntityType<? extends LivingEntity> p_22298_) static boolean
DefaultAttributes.hasSupplier
(EntityType<?> p_22302_) -
Uses of EntityType in net.minecraft.world.entity.ai.behavior
Modifier and TypeFieldDescriptionprivate final EntityType<? extends Animal>
AnimalMakeLove.partnerType
Modifier and TypeMethodDescriptionstatic OneShot<LivingEntity>
SetEntityLookTarget.create
(EntityType<?> p_260318_, float p_259522_) static BehaviorControl<LivingEntity>
SetEntityLookTargetSometimes.create
(EntityType<?> p_259588_, float p_259105_, UniformInt p_259422_) Deprecated.static BehaviorControl<LivingEntity>
SetLookAndInteract.create
(EntityType<?> p_259642_, int p_259805_) static <E extends LivingEntity,
T extends LivingEntity>
BehaviorControl<E>InteractWith.of
(EntityType<? extends T> p_259366_, int p_259564_, Predicate<E> p_259570_, Predicate<T> p_260254_, MemoryModuleType<T> p_260229_, float p_259369_, int p_259065_) static <T extends LivingEntity>
BehaviorControl<LivingEntity>InteractWith.of
(EntityType<? extends T> p_259703_, int p_260224_, MemoryModuleType<T> p_259995_, float p_259991_, int p_259933_) static boolean
BehaviorUtils.targetIsValid
(Brain<?> p_22640_, MemoryModuleType<? extends LivingEntity> p_22641_, EntityType<?> p_22642_) ModifierConstructorDescriptionAnimalMakeLove
(EntityType<? extends Animal> p_22391_, float p_22392_) -
Uses of EntityType in net.minecraft.world.entity.ai.sensing
Modifier and TypeFieldDescriptionprivate static final com.google.common.collect.ImmutableMap<EntityType<?>,
Float> VillagerHostilesSensor.ACCEPTABLE_DISTANCE_FROM_HOSTILES
-
Uses of EntityType in net.minecraft.world.entity.ambient
Modifier and TypeMethodDescriptionstatic boolean
Bat.checkBatSpawnRules
(EntityType<Bat> p_218099_, LevelAccessor p_218100_, MobSpawnType p_218101_, BlockPos p_218102_, RandomSource p_218103_) ModifierConstructorDescriptionprotected
AmbientCreature
(EntityType<? extends AmbientCreature> p_27403_, Level p_27404_) Bat
(EntityType<? extends Bat> p_27412_, Level p_27413_) -
Uses of EntityType in net.minecraft.world.entity.animal
Modifier and TypeFieldDescription(package private) static final Map<EntityType<?>,
SoundEvent> Parrot.MOB_SOUND_MAP
Modifier and TypeMethodDescriptionboolean
IronGolem.canAttackType
(EntityType<?> p_28851_) static boolean
Animal.checkAnimalSpawnRules
(EntityType<? extends Animal> p_218105_, LevelAccessor p_218106_, MobSpawnType p_218107_, BlockPos p_218108_, RandomSource p_218109_) static boolean
Fox.checkFoxSpawnRules
(EntityType<Fox> p_218176_, LevelAccessor p_218177_, MobSpawnType p_218178_, BlockPos p_218179_, RandomSource p_218180_) static boolean
MushroomCow.checkMushroomSpawnRules
(EntityType<MushroomCow> p_218201_, LevelAccessor p_218202_, MobSpawnType p_218203_, BlockPos p_218204_, RandomSource p_218205_) static boolean
Ocelot.checkOcelotSpawnRules
(EntityType<Ocelot> p_218207_, LevelAccessor p_218208_, MobSpawnType p_218209_, BlockPos p_218210_, RandomSource p_218211_) static boolean
Parrot.checkParrotSpawnRules
(EntityType<Parrot> p_218242_, LevelAccessor p_218243_, MobSpawnType p_218244_, BlockPos p_218245_, RandomSource p_218246_) static boolean
PolarBear.checkPolarBearSpawnRules
(EntityType<PolarBear> p_218250_, LevelAccessor p_218251_, MobSpawnType p_218252_, BlockPos p_218253_, RandomSource p_218254_) static boolean
Rabbit.checkRabbitSpawnRules
(EntityType<Rabbit> p_218256_, LevelAccessor p_218257_, MobSpawnType p_218258_, BlockPos p_218259_, RandomSource p_218260_) static boolean
WaterAnimal.checkSurfaceWaterAnimalSpawnRules
(EntityType<? extends WaterAnimal> p_218283_, LevelAccessor p_218284_, MobSpawnType p_218285_, BlockPos p_218286_, RandomSource p_218287_) static boolean
TropicalFish.checkTropicalFishSpawnRules
(EntityType<TropicalFish> p_218267_, LevelAccessor p_218268_, MobSpawnType p_218269_, BlockPos p_218270_, RandomSource p_218271_) static boolean
Turtle.checkTurtleSpawnRules
(EntityType<Turtle> p_218277_, LevelAccessor p_218278_, MobSpawnType p_218279_, BlockPos p_218280_, RandomSource p_218281_) static boolean
Wolf.checkWolfSpawnRules
(EntityType<Wolf> p_218292_, LevelAccessor p_218293_, MobSpawnType p_218294_, BlockPos p_218295_, RandomSource p_218296_) private static SoundEvent
Parrot.getImitatedSound
(EntityType<?> p_29409_) ModifierConstructorDescriptionAbstractFish
(EntityType<? extends AbstractFish> p_27461_, Level p_27462_) protected
AbstractGolem
(EntityType<? extends AbstractGolem> p_27508_, Level p_27509_) AbstractSchoolingFish
(EntityType<? extends AbstractSchoolingFish> p_27523_, Level p_27524_) protected
Animal
(EntityType<? extends Animal> p_27557_, Level p_27558_) Bee
(EntityType<? extends Bee> p_27717_, Level p_27718_) Cat
(EntityType<? extends Cat> p_28114_, Level p_28115_) Chicken
(EntityType<? extends Chicken> p_28236_, Level p_28237_) Cod
(EntityType<? extends Cod> p_28276_, Level p_28277_) Cow
(EntityType<? extends Cow> p_28285_, Level p_28286_) Dolphin
(EntityType<? extends Dolphin> p_28316_, Level p_28317_) Fox
(EntityType<? extends Fox> p_28451_, Level p_28452_) IronGolem
(EntityType<? extends IronGolem> p_28834_, Level p_28835_) MushroomCow
(EntityType<? extends MushroomCow> p_28914_, Level p_28915_) Ocelot
(EntityType<? extends Ocelot> p_28987_, Level p_28988_) Panda
(EntityType<? extends Panda> p_29086_, Level p_29087_) Parrot
(EntityType<? extends Parrot> p_29362_, Level p_29363_) Pig
(EntityType<? extends Pig> p_29462_, Level p_29463_) PolarBear
(EntityType<? extends PolarBear> p_29519_, Level p_29520_) Pufferfish
(EntityType<? extends Pufferfish> p_29602_, Level p_29603_) Rabbit
(EntityType<? extends Rabbit> p_29656_, Level p_29657_) Salmon
(EntityType<? extends Salmon> p_29790_, Level p_29791_) Sheep
(EntityType<? extends Sheep> p_29806_, Level p_29807_) protected
ShoulderRidingEntity
(EntityType<? extends ShoulderRidingEntity> p_29893_, Level p_29894_) SnowGolem
(EntityType<? extends SnowGolem> p_29902_, Level p_29903_) Squid
(EntityType<? extends Squid> p_29953_, Level p_29954_) TropicalFish
(EntityType<? extends TropicalFish> p_30015_, Level p_30016_) Turtle
(EntityType<? extends Turtle> p_30132_, Level p_30133_) protected
WaterAnimal
(EntityType<? extends WaterAnimal> p_30341_, Level p_30342_) Wolf
(EntityType<? extends Wolf> p_30369_, Level p_30370_) -
Uses of EntityType in net.minecraft.world.entity.animal.allay
-
Uses of EntityType in net.minecraft.world.entity.animal.axolotl
Modifier and TypeMethodDescriptionstatic boolean
Axolotl.checkAxolotlSpawnRules
(EntityType<? extends LivingEntity> p_218438_, ServerLevelAccessor p_218439_, MobSpawnType p_218440_, BlockPos p_218441_, RandomSource p_218442_) -
Uses of EntityType in net.minecraft.world.entity.animal.camel
-
Uses of EntityType in net.minecraft.world.entity.animal.frog
Modifier and TypeMethodDescriptionstatic boolean
Frog.checkFrogSpawnRules
(EntityType<? extends Animal> p_218512_, LevelAccessor p_218513_, MobSpawnType p_218514_, BlockPos p_218515_, RandomSource p_218516_) ModifierConstructorDescriptionFrog
(EntityType<? extends Animal> p_218470_, Level p_218471_) Tadpole
(EntityType<? extends AbstractFish> p_218686_, Level p_218687_) -
Uses of EntityType in net.minecraft.world.entity.animal.goat
Modifier and TypeMethodDescriptionstatic boolean
Goat.checkGoatSpawnRules
(EntityType<? extends Animal> p_218753_, LevelAccessor p_218754_, MobSpawnType p_218755_, BlockPos p_218756_, RandomSource p_218757_) -
Uses of EntityType in net.minecraft.world.entity.animal.horse
ModifierConstructorDescriptionprotected
AbstractChestedHorse
(EntityType<? extends AbstractChestedHorse> p_30485_, Level p_30486_) protected
AbstractHorse
(EntityType<? extends AbstractHorse> p_30531_, Level p_30532_) Donkey
(EntityType<? extends Donkey> p_30672_, Level p_30673_) Horse
(EntityType<? extends Horse> p_30689_, Level p_30690_) Llama
(EntityType<? extends Llama> p_30750_, Level p_30751_) Mule
(EntityType<? extends Mule> p_30878_, Level p_30879_) SkeletonHorse
(EntityType<? extends SkeletonHorse> p_30894_, Level p_30895_) TraderLlama
(EntityType<? extends TraderLlama> p_30939_, Level p_30940_) ZombieHorse
(EntityType<? extends ZombieHorse> p_30994_, Level p_30995_) -
Uses of EntityType in net.minecraft.world.entity.animal.sniffer
-
Uses of EntityType in net.minecraft.world.entity.boss.enderdragon
ModifierConstructorDescriptionEndCrystal
(EntityType<? extends EndCrystal> p_31037_, Level p_31038_) EnderDragon
(EntityType<? extends EnderDragon> p_31096_, Level p_31097_) -
Uses of EntityType in net.minecraft.world.entity.boss.wither
ModifierConstructorDescriptionWitherBoss
(EntityType<? extends WitherBoss> p_31437_, Level p_31438_) -
Uses of EntityType in net.minecraft.world.entity.decoration
ModifierConstructorDescriptionArmorStand
(EntityType<? extends ArmorStand> p_31553_, Level p_31554_) GlowItemFrame
(EntityType<? extends ItemFrame> p_149607_, Level p_149608_) protected
HangingEntity
(EntityType<? extends HangingEntity> p_31703_, Level p_31704_) protected
HangingEntity
(EntityType<? extends HangingEntity> p_31706_, Level p_31707_, BlockPos p_31708_) ItemFrame
(EntityType<? extends ItemFrame> p_31761_, Level p_31762_) ItemFrame
(EntityType<? extends ItemFrame> p_149621_, Level p_149622_, BlockPos p_149623_, Direction p_149624_) LeashFenceKnotEntity
(EntityType<? extends LeashFenceKnotEntity> p_31828_, Level p_31829_) Painting
(EntityType<? extends Painting> p_31904_, Level p_31905_) -
Uses of EntityType in net.minecraft.world.entity.item
ModifierConstructorDescriptionFallingBlockEntity
(EntityType<? extends FallingBlockEntity> p_31950_, Level p_31951_) ItemEntity
(EntityType<? extends ItemEntity> p_31991_, Level p_31992_) PrimedTnt
(EntityType<? extends PrimedTnt> p_32076_, Level p_32077_) -
Uses of EntityType in net.minecraft.world.entity.monster
Modifier and TypeMethodDescriptionboolean
Phantom.canAttackType
(EntityType<?> p_33111_) static boolean
Monster.checkAnyLightMonsterSpawnRules
(EntityType<? extends Monster> p_219020_, LevelAccessor p_219021_, MobSpawnType p_219022_, BlockPos p_219023_, RandomSource p_219024_) static boolean
Drowned.checkDrownedSpawnRules
(EntityType<Drowned> p_218956_, ServerLevelAccessor p_218957_, MobSpawnType p_218958_, BlockPos p_218959_, RandomSource p_218960_) static boolean
Endermite.checkEndermiteSpawnRules
(EntityType<Endermite> p_218969_, LevelAccessor p_218970_, MobSpawnType p_218971_, BlockPos p_218972_, RandomSource p_218973_) static boolean
Ghast.checkGhastSpawnRules
(EntityType<Ghast> p_218985_, LevelAccessor p_218986_, MobSpawnType p_218987_, BlockPos p_218988_, RandomSource p_218989_) static boolean
Guardian.checkGuardianSpawnRules
(EntityType<? extends Guardian> p_218991_, LevelAccessor p_218992_, MobSpawnType p_218993_, BlockPos p_218994_, RandomSource p_218995_) static boolean
Husk.checkHuskSpawnRules
(EntityType<Husk> p_218997_, ServerLevelAccessor p_218998_, MobSpawnType p_218999_, BlockPos p_219000_, RandomSource p_219001_) static boolean
MagmaCube.checkMagmaCubeSpawnRules
(EntityType<MagmaCube> p_219003_, LevelAccessor p_219004_, MobSpawnType p_219005_, BlockPos p_219006_, RandomSource p_219007_) static boolean
Monster.checkMonsterSpawnRules
(EntityType<? extends Monster> p_219014_, ServerLevelAccessor p_219015_, MobSpawnType p_219016_, BlockPos p_219017_, RandomSource p_219018_) static boolean
PatrollingMonster.checkPatrollingMonsterSpawnRules
(EntityType<? extends PatrollingMonster> p_219026_, LevelAccessor p_219027_, MobSpawnType p_219028_, BlockPos p_219029_, RandomSource p_219030_) static boolean
Silverfish.checkSilverfishSpawnRules
(EntityType<Silverfish> p_219077_, LevelAccessor p_219078_, MobSpawnType p_219079_, BlockPos p_219080_, RandomSource p_219081_) static boolean
Slime.checkSlimeSpawnRules
(EntityType<Slime> p_219113_, LevelAccessor p_219114_, MobSpawnType p_219115_, BlockPos p_219116_, RandomSource p_219117_) static boolean
Stray.checkStraySpawnRules
(EntityType<Stray> p_219121_, ServerLevelAccessor p_219122_, MobSpawnType p_219123_, BlockPos p_219124_, RandomSource p_219125_) static boolean
Strider.checkStriderSpawnRules
(EntityType<Strider> p_219129_, LevelAccessor p_219130_, MobSpawnType p_219131_, BlockPos p_219132_, RandomSource p_219133_) static boolean
ZombifiedPiglin.checkZombifiedPiglinSpawnRules
(EntityType<ZombifiedPiglin> p_219174_, LevelAccessor p_219175_, MobSpawnType p_219176_, BlockPos p_219177_, RandomSource p_219178_) protected void
Zombie.convertToZombieType
(EntityType<? extends Zombie> p_34311_) ModifierConstructorDescriptionprotected
AbstractIllager
(EntityType<? extends AbstractIllager> p_32105_, Level p_32106_) protected
AbstractSkeleton
(EntityType<? extends AbstractSkeleton> p_32133_, Level p_32134_) Blaze
(EntityType<? extends Blaze> p_32219_, Level p_32220_) CaveSpider
(EntityType<? extends CaveSpider> p_32254_, Level p_32255_) Creeper
(EntityType<? extends Creeper> p_32278_, Level p_32279_) Drowned
(EntityType<? extends Drowned> p_32344_, Level p_32345_) ElderGuardian
(EntityType<? extends ElderGuardian> p_32460_, Level p_32461_) EnderMan
(EntityType<? extends EnderMan> p_32485_, Level p_32486_) Endermite
(EntityType<? extends Endermite> p_32591_, Level p_32592_) Evoker
(EntityType<? extends Evoker> p_32627_, Level p_32628_) Ghast
(EntityType<? extends Ghast> p_32725_, Level p_32726_) Giant
(EntityType<? extends Giant> p_32788_, Level p_32789_) Guardian
(EntityType<? extends Guardian> p_32810_, Level p_32811_) Husk
(EntityType<? extends Husk> p_32889_, Level p_32890_) Illusioner
(EntityType<? extends Illusioner> p_32911_, Level p_32912_) MagmaCube
(EntityType<? extends MagmaCube> p_32968_, Level p_32969_) protected
Monster
(EntityType<? extends Monster> p_33002_, Level p_33003_) protected
PatrollingMonster
(EntityType<? extends PatrollingMonster> p_33046_, Level p_33047_) Phantom
(EntityType<? extends Phantom> p_33101_, Level p_33102_) Pillager
(EntityType<? extends Pillager> p_33262_, Level p_33263_) Ravager
(EntityType<? extends Ravager> p_33325_, Level p_33326_) Shulker
(EntityType<? extends Shulker> p_33404_, Level p_33405_) Silverfish
(EntityType<? extends Silverfish> p_33523_, Level p_33524_) Skeleton
(EntityType<? extends Skeleton> p_33570_, Level p_33571_) Slime
(EntityType<? extends Slime> p_33588_, Level p_33589_) protected
SpellcasterIllager
(EntityType<? extends SpellcasterIllager> p_33724_, Level p_33725_) Spider
(EntityType<? extends Spider> p_33786_, Level p_33787_) Stray
(EntityType<? extends Stray> p_33836_, Level p_33837_) Strider
(EntityType<? extends Strider> p_33862_, Level p_33863_) Vex
(EntityType<? extends Vex> p_33984_, Level p_33985_) Vindicator
(EntityType<? extends Vindicator> p_34074_, Level p_34075_) Witch
(EntityType<? extends Witch> p_34134_, Level p_34135_) WitherSkeleton
(EntityType<? extends WitherSkeleton> p_34166_, Level p_34167_) Zoglin
(EntityType<? extends Zoglin> p_34204_, Level p_34205_) Zombie
(EntityType<? extends Zombie> p_34271_, Level p_34272_) ZombieVillager
(EntityType<? extends ZombieVillager> p_34368_, Level p_34369_) ZombifiedPiglin
(EntityType<? extends ZombifiedPiglin> p_34427_, Level p_34428_) -
Uses of EntityType in net.minecraft.world.entity.monster.hoglin
Modifier and TypeMethodDescriptionstatic boolean
Hoglin.checkHoglinSpawnRules
(EntityType<Hoglin> p_219182_, LevelAccessor p_219183_, MobSpawnType p_219184_, BlockPos p_219185_, RandomSource p_219186_) -
Uses of EntityType in net.minecraft.world.entity.monster.piglin
Modifier and TypeMethodDescriptionstatic boolean
Piglin.checkPiglinSpawnRules
(EntityType<Piglin> p_219198_, LevelAccessor p_219199_, MobSpawnType p_219200_, BlockPos p_219201_, RandomSource p_219202_) static boolean
PiglinAi.isZombified
(EntityType<?> p_34807_) ModifierConstructorDescriptionAbstractPiglin
(EntityType<? extends AbstractPiglin> p_34652_, Level p_34653_) Piglin
(EntityType<? extends AbstractPiglin> p_34683_, Level p_34684_) PiglinBrute
(EntityType<? extends PiglinBrute> p_35048_, Level p_35049_) -
Uses of EntityType in net.minecraft.world.entity.monster.warden
-
Uses of EntityType in net.minecraft.world.entity.npc
ModifierConstructorDescriptionAbstractVillager
(EntityType<? extends AbstractVillager> p_35267_, Level p_35268_) Villager
(EntityType<? extends Villager> p_35381_, Level p_35382_) Villager
(EntityType<? extends Villager> p_35384_, Level p_35385_, VillagerType p_35386_) WanderingTrader
(EntityType<? extends WanderingTrader> p_35843_, Level p_35844_) -
Uses of EntityType in net.minecraft.world.entity.projectile
ModifierConstructorDescriptionprotected
AbstractArrow
(EntityType<? extends AbstractArrow> p_36711_, double p_36712_, double p_36713_, double p_36714_, Level p_36715_) protected
AbstractArrow
(EntityType<? extends AbstractArrow> p_36717_, LivingEntity p_36718_, Level p_36719_) protected
AbstractArrow
(EntityType<? extends AbstractArrow> p_36721_, Level p_36722_) AbstractHurtingProjectile
(EntityType<? extends AbstractHurtingProjectile> p_36817_, double p_36818_, double p_36819_, double p_36820_, double p_36821_, double p_36822_, double p_36823_, Level p_36824_) AbstractHurtingProjectile
(EntityType<? extends AbstractHurtingProjectile> p_36826_, LivingEntity p_36827_, double p_36828_, double p_36829_, double p_36830_, Level p_36831_) protected
AbstractHurtingProjectile
(EntityType<? extends AbstractHurtingProjectile> p_36833_, Level p_36834_) Arrow
(EntityType<? extends Arrow> p_36858_, Level p_36859_) DragonFireball
(EntityType<? extends DragonFireball> p_36892_, Level p_36893_) EvokerFangs
(EntityType<? extends EvokerFangs> p_36923_, Level p_36924_) EyeOfEnder
(EntityType<? extends EyeOfEnder> p_36957_, Level p_36958_) Fireball
(EntityType<? extends Fireball> p_36990_, double p_36991_, double p_36992_, double p_36993_, double p_36994_, double p_36995_, double p_36996_, Level p_36997_) Fireball
(EntityType<? extends Fireball> p_36999_, LivingEntity p_37000_, double p_37001_, double p_37002_, double p_37003_, Level p_37004_) Fireball
(EntityType<? extends Fireball> p_37006_, Level p_37007_) FireworkRocketEntity
(EntityType<? extends FireworkRocketEntity> p_37027_, Level p_37028_) FishingHook
(EntityType<? extends FishingHook> p_150138_, Level p_150139_) private
FishingHook
(EntityType<? extends FishingHook> p_150141_, Level p_150142_, int p_150143_, int p_150144_) LargeFireball
(EntityType<? extends LargeFireball> p_37199_, Level p_37200_) LlamaSpit
(EntityType<? extends LlamaSpit> p_37224_, Level p_37225_) protected
Projectile
(EntityType<? extends Projectile> p_37248_, Level p_37249_) ShulkerBullet
(EntityType<? extends ShulkerBullet> p_37319_, Level p_37320_) SmallFireball
(EntityType<? extends SmallFireball> p_37364_, Level p_37365_) Snowball
(EntityType<? extends Snowball> p_37391_, Level p_37392_) SpectralArrow
(EntityType<? extends SpectralArrow> p_37411_, Level p_37412_) ThrowableItemProjectile
(EntityType<? extends ThrowableItemProjectile> p_37432_, double p_37433_, double p_37434_, double p_37435_, Level p_37436_) ThrowableItemProjectile
(EntityType<? extends ThrowableItemProjectile> p_37438_, LivingEntity p_37439_, Level p_37440_) ThrowableItemProjectile
(EntityType<? extends ThrowableItemProjectile> p_37442_, Level p_37443_) protected
ThrowableProjectile
(EntityType<? extends ThrowableProjectile> p_37456_, double p_37457_, double p_37458_, double p_37459_, Level p_37460_) protected
ThrowableProjectile
(EntityType<? extends ThrowableProjectile> p_37462_, LivingEntity p_37463_, Level p_37464_) protected
ThrowableProjectile
(EntityType<? extends ThrowableProjectile> p_37466_, Level p_37467_) ThrownEgg
(EntityType<? extends ThrownEgg> p_37473_, Level p_37474_) ThrownEnderpearl
(EntityType<? extends ThrownEnderpearl> p_37491_, Level p_37492_) ThrownExperienceBottle
(EntityType<? extends ThrownExperienceBottle> p_37510_, Level p_37511_) ThrownPotion
(EntityType<? extends ThrownPotion> p_37527_, Level p_37528_) ThrownTrident
(EntityType<? extends ThrownTrident> p_37561_, Level p_37562_) WitherSkull
(EntityType<? extends WitherSkull> p_37598_, Level p_37599_) -
Uses of EntityType in net.minecraft.world.entity.raid
Modifier and TypeFieldDescription(package private) final EntityType<? extends Raider>
Raid.RaiderType.entityType
Modifier and TypeMethodDescriptionstatic Raid.RaiderType
Raid.RaiderType.create
(String name, EntityType<? extends Raider> typeIn, int[] waveCountsIn) The waveCountsIn integer decides how many entities of the EntityType defined in typeIn will spawn in each wave.ModifierConstructorDescriptionprotected
Raider
(EntityType<? extends Raider> p_37839_, Level p_37840_) private
RaiderType
(EntityType<? extends Raider> p_37821_, int[] p_37822_) -
Uses of EntityType in net.minecraft.world.entity.vehicle
Modifier and TypeMethodDescriptionstatic Vec3
DismountHelper.findSafeDismountLocation
(EntityType<?> p_38442_, CollisionGetter p_38443_, BlockPos p_38444_, boolean p_38445_) ModifierConstructorDescriptionprotected
AbstractMinecart
(EntityType<?> p_38087_, Level p_38088_) protected
AbstractMinecart
(EntityType<?> p_38090_, Level p_38091_, double p_38092_, double p_38093_, double p_38094_) protected
AbstractMinecartContainer
(EntityType<?> p_38207_, double p_38208_, double p_38209_, double p_38210_, Level p_38211_) protected
AbstractMinecartContainer
(EntityType<?> p_38213_, Level p_38214_) Boat
(EntityType<? extends Boat> p_38290_, Level p_38291_) ChestBoat
(EntityType<? extends Boat> p_219869_, Level p_219870_) Minecart
(EntityType<?> p_38470_, Level p_38471_) MinecartChest
(EntityType<? extends MinecartChest> p_38487_, Level p_38488_) MinecartCommandBlock
(EntityType<? extends MinecartCommandBlock> p_38509_, Level p_38510_) MinecartFurnace
(EntityType<? extends MinecartFurnace> p_38552_, Level p_38553_) MinecartHopper
(EntityType<? extends MinecartHopper> p_38584_, Level p_38585_) MinecartSpawner
(EntityType<? extends MinecartSpawner> p_38623_, Level p_38624_) MinecartTNT
(EntityType<? extends MinecartTNT> p_38649_, Level p_38650_) -
Uses of EntityType in net.minecraft.world.item
Modifier and TypeFieldDescriptionprivate final EntityType<T>
FoodOnAStickItem.canInteractWith
private final EntityType<?>
SpawnEggItem.defaultType
private final EntityType<? extends HangingEntity>
HangingEntityItem.type
Modifier and TypeFieldDescriptionprivate static final Map<EntityType<? extends Mob>,
SpawnEggItem> SpawnEggItem.BY_ID
private final Supplier<? extends EntityType<?>>
MobBucketItem.entityTypeSupplier
Modifier and TypeMethodDescriptionprotected EntityType<?>
SpawnEggItem.getDefaultType()
protected EntityType<?>
MobBucketItem.getFishType()
EntityType<?>
SpawnEggItem.getType
(CompoundTag p_43229_) Modifier and TypeMethodDescriptionstatic SpawnEggItem
SpawnEggItem.byId
(EntityType<?> p_43214_) Deprecated.Forge: callForgeSpawnEggItem.fromEntityType(EntityType)
insteadSpawnEggItem.spawnOffspringFromSpawnEgg
(Player p_43216_, Mob p_43217_, EntityType<? extends Mob> p_43218_, ServerLevel p_43219_, Vec3 p_43220_, ItemStack p_43221_) boolean
SpawnEggItem.spawnsEntity
(CompoundTag p_43231_, EntityType<?> p_43232_) ModifierConstructorDescriptionFoodOnAStickItem
(Item.Properties p_41307_, EntityType<T> p_41308_, int p_41309_) HangingEntityItem
(EntityType<? extends HangingEntity> p_41324_, Item.Properties p_41325_) ItemFrameItem
(EntityType<? extends HangingEntity> p_150904_, Item.Properties p_150905_) MobBucketItem
(EntityType<?> p_151137_, Fluid p_151138_, SoundEvent p_151139_, Item.Properties p_151140_) Deprecated.SpawnEggItem
(EntityType<? extends Mob> p_43207_, int p_43208_, int p_43209_, Item.Properties p_43210_) Deprecated.Forge: UseForgeSpawnEggItem
instead for suppliersModifierConstructorDescriptionMobBucketItem
(Supplier<? extends EntityType<?>> entitySupplier, Supplier<? extends Fluid> fluidSupplier, Supplier<? extends SoundEvent> soundSupplier, Item.Properties properties) -
Uses of EntityType in net.minecraft.world.level
Modifier and TypeMethodDescriptionprivate boolean
NaturalSpawner.SpawnState.canSpawn
(EntityType<?> p_47128_, BlockPos p_47129_, ChunkAccess p_47130_) static boolean
NaturalSpawner.canSpawnAtBody
(SpawnPlacements.Type p_47052_, LevelReader p_47053_, BlockPos p_47054_, EntityType<?> p_47055_) private static Mob
NaturalSpawner.getMobForSpawn
(ServerLevel p_46989_, EntityType<?> p_46990_) private static BlockPos
NaturalSpawner.getTopNonCollidingPos
(LevelReader p_47066_, EntityType<?> p_47067_, int p_47068_, int p_47069_) static boolean
NaturalSpawner.isSpawnPositionOk
(SpawnPlacements.Type p_47052_, LevelReader p_47053_, BlockPos p_47054_, EntityType<?> p_47055_) static boolean
NaturalSpawner.isValidEmptySpawnBlock
(BlockGetter p_47057_, BlockPos p_47058_, BlockState p_47059_, FluidState p_47060_, EntityType<?> p_47061_) void
BaseSpawner.setEntityId
(EntityType<?> p_253682_, Level p_254041_, RandomSource p_254221_, BlockPos p_254050_) boolean
NaturalSpawner.SpawnPredicate.test
(EntityType<?> p_47107_, BlockPos p_47108_, ChunkAccess p_47109_) -
Uses of EntityType in net.minecraft.world.level.biome
Modifier and TypeFieldDescriptionprivate final Set<EntityType<?>>
MobSpawnSettings.costView
protected final Map<EntityType<?>,
MobSpawnSettings.MobSpawnCost> MobSpawnSettings.Builder.mobSpawnCosts
private final Map<EntityType<?>,
MobSpawnSettings.MobSpawnCost> MobSpawnSettings.mobSpawnCosts
Modifier and TypeMethodDescriptionMobSpawnSettings.Builder.addMobCharge
(EntityType<?> p_48371_, double p_48372_, double p_48373_) MobSpawnSettings.getMobSpawnCost
(EntityType<?> p_48346_) ModifierConstructorDescriptionSpawnerData
(EntityType<?> p_48409_, int p_48410_, int p_48411_, int p_48412_) SpawnerData
(EntityType<?> p_151815_, Weight p_151816_, int p_151817_, int p_151818_) -
Uses of EntityType in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionprivate static Boolean
Blocks.always
(BlockState p_50810_, BlockGetter p_50811_, BlockPos p_50812_, EntityType<?> p_50813_) BedBlock.findBunkBedStandUpPosition
(EntityType<?> p_49464_, CollisionGetter p_49465_, BlockPos p_49466_, Direction p_49467_, Direction p_49468_) BedBlock.findStandUpPosition
(EntityType<?> p_261547_, CollisionGetter p_261946_, BlockPos p_261614_, Direction p_261648_, float p_261680_) RespawnAnchorBlock.findStandUpPosition
(EntityType<?> p_55840_, CollisionGetter p_55841_, BlockPos p_55842_) RespawnAnchorBlock.findStandUpPosition
(EntityType<?> p_55844_, CollisionGetter p_55845_, BlockPos p_55846_, boolean p_55847_) BedBlock.findStandUpPositionAtOffset
(EntityType<?> p_49470_, CollisionGetter p_49471_, BlockPos p_49472_, int[][] p_49473_, boolean p_49474_) private static Boolean
Blocks.never
(BlockState p_50779_, BlockGetter p_50780_, BlockPos p_50781_, EntityType<?> p_50782_) private static Boolean
Blocks.ocelotOrParrot
(BlockState p_50822_, BlockGetter p_50823_, BlockPos p_50824_, EntityType<?> p_50825_) -
Uses of EntityType in net.minecraft.world.level.block.entity
Modifier and TypeMethodDescriptionvoid
SpawnerBlockEntity.setEntityId
(EntityType<?> p_254530_, RandomSource p_253719_) -
Uses of EntityType in net.minecraft.world.level.block.state
Modifier and TypeFieldDescription(package private) BlockBehaviour.StateArgumentPredicate<EntityType<?>>
BlockBehaviour.Properties.isValidSpawn
Modifier and TypeMethodDescriptionboolean
BlockBehaviour.BlockStateBase.isValidSpawn
(BlockGetter p_60644_, BlockPos p_60645_, EntityType<?> p_60646_) Modifier and TypeMethodDescriptionBlockBehaviour.Properties.isValidSpawn
(BlockBehaviour.StateArgumentPredicate<EntityType<?>> p_60923_) -
Uses of EntityType in net.minecraft.world.level.levelgen.feature
Modifier and TypeMethodDescriptionprivate EntityType<?>
MonsterRoomFeature.randomEntityId
(RandomSource p_225154_) -
Uses of EntityType in net.minecraftforge.client
Modifier and TypeFieldDescriptionprivate static Map<EntityType<?>,
ResourceLocation> EntitySpectatorShaderManager.SHADERS
Modifier and TypeMethodDescriptionstatic @Nullable ResourceLocation
EntitySpectatorShaderManager.get
(EntityType<?> entityType) Finds the path to the spectator mode shader used for the specified entity type, or null if none is registered. -
Uses of EntityType in net.minecraftforge.client.event
Modifier and TypeFieldDescriptionprivate final Map<EntityType<?>,
EntityRenderer<?>> EntityRenderersEvent.AddLayers.renderers
private final Map<EntityType<?>,
ResourceLocation> RegisterEntitySpectatorShadersEvent.shaders
Modifier and TypeMethodDescription<T extends LivingEntity,
R extends LivingEntityRenderer<T, ? extends EntityModel<T>>>
REntityRenderersEvent.AddLayers.getRenderer
(EntityType<? extends T> entityType) Returns an entity renderer for the given entity type.void
RegisterEntitySpectatorShadersEvent.register
(EntityType<?> entityType, ResourceLocation shader) Registers a spectator shader for a given entity type.<T extends Entity>
voidEntityRenderersEvent.RegisterRenderers.registerEntityRenderer
(EntityType<? extends T> entityType, EntityRendererProvider<T> entityRendererProvider) Registers an entity renderer for the given entity type.Modifier and TypeMethodDescriptionstatic void
ForgeEventFactoryClient.gatherLayers
(Map<EntityType<?>, EntityRenderer<?>> renderers, Map<PlayerSkin.Model, EntityRenderer<? extends Player>> playerRenderers, EntityRendererProvider.Context context) ModifierConstructorDescriptionAddLayers
(Map<EntityType<?>, EntityRenderer<?>> renderers, Map<PlayerSkin.Model, EntityRenderer<? extends Player>> playerRenderers, EntityRendererProvider.Context context) RegisterEntitySpectatorShadersEvent
(Map<EntityType<?>, ResourceLocation> shaders) -
Uses of EntityType in net.minecraftforge.common
Modifier and TypeFieldDescriptionstatic final TagKey<EntityType<?>>
Tags.EntityTypes.BOSSES
private static final Map<EntityType<? extends LivingEntity>,
AttributeSupplier> ForgeHooks.FORGE_ATTRIBUTES
private static final Map<EntityType<? extends Mob>,
ForgeSpawnEggItem> ForgeSpawnEggItem.TYPE_MAP
private final Supplier<? extends EntityType<? extends Mob>>
ForgeSpawnEggItem.typeSupplier
Modifier and TypeMethodDescriptionprotected EntityType<?>
ForgeSpawnEggItem.getDefaultType()
static EntityType<?>
DungeonHooks.getRandomDungeonMob
(RandomSource rand) Gets a random mob name from the list.EntityType<?>
ForgeSpawnEggItem.getType
(@Nullable CompoundTag tag) Modifier and TypeMethodDescriptionstatic Map<EntityType<? extends LivingEntity>,
AttributeSupplier> ForgeHooks.getAttributesView()
Deprecated.private static TagKey<EntityType<?>>
Modifier and TypeMethodDescriptionstatic float
DungeonHooks.addDungeonMob
(EntityType<?> type, int rarity) Adds a mob to the possible list of creatures the spawner will create.static @Nullable SpawnEggItem
ForgeSpawnEggItem.fromEntityType
(@Nullable EntityType<?> type) static int
DungeonHooks.removeDungeonMob
(EntityType<?> name) Will completely remove a Mob from the dungeon spawn list.ModifierConstructorDescriptionForgeSpawnEggItem
(Supplier<? extends EntityType<? extends Mob>> type, int backgroundColor, int highlightColor, Item.Properties props) -
Uses of EntityType in net.minecraftforge.common.data
Modifier and TypeMethodDescriptionvoid
LanguageProvider.addEntityType
(Supplier<? extends EntityType<?>> key, String name) -
Uses of EntityType in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptionIForgeBlock.getRespawnPosition
(BlockState state, EntityType<?> type, LevelReader levelReader, BlockPos pos, float orientation, @Nullable LivingEntity entity) Returns the position that the entity is moved to upon respawning at this block.IForgeBlockState.getRespawnPosition
(EntityType<?> type, LevelReader level, BlockPos pos, float orientation, @Nullable LivingEntity entity) Returns the position that the entity is moved to upon respawning at this block.default boolean
IForgeBlock.isValidSpawn
(BlockState state, BlockGetter level, BlockPos pos, SpawnPlacements.Type type, EntityType<?> entityType) Determines if a specified mob type can spawn on this block, returning false will prevent any mob from spawning on the block.default boolean
IForgeBlockState.isValidSpawn
(LevelReader level, BlockPos pos, SpawnPlacements.Type type, EntityType<?> entityType) Determines if a specified mob type can spawn on this block, returning false will prevent any mob from spawning on the block. -
Uses of EntityType in net.minecraftforge.common.world
Modifier and TypeFieldDescriptionprivate final Set<EntityType<?>>
MobSpawnSettingsBuilder.costView
private final HolderSet<EntityType<?>>
ForgeBiomeModifiers.RemoveSpawnsBiomeModifier.entityTypes
The field for theentityTypes
record component.Modifier and TypeMethodDescriptionHolderSet<EntityType<?>>
ForgeBiomeModifiers.RemoveSpawnsBiomeModifier.entityTypes()
Returns the value of theentityTypes
record component.Set<EntityType<?>>
MobSpawnSettingsBuilder.getEntityTypes()
-
Uses of EntityType in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic boolean
ForgeEventFactory.canLivingConvert
(LivingEntity entity, EntityType<? extends LivingEntity> outcome, Consumer<Integer> timer) static boolean
ForgeEventFactory.checkSpawnPlacements
(EntityType<?> entityType, ServerLevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random, boolean defaultResult) -
Uses of EntityType in net.minecraftforge.event.entity
Modifier and TypeFieldDescriptionprivate final Map<EntityType<? extends LivingEntity>,
AttributeSupplier.Builder> EntityAttributeModificationEvent.entityAttributes
private final List<EntityType<? extends LivingEntity>>
EntityAttributeModificationEvent.entityTypes
private final Map<EntityType<? extends LivingEntity>,
AttributeSupplier> EntityAttributeCreationEvent.map
private final Map<EntityType<?>,
SpawnPlacementRegisterEvent.MergedSpawnPredicate<?>> SpawnPlacementRegisterEvent.map
Modifier and TypeMethodDescriptionList<EntityType<? extends LivingEntity>>
EntityAttributeModificationEvent.getTypes()
Modifier and TypeMethodDescriptionvoid
EntityAttributeModificationEvent.add
(EntityType<? extends LivingEntity> entityType, Attribute attribute) void
EntityAttributeModificationEvent.add
(EntityType<? extends LivingEntity> entityType, Attribute attribute, double value) boolean
EntityAttributeModificationEvent.has
(EntityType<? extends LivingEntity> entityType, Attribute attribute) void
EntityAttributeCreationEvent.put
(EntityType<? extends LivingEntity> entity, AttributeSupplier map) <T extends Entity>
voidSpawnPlacementRegisterEvent.register
(EntityType<T> entityType, SpawnPlacements.SpawnPredicate<T> predicate) Register an optional spawn placementpredicate
for a givenentityType
<T extends Entity>
voidSpawnPlacementRegisterEvent.register
(EntityType<T> entityType, SpawnPlacements.SpawnPredicate<T> predicate, SpawnPlacementRegisterEvent.Operation operation) Register apredicate
for a givenentityType
with a givenoperation
for handling<T extends Entity>
voidSpawnPlacementRegisterEvent.register
(EntityType<T> entityType, SpawnPlacements.Type placementType, Heightmap.Types heightmap, SpawnPlacements.SpawnPredicate<T> predicate, SpawnPlacementRegisterEvent.Operation operation) Register apredicate
for a givenentityType
andoperation
With the option of changing theplacementType
andheightmap
.ModifierConstructorDescriptionEntityAttributeCreationEvent
(Map<EntityType<? extends LivingEntity>, AttributeSupplier> map) EntityAttributeModificationEvent
(Map<EntityType<? extends LivingEntity>, AttributeSupplier.Builder> mapIn) SpawnPlacementRegisterEvent
(Map<EntityType<?>, SpawnPlacementRegisterEvent.MergedSpawnPredicate<?>> map) -
Uses of EntityType in net.minecraftforge.event.entity.living
Modifier and TypeFieldDescriptionprivate final EntityType<?>
MobSpawnEvent.SpawnPlacementCheck.entityType
private final EntityType<? extends LivingEntity>
LivingConversionEvent.Pre.outcome
Modifier and TypeMethodDescriptionEntityType<?>
MobSpawnEvent.SpawnPlacementCheck.getEntityType()
EntityType<? extends LivingEntity>
LivingConversionEvent.Pre.getOutcome()
Gets the entity type of the new entity this living entity is converting toModifierConstructorDescriptionPre
(LivingEntity entity, EntityType<? extends LivingEntity> outcome, Consumer<Integer> timer) SpawnPlacementCheck
(EntityType<?> entityType, ServerLevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random, boolean defaultResult) Internal. -
Uses of EntityType in net.minecraftforge.registries
Modifier and TypeFieldDescriptionstatic final IForgeRegistry<EntityType<?>>
ForgeRegistries.ENTITY_TYPES
static final ResourceKey<Registry<EntityType<?>>>
ForgeRegistries.Keys.ENTITY_TYPES
ForgeRegistries.ENTITY_TYPES
instead.