Uses of Class
net.minecraft.entity.EntityType
-
-
Uses of EntityType in net.minecraft.advancements.criterion
Fields in net.minecraft.advancements.criterion declared as EntityType Modifier and Type Field Description private EntityType<?>
EntityTypePredicate.TypePredicate. type
Fields in net.minecraft.advancements.criterion with type parameters of type EntityType Modifier and Type Field Description private ITag<EntityType<?>>
EntityTypePredicate.TagPredicate. tag
Methods in net.minecraft.advancements.criterion with parameters of type EntityType Modifier and Type Method Description abstract boolean
EntityTypePredicate. matches(EntityType<?> p_209368_1_)
boolean
EntityTypePredicate.TagPredicate. matches(EntityType<?> p_209368_1_)
boolean
EntityTypePredicate.TypePredicate. matches(EntityType<?> p_209368_1_)
EntityPredicate.Builder
EntityPredicate.Builder. of(EntityType<?> p_203998_1_)
static EntityTypePredicate
EntityTypePredicate. of(EntityType<?> p_217999_0_)
Method parameters in net.minecraft.advancements.criterion with type arguments of type EntityType Modifier and Type Method Description EntityPredicate.Builder
EntityPredicate.Builder. of(ITag<EntityType<?>> p_217989_1_)
static EntityTypePredicate
EntityTypePredicate. of(ITag<EntityType<?>> p_217998_0_)
Constructors in net.minecraft.advancements.criterion with parameters of type EntityType Constructor Description TypePredicate(EntityType<?> p_i50556_1_)
Constructor parameters in net.minecraft.advancements.criterion with type arguments of type EntityType Constructor Description TagPredicate(ITag<EntityType<?>> p_i50558_1_)
-
Uses of EntityType in net.minecraft.block
Fields in net.minecraft.block with type parameters of type EntityType Modifier and Type Field Description private AbstractBlock.IExtendedPositionPredicate<EntityType<?>>
AbstractBlock.Properties. isValidSpawn
Methods in net.minecraft.block with parameters of type EntityType Modifier and Type Method Description private static java.lang.Boolean
Blocks. always(BlockState p_235437_0_, IBlockReader p_235437_1_, BlockPos p_235437_2_, EntityType<?> p_235437_3_)
private static java.util.Optional<Vector3d>
BedBlock. findBunkBedStandUpPosition(EntityType<?> p_242653_0_, ICollisionReader p_242653_1_, BlockPos p_242653_2_, Direction p_242653_3_, Direction p_242653_4_)
static java.util.Optional<Vector3d>
BedBlock. findStandUpPosition(EntityType<?> p_242652_0_, ICollisionReader p_242652_1_, BlockPos p_242652_2_, float p_242652_3_)
static java.util.Optional<Vector3d>
RespawnAnchorBlock. findStandUpPosition(EntityType<?> p_235560_0_, ICollisionReader p_235560_1_, BlockPos p_235560_2_)
private static java.util.Optional<Vector3d>
RespawnAnchorBlock. findStandUpPosition(EntityType<?> p_242678_0_, ICollisionReader p_242678_1_, BlockPos p_242678_2_, boolean p_242678_3_)
private static java.util.Optional<Vector3d>
BedBlock. findStandUpPositionAtOffset(EntityType<?> p_242654_0_, ICollisionReader p_242654_1_, BlockPos p_242654_2_, int[][] p_242654_3_, boolean p_242654_4_)
boolean
AbstractBlock.AbstractBlockState. isValidSpawn(IBlockReader p_215688_1_, BlockPos p_215688_2_, EntityType<?> p_215688_3_)
private static java.lang.Boolean
Blocks. never(BlockState p_235427_0_, IBlockReader p_235427_1_, BlockPos p_235427_2_, EntityType<?> p_235427_3_)
private static java.lang.Boolean
Blocks. ocelotOrParrot(BlockState p_235441_0_, IBlockReader p_235441_1_, BlockPos p_235441_2_, EntityType<?> p_235441_3_)
Method parameters in net.minecraft.block with type arguments of type EntityType Modifier and Type Method Description AbstractBlock.Properties
AbstractBlock.Properties. isValidSpawn(AbstractBlock.IExtendedPositionPredicate<EntityType<?>> p_235827_1_)
-
Uses of EntityType in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as EntityType Modifier and Type Field Description private EntityType<?>
StatsScreen.MobStatsList.Entry. type
Constructors in net.minecraft.client.gui.screen with parameters of type EntityType Constructor Description Entry(EntityType<?> p_i50018_2_)
-
Uses of EntityType in net.minecraft.client.renderer.entity
Fields in net.minecraft.client.renderer.entity with type parameters of type EntityType Modifier and Type Field Description private static java.util.Map<EntityType<?>,ResourceLocation>
ChestedHorseRenderer. MAP
private static java.util.Map<EntityType<?>,ResourceLocation>
UndeadHorseRenderer. MAP
java.util.Map<EntityType<?>,EntityRenderer<?>>
EntityRendererManager. renderers
private static java.util.Map<EntityType<?>,ResourceLocation>
PiglinRenderer. resourceLocations
Methods in net.minecraft.client.renderer.entity with parameters of type EntityType Modifier and Type Method Description <T extends Entity>
voidEntityRendererManager. register(EntityType<T> p_229087_1_, EntityRenderer<? super T> p_229087_2_)
-
Uses of EntityType in net.minecraft.command.arguments
Fields in net.minecraft.command.arguments declared as EntityType Modifier and Type Field Description private EntityType<?>
EntitySelector. type
private EntityType<?>
EntitySelectorParser. type
Methods in net.minecraft.command.arguments with parameters of type EntityType Modifier and Type Method Description void
EntitySelectorParser. limitToType(EntityType<?> p_218114_1_)
Constructors in net.minecraft.command.arguments with parameters of type EntityType Constructor Description EntitySelector(int p_i50800_1_, boolean p_i50800_2_, boolean p_i50800_3_, java.util.function.Predicate<Entity> p_i50800_4_, MinMaxBounds.FloatBound p_i50800_5_, java.util.function.Function<Vector3d,Vector3d> p_i50800_6_, AxisAlignedBB p_i50800_7_, java.util.function.BiConsumer<Vector3d,java.util.List<? extends Entity>> p_i50800_8_, boolean p_i50800_9_, java.lang.String p_i50800_10_, java.util.UUID p_i50800_11_, EntityType<?> p_i50800_12_, boolean p_i50800_13_)
-
Uses of EntityType in net.minecraft.data.advancements
Fields in net.minecraft.data.advancements declared as EntityType Modifier and Type Field Description private static EntityType<?>[]
HusbandryAdvancements. BREEDABLE_ANIMALS
private static EntityType<?>[]
AdventureAdvancements. MOBS_TO_KILL
-
Uses of EntityType in net.minecraft.data.loot
Fields in net.minecraft.data.loot with type parameters of type EntityType Modifier and Type Field Description private static java.util.Set<EntityType<?>>
EntityLootTables. SPECIAL_LOOT_TABLE_TYPES
Methods in net.minecraft.data.loot that return types with arguments of type EntityType Modifier and Type Method Description protected java.lang.Iterable<EntityType<?>>
EntityLootTables. getKnownEntities()
Methods in net.minecraft.data.loot with parameters of type EntityType Modifier and Type Method Description protected void
EntityLootTables. add(EntityType<?> p_218582_1_, LootTable.Builder p_218582_2_)
protected boolean
EntityLootTables. isNonLiving(EntityType<?> entitytype)
-
Uses of EntityType in net.minecraft.entity
Fields in net.minecraft.entity with type parameters of type EntityType Modifier and Type Field Description private static java.util.Map<EntityType<?>,EntitySpawnPlacementRegistry.Entry>
EntitySpawnPlacementRegistry. DATA_BY_TYPE
private TriPredicate<IWorldReader,BlockPos,EntityType<?>>
EntitySpawnPlacementRegistry.PlacementType. predicate
private ReverseTagWrapper<EntityType<?>>
EntityType. reverseTags
private java.util.function.ToIntFunction<EntityType<?>>
EntityType.Builder. trackingRangeSupplier
private java.util.function.ToIntFunction<EntityType<?>>
EntityType. trackingRangeSupplier
private java.util.function.ToIntFunction<EntityType<?>>
EntityType.Builder. updateIntervalSupplier
private java.util.function.ToIntFunction<EntityType<?>>
EntityType. updateIntervalSupplier
private java.util.function.Predicate<EntityType<?>>
EntityType.Builder. velocityUpdateSupplier
private java.util.function.Predicate<EntityType<?>>
EntityType. velocityUpdateSupplier
Methods in net.minecraft.entity that return EntityType Modifier and Type Method Description EntityType<T>
EntityType.Builder. build(java.lang.String p_206830_1_)
EntityType<?>
Entity. getType()
private static <T extends Entity>
EntityType<T>EntityType. register(java.lang.String p_200712_0_, EntityType.Builder<T> p_200712_1_)
Methods in net.minecraft.entity that return types with arguments of type EntityType Modifier and Type Method Description static java.util.Optional<EntityType<?>>
EntityType. by(CompoundNBT p_220347_0_)
static java.util.Optional<EntityType<?>>
EntityType. byString(java.lang.String p_220327_0_)
Methods in net.minecraft.entity with parameters of type EntityType Modifier and Type Method Description boolean
LivingEntity. canAttackType(EntityType<?> p_213358_1_)
boolean
MobEntity. canAttackType(EntityType<?> p_213358_1_)
boolean
EntitySpawnPlacementRegistry.PlacementType. canSpawnAt(IWorldReader world, BlockPos pos, EntityType<?> type)
static boolean
MobEntity. checkMobSpawnRules(EntityType<? extends MobEntity> p_223315_0_, IWorld p_223315_1_, SpawnReason p_223315_2_, BlockPos p_223315_3_, java.util.Random p_223315_4_)
static <T extends Entity>
booleanEntitySpawnPlacementRegistry. checkSpawnRules(EntityType<T> p_223515_0_, IServerWorld p_223515_1_, SpawnReason p_223515_2_, BlockPos p_223515_3_, java.util.Random p_223515_4_)
<T extends MobEntity>
TMobEntity. convertTo(EntityType<T> p_233656_1_, boolean p_233656_2_)
private static Entity
EntityType. create(World p_200719_0_, EntityType<?> p_200719_1_)
T
EntityType.IFactory. create(EntityType<T> p_create_1_, World p_create_2_)
static Heightmap.Type
EntitySpawnPlacementRegistry. getHeightmapType(EntityType<?> p_209342_0_)
static ResourceLocation
EntityType. getKey(EntityType<?> p_200718_0_)
static EntitySpawnPlacementRegistry.PlacementType
EntitySpawnPlacementRegistry. getPlacementType(EntityType<?> p_209344_0_)
static <T extends MobEntity>
voidEntitySpawnPlacementRegistry. register(EntityType<T> p_209343_0_, EntitySpawnPlacementRegistry.PlacementType p_209343_1_, Heightmap.Type p_209343_2_, EntitySpawnPlacementRegistry.IPlacementPredicate<T> p_209343_3_)
boolean
EntitySpawnPlacementRegistry.IPlacementPredicate. test(EntityType<T> p_test_1_, IServerWorld p_test_2_, SpawnReason p_test_3_, BlockPos p_test_4_, java.util.Random p_test_5_)
Method parameters in net.minecraft.entity with type arguments of type EntityType Modifier and Type Method Description static EntitySpawnPlacementRegistry.PlacementType
EntitySpawnPlacementRegistry.PlacementType. create(java.lang.String name, TriPredicate<IWorldReader,BlockPos,EntityType<? extends MobEntity>> predicate)
boolean
EntityType. is(ITag<EntityType<?>> p_220341_1_)
Constructors in net.minecraft.entity with parameters of type EntityType Constructor Description AgeableEntity(EntityType<? extends AgeableEntity> p_i48581_1_, World p_i48581_2_)
AreaEffectCloudEntity(EntityType<? extends AreaEffectCloudEntity> p_i50389_1_, World p_i50389_2_)
CreatureEntity(EntityType<? extends CreatureEntity> p_i48575_1_, World p_i48575_2_)
Entity(EntityType<?> p_i48580_1_, World p_i48580_2_)
FlyingEntity(EntityType<? extends FlyingEntity> p_i48578_1_, World p_i48578_2_)
LivingEntity(EntityType<? extends LivingEntity> p_i48577_1_, World p_i48577_2_)
MobEntity(EntityType<? extends MobEntity> p_i48576_1_, World p_i48576_2_)
Constructor parameters in net.minecraft.entity with type arguments of type EntityType Constructor Description EntityType(EntityType.IFactory<T> p_i231489_1_, EntityClassification p_i231489_2_, boolean p_i231489_3_, boolean p_i231489_4_, boolean p_i231489_5_, boolean p_i231489_6_, com.google.common.collect.ImmutableSet<Block> p_i231489_7_, EntitySize p_i231489_8_, int p_i231489_9_, int p_i231489_10_, java.util.function.Predicate<EntityType<?>> velocityUpdateSupplier, java.util.function.ToIntFunction<EntityType<?>> trackingRangeSupplier, java.util.function.ToIntFunction<EntityType<?>> updateIntervalSupplier, java.util.function.BiFunction<FMLPlayMessages.SpawnEntity,World,T> customClientFactory)
EntityType(EntityType.IFactory<T> p_i231489_1_, EntityClassification p_i231489_2_, boolean p_i231489_3_, boolean p_i231489_4_, boolean p_i231489_5_, boolean p_i231489_6_, com.google.common.collect.ImmutableSet<Block> p_i231489_7_, EntitySize p_i231489_8_, int p_i231489_9_, int p_i231489_10_, java.util.function.Predicate<EntityType<?>> velocityUpdateSupplier, java.util.function.ToIntFunction<EntityType<?>> trackingRangeSupplier, java.util.function.ToIntFunction<EntityType<?>> updateIntervalSupplier, java.util.function.BiFunction<FMLPlayMessages.SpawnEntity,World,T> customClientFactory)
PlacementType(TriPredicate<IWorldReader,BlockPos,EntityType<?>> predicate)
-
Uses of EntityType in net.minecraft.entity.ai.attributes
Fields in net.minecraft.entity.ai.attributes with type parameters of type EntityType Modifier and Type Field Description private static java.util.Map<EntityType<? extends LivingEntity>,AttributeModifierMap>
GlobalEntityTypeAttributes. FORGE_ATTRIBUTES
Deprecated.private static java.util.Map<EntityType<? extends LivingEntity>,AttributeModifierMap>
GlobalEntityTypeAttributes. SUPPLIERS
Methods in net.minecraft.entity.ai.attributes with parameters of type EntityType Modifier and Type Method Description static AttributeModifierMap
GlobalEntityTypeAttributes. getSupplier(EntityType<? extends LivingEntity> p_233835_0_)
static boolean
GlobalEntityTypeAttributes. hasSupplier(EntityType<?> p_233837_0_)
static AttributeModifierMap
GlobalEntityTypeAttributes. put(EntityType<? extends LivingEntity> type, AttributeModifierMap map)
Deprecated. -
Uses of EntityType in net.minecraft.entity.ai.brain
Methods in net.minecraft.entity.ai.brain with parameters of type EntityType Modifier and Type Method Description static boolean
BrainUtil. targetIsValid(Brain<?> p_220623_0_, MemoryModuleType<? extends LivingEntity> p_220623_1_, EntityType<?> p_220623_2_)
-
Uses of EntityType in net.minecraft.entity.ai.brain.sensor
Fields in net.minecraft.entity.ai.brain.sensor with type parameters of type EntityType Modifier and Type Field Description private static com.google.common.collect.ImmutableMap<EntityType<?>,java.lang.Float>
VillagerHostilesSensor. ACCEPTABLE_DISTANCE_FROM_HOSTILES
-
Uses of EntityType in net.minecraft.entity.ai.brain.task
Fields in net.minecraft.entity.ai.brain.task declared as EntityType Modifier and Type Field Description private EntityType<? extends AnimalEntity>
AnimalBreedTask. partnerType
private EntityType<?>
FindInteractionAndLookTargetTask. type
private EntityType<? extends T>
InteractWithEntityTask. type
Methods in net.minecraft.entity.ai.brain.task with parameters of type EntityType Modifier and Type Method Description static <T extends LivingEntity>
InteractWithEntityTask<LivingEntity,T>InteractWithEntityTask. of(EntityType<? extends T> p_220445_0_, int p_220445_1_, MemoryModuleType<T> p_220445_2_, float p_220445_3_, int p_220445_4_)
Constructors in net.minecraft.entity.ai.brain.task with parameters of type EntityType Constructor Description AnimalBreedTask(EntityType<? extends AnimalEntity> p_i231506_1_, float p_i231506_2_)
FindInteractionAndLookTargetTask(EntityType<?> p_i50348_1_, int p_i50348_2_)
FindInteractionAndLookTargetTask(EntityType<?> p_i50347_1_, int p_i50347_2_, java.util.function.Predicate<LivingEntity> p_i50347_3_, java.util.function.Predicate<LivingEntity> p_i50347_4_)
InteractWithEntityTask(EntityType<? extends T> p_i50363_1_, int p_i50363_2_, java.util.function.Predicate<E> p_i50363_3_, java.util.function.Predicate<T> p_i50363_4_, MemoryModuleType<T> p_i50363_5_, float p_i50363_6_, int p_i50363_7_)
LookAtEntityTask(EntityType<?> p_i50351_1_, float p_i50351_2_)
-
Uses of EntityType in net.minecraft.entity.boss
Constructors in net.minecraft.entity.boss with parameters of type EntityType Constructor Description WitherEntity(EntityType<? extends WitherEntity> p_i50226_1_, World p_i50226_2_)
-
Uses of EntityType in net.minecraft.entity.boss.dragon
Constructors in net.minecraft.entity.boss.dragon with parameters of type EntityType Constructor Description EnderDragonEntity(EntityType<? extends EnderDragonEntity> p_i50230_1_, World p_i50230_2_)
-
Uses of EntityType in net.minecraft.entity.effect
Constructors in net.minecraft.entity.effect with parameters of type EntityType Constructor Description LightningBoltEntity(EntityType<? extends LightningBoltEntity> p_i231491_1_, World p_i231491_2_)
-
Uses of EntityType in net.minecraft.entity.item
-
Uses of EntityType in net.minecraft.entity.item.minecart
Constructors in net.minecraft.entity.item.minecart with parameters of type EntityType Constructor Description AbstractMinecartEntity(EntityType<?> p_i48538_1_, World p_i48538_2_)
AbstractMinecartEntity(EntityType<?> p_i48539_1_, World p_i48539_2_, double p_i48539_3_, double p_i48539_5_, double p_i48539_7_)
ChestMinecartEntity(EntityType<? extends ChestMinecartEntity> p_i50124_1_, World p_i50124_2_)
CommandBlockMinecartEntity(EntityType<? extends CommandBlockMinecartEntity> p_i50123_1_, World p_i50123_2_)
ContainerMinecartEntity(EntityType<?> p_i48537_1_, double p_i48537_2_, double p_i48537_4_, double p_i48537_6_, World p_i48537_8_)
ContainerMinecartEntity(EntityType<?> p_i48536_1_, World p_i48536_2_)
FurnaceMinecartEntity(EntityType<? extends FurnaceMinecartEntity> p_i50119_1_, World p_i50119_2_)
HopperMinecartEntity(EntityType<? extends HopperMinecartEntity> p_i50116_1_, World p_i50116_2_)
MinecartEntity(EntityType<?> p_i50126_1_, World p_i50126_2_)
SpawnerMinecartEntity(EntityType<? extends SpawnerMinecartEntity> p_i50114_1_, World p_i50114_2_)
TNTMinecartEntity(EntityType<? extends TNTMinecartEntity> p_i50112_1_, World p_i50112_2_)
-
Uses of EntityType in net.minecraft.entity.merchant.villager
Constructors in net.minecraft.entity.merchant.villager with parameters of type EntityType Constructor Description AbstractVillagerEntity(EntityType<? extends AbstractVillagerEntity> p_i50185_1_, World p_i50185_2_)
VillagerEntity(EntityType<? extends VillagerEntity> p_i50182_1_, World p_i50182_2_)
VillagerEntity(EntityType<? extends VillagerEntity> p_i50183_1_, World p_i50183_2_, VillagerType p_i50183_3_)
WanderingTraderEntity(EntityType<? extends WanderingTraderEntity> p_i50178_1_, World p_i50178_2_)
-
Uses of EntityType in net.minecraft.entity.monster
Methods in net.minecraft.entity.monster that return EntityType Modifier and Type Method Description EntityType<? extends SlimeEntity>
SlimeEntity. getType()
Methods in net.minecraft.entity.monster with parameters of type EntityType Modifier and Type Method Description boolean
PhantomEntity. canAttackType(EntityType<?> p_213358_1_)
static boolean
MonsterEntity. checkAnyLightMonsterSpawnRules(EntityType<? extends MonsterEntity> p_223324_0_, IWorld p_223324_1_, SpawnReason p_223324_2_, BlockPos p_223324_3_, java.util.Random p_223324_4_)
static boolean
DrownedEntity. checkDrownedSpawnRules(EntityType<DrownedEntity> p_223332_0_, IServerWorld p_223332_1_, SpawnReason p_223332_2_, BlockPos p_223332_3_, java.util.Random p_223332_4_)
static boolean
EndermiteEntity. checkEndermiteSpawnRules(EntityType<EndermiteEntity> p_223328_0_, IWorld p_223328_1_, SpawnReason p_223328_2_, BlockPos p_223328_3_, java.util.Random p_223328_4_)
static boolean
GhastEntity. checkGhastSpawnRules(EntityType<GhastEntity> p_223368_0_, IWorld p_223368_1_, SpawnReason p_223368_2_, BlockPos p_223368_3_, java.util.Random p_223368_4_)
static boolean
GuardianEntity. checkGuardianSpawnRules(EntityType<? extends GuardianEntity> p_223329_0_, IWorld p_223329_1_, SpawnReason p_223329_2_, BlockPos p_223329_3_, java.util.Random p_223329_4_)
static boolean
HoglinEntity. checkHoglinSpawnRules(EntityType<HoglinEntity> p_234361_0_, IWorld p_234361_1_, SpawnReason p_234361_2_, BlockPos p_234361_3_, java.util.Random p_234361_4_)
static boolean
HuskEntity. checkHuskSpawnRules(EntityType<HuskEntity> p_223334_0_, IServerWorld p_223334_1_, SpawnReason p_223334_2_, BlockPos p_223334_3_, java.util.Random p_223334_4_)
static boolean
MagmaCubeEntity. checkMagmaCubeSpawnRules(EntityType<MagmaCubeEntity> p_223367_0_, IWorld p_223367_1_, SpawnReason p_223367_2_, BlockPos p_223367_3_, java.util.Random p_223367_4_)
static boolean
MonsterEntity. checkMonsterSpawnRules(EntityType<? extends MonsterEntity> p_223325_0_, IServerWorld p_223325_1_, SpawnReason p_223325_2_, BlockPos p_223325_3_, java.util.Random p_223325_4_)
static boolean
PatrollerEntity. checkPatrollingMonsterSpawnRules(EntityType<? extends PatrollerEntity> p_223330_0_, IWorld p_223330_1_, SpawnReason p_223330_2_, BlockPos p_223330_3_, java.util.Random p_223330_4_)
static boolean
SlimeEntity. checkSlimeSpawnRules(EntityType<SlimeEntity> p_223366_0_, IWorld p_223366_1_, SpawnReason p_223366_2_, BlockPos p_223366_3_, java.util.Random p_223366_4_)
static boolean
SilverfishEntity. checkSliverfishSpawnRules(EntityType<SilverfishEntity> p_223331_0_, IWorld p_223331_1_, SpawnReason p_223331_2_, BlockPos p_223331_3_, java.util.Random p_223331_4_)
static boolean
StrayEntity. checkStraySpawnRules(EntityType<StrayEntity> p_223327_0_, IServerWorld p_223327_1_, SpawnReason p_223327_2_, BlockPos p_223327_3_, java.util.Random p_223327_4_)
static boolean
ZombifiedPiglinEntity. checkZombifiedPiglinSpawnRules(EntityType<ZombifiedPiglinEntity> p_234351_0_, IWorld p_234351_1_, SpawnReason p_234351_2_, BlockPos p_234351_3_, java.util.Random p_234351_4_)
protected void
ZombieEntity. convertToZombieType(EntityType<? extends ZombieEntity> p_234341_1_)
-
Uses of EntityType in net.minecraft.entity.monster.piglin
Methods in net.minecraft.entity.monster.piglin with parameters of type EntityType Modifier and Type Method Description static boolean
PiglinEntity. checkPiglinSpawnRules(EntityType<PiglinEntity> p_234418_0_, IWorld p_234418_1_, SpawnReason p_234418_2_, BlockPos p_234418_3_, java.util.Random p_234418_4_)
static boolean
PiglinTasks. isZombified(EntityType p_234459_0_)
Constructors in net.minecraft.entity.monster.piglin with parameters of type EntityType Constructor Description AbstractPiglinEntity(EntityType<? extends AbstractPiglinEntity> p_i241915_1_, World p_i241915_2_)
PiglinBruteEntity(EntityType<? extends PiglinBruteEntity> p_i241917_1_, World p_i241917_2_)
PiglinEntity(EntityType<? extends AbstractPiglinEntity> p_i231570_1_, World p_i231570_2_)
-
Uses of EntityType in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive with type parameters of type EntityType Modifier and Type Field Description private static java.util.Map<EntityType<?>,SoundEvent>
ParrotEntity. MOB_SOUND_MAP
Methods in net.minecraft.entity.passive with parameters of type EntityType Modifier and Type Method Description boolean
IronGolemEntity. canAttackType(EntityType<?> p_213358_1_)
static boolean
AnimalEntity. checkAnimalSpawnRules(EntityType<? extends AnimalEntity> p_223316_0_, IWorld p_223316_1_, SpawnReason p_223316_2_, BlockPos p_223316_3_, java.util.Random p_223316_4_)
static boolean
BatEntity. checkBatSpawnRules(EntityType<BatEntity> p_223369_0_, IWorld p_223369_1_, SpawnReason p_223369_2_, BlockPos p_223369_3_, java.util.Random p_223369_4_)
static boolean
DolphinEntity. checkDolphinSpawnRules(EntityType<DolphinEntity> p_223364_0_, IWorld p_223364_1_, SpawnReason p_223364_2_, BlockPos p_223364_3_, java.util.Random p_223364_4_)
static boolean
MooshroomEntity. checkMushroomSpawnRules(EntityType<MooshroomEntity> p_223318_0_, IWorld p_223318_1_, SpawnReason p_223318_2_, BlockPos p_223318_3_, java.util.Random p_223318_4_)
static boolean
OcelotEntity. checkOcelotSpawnRules(EntityType<OcelotEntity> p_223319_0_, IWorld p_223319_1_, SpawnReason p_223319_2_, BlockPos p_223319_3_, java.util.Random p_223319_4_)
static boolean
ParrotEntity. checkParrotSpawnRules(EntityType<ParrotEntity> p_223317_0_, IWorld p_223317_1_, SpawnReason p_223317_2_, BlockPos p_223317_3_, java.util.Random p_223317_4_)
static boolean
PolarBearEntity. checkPolarBearSpawnRules(EntityType<PolarBearEntity> p_223320_0_, IWorld p_223320_1_, SpawnReason p_223320_2_, BlockPos p_223320_3_, java.util.Random p_223320_4_)
static boolean
RabbitEntity. checkRabbitSpawnRules(EntityType<RabbitEntity> p_223321_0_, IWorld p_223321_1_, SpawnReason p_223321_2_, BlockPos p_223321_3_, java.util.Random p_223321_4_)
static boolean
SquidEntity. checkSquidSpawnRules(EntityType<SquidEntity> p_223365_0_, IWorld p_223365_1_, SpawnReason p_223365_2_, BlockPos p_223365_3_, java.util.Random p_223365_4_)
static boolean
StriderEntity. checkStriderSpawnRules(EntityType<StriderEntity> p_234314_0_, IWorld p_234314_1_, SpawnReason p_234314_2_, BlockPos p_234314_3_, java.util.Random p_234314_4_)
static boolean
TurtleEntity. checkTurtleSpawnRules(EntityType<TurtleEntity> p_223322_0_, IWorld p_223322_1_, SpawnReason p_223322_2_, BlockPos p_223322_3_, java.util.Random p_223322_4_)
private static SoundEvent
ParrotEntity. getImitatedSound(EntityType<?> p_200610_0_)
Constructors in net.minecraft.entity.passive with parameters of type EntityType Constructor Description AmbientEntity(EntityType<? extends AmbientEntity> p_i48570_1_, World p_i48570_2_)
AnimalEntity(EntityType<? extends AnimalEntity> p_i48568_1_, World p_i48568_2_)
BatEntity(EntityType<? extends BatEntity> p_i50290_1_, World p_i50290_2_)
BeeEntity(EntityType<? extends BeeEntity> p_i225714_1_, World p_i225714_2_)
CatEntity(EntityType<? extends CatEntity> p_i50284_1_, World p_i50284_2_)
ChickenEntity(EntityType<? extends ChickenEntity> p_i50282_1_, World p_i50282_2_)
CowEntity(EntityType<? extends CowEntity> p_i48567_1_, World p_i48567_2_)
DolphinEntity(EntityType<? extends DolphinEntity> p_i50275_1_, World p_i50275_2_)
FoxEntity(EntityType<? extends FoxEntity> p_i50271_1_, World p_i50271_2_)
GolemEntity(EntityType<? extends GolemEntity> p_i48569_1_, World p_i48569_2_)
IronGolemEntity(EntityType<? extends IronGolemEntity> p_i50267_1_, World p_i50267_2_)
MooshroomEntity(EntityType<? extends MooshroomEntity> p_i50257_1_, World p_i50257_2_)
OcelotEntity(EntityType<? extends OcelotEntity> p_i50254_1_, World p_i50254_2_)
PandaEntity(EntityType<? extends PandaEntity> p_i50252_1_, World p_i50252_2_)
ParrotEntity(EntityType<? extends ParrotEntity> p_i50251_1_, World p_i50251_2_)
PigEntity(EntityType<? extends PigEntity> p_i50250_1_, World p_i50250_2_)
PolarBearEntity(EntityType<? extends PolarBearEntity> p_i50249_1_, World p_i50249_2_)
RabbitEntity(EntityType<? extends RabbitEntity> p_i50247_1_, World p_i50247_2_)
SheepEntity(EntityType<? extends SheepEntity> p_i50245_1_, World p_i50245_2_)
ShoulderRidingEntity(EntityType<? extends ShoulderRidingEntity> p_i48566_1_, World p_i48566_2_)
SnowGolemEntity(EntityType<? extends SnowGolemEntity> p_i50244_1_, World p_i50244_2_)
SquidEntity(EntityType<? extends SquidEntity> p_i50243_1_, World p_i50243_2_)
StriderEntity(EntityType<? extends StriderEntity> p_i231562_1_, World p_i231562_2_)
TameableEntity(EntityType<? extends TameableEntity> p_i48574_1_, World p_i48574_2_)
TurtleEntity(EntityType<? extends TurtleEntity> p_i50241_1_, World p_i50241_2_)
WaterMobEntity(EntityType<? extends WaterMobEntity> p_i48565_1_, World p_i48565_2_)
WolfEntity(EntityType<? extends WolfEntity> p_i50240_1_, World p_i50240_2_)
-
Uses of EntityType in net.minecraft.entity.passive.fish
Methods in net.minecraft.entity.passive.fish with parameters of type EntityType Modifier and Type Method Description static boolean
AbstractFishEntity. checkFishSpawnRules(EntityType<? extends AbstractFishEntity> p_223363_0_, IWorld p_223363_1_, SpawnReason p_223363_2_, BlockPos p_223363_3_, java.util.Random p_223363_4_)
Constructors in net.minecraft.entity.passive.fish with parameters of type EntityType Constructor Description AbstractFishEntity(EntityType<? extends AbstractFishEntity> p_i48855_1_, World p_i48855_2_)
AbstractGroupFishEntity(EntityType<? extends AbstractGroupFishEntity> p_i49856_1_, World p_i49856_2_)
CodEntity(EntityType<? extends CodEntity> p_i50279_1_, World p_i50279_2_)
PufferfishEntity(EntityType<? extends PufferfishEntity> p_i50248_1_, World p_i50248_2_)
SalmonEntity(EntityType<? extends SalmonEntity> p_i50246_1_, World p_i50246_2_)
TropicalFishEntity(EntityType<? extends TropicalFishEntity> p_i50242_1_, World p_i50242_2_)
-
Uses of EntityType in net.minecraft.entity.passive.horse
Constructors in net.minecraft.entity.passive.horse with parameters of type EntityType Constructor Description AbstractChestedHorseEntity(EntityType<? extends AbstractChestedHorseEntity> p_i48564_1_, World p_i48564_2_)
AbstractHorseEntity(EntityType<? extends AbstractHorseEntity> p_i48563_1_, World p_i48563_2_)
DonkeyEntity(EntityType<? extends DonkeyEntity> p_i50239_1_, World p_i50239_2_)
HorseEntity(EntityType<? extends HorseEntity> p_i50238_1_, World p_i50238_2_)
LlamaEntity(EntityType<? extends LlamaEntity> p_i50237_1_, World p_i50237_2_)
MuleEntity(EntityType<? extends MuleEntity> p_i50236_1_, World p_i50236_2_)
SkeletonHorseEntity(EntityType<? extends SkeletonHorseEntity> p_i50235_1_, World p_i50235_2_)
TraderLlamaEntity(EntityType<? extends TraderLlamaEntity> p_i50234_1_, World p_i50234_2_)
ZombieHorseEntity(EntityType<? extends ZombieHorseEntity> p_i50233_1_, World p_i50233_2_)
-
Uses of EntityType in net.minecraft.entity.projectile
Constructors in net.minecraft.entity.projectile with parameters of type EntityType Constructor Description AbstractArrowEntity(EntityType<? extends AbstractArrowEntity> p_i48547_1_, double p_i48547_2_, double p_i48547_4_, double p_i48547_6_, World p_i48547_8_)
AbstractArrowEntity(EntityType<? extends AbstractArrowEntity> p_i48548_1_, LivingEntity p_i48548_2_, World p_i48548_3_)
AbstractArrowEntity(EntityType<? extends AbstractArrowEntity> p_i48546_1_, World p_i48546_2_)
AbstractFireballEntity(EntityType<? extends AbstractFireballEntity> p_i50167_1_, double p_i50167_2_, double p_i50167_4_, double p_i50167_6_, double p_i50167_8_, double p_i50167_10_, double p_i50167_12_, World p_i50167_14_)
AbstractFireballEntity(EntityType<? extends AbstractFireballEntity> p_i50168_1_, LivingEntity p_i50168_2_, double p_i50168_3_, double p_i50168_5_, double p_i50168_7_, World p_i50168_9_)
AbstractFireballEntity(EntityType<? extends AbstractFireballEntity> p_i50166_1_, World p_i50166_2_)
ArrowEntity(EntityType<? extends ArrowEntity> p_i50172_1_, World p_i50172_2_)
DamagingProjectileEntity(EntityType<? extends DamagingProjectileEntity> p_i50174_1_, double p_i50174_2_, double p_i50174_4_, double p_i50174_6_, double p_i50174_8_, double p_i50174_10_, double p_i50174_12_, World p_i50174_14_)
DamagingProjectileEntity(EntityType<? extends DamagingProjectileEntity> p_i50175_1_, LivingEntity p_i50175_2_, double p_i50175_3_, double p_i50175_5_, double p_i50175_7_, World p_i50175_9_)
DamagingProjectileEntity(EntityType<? extends DamagingProjectileEntity> p_i50173_1_, World p_i50173_2_)
DragonFireballEntity(EntityType<? extends DragonFireballEntity> p_i50171_1_, World p_i50171_2_)
EggEntity(EntityType<? extends EggEntity> p_i50154_1_, World p_i50154_2_)
EvokerFangsEntity(EntityType<? extends EvokerFangsEntity> p_i50170_1_, World p_i50170_2_)
EyeOfEnderEntity(EntityType<? extends EyeOfEnderEntity> p_i50169_1_, World p_i50169_2_)
FireballEntity(EntityType<? extends FireballEntity> p_i50163_1_, World p_i50163_2_)
FireworkRocketEntity(EntityType<? extends FireworkRocketEntity> p_i50164_1_, World p_i50164_2_)
LlamaSpitEntity(EntityType<? extends LlamaSpitEntity> p_i50162_1_, World p_i50162_2_)
PotionEntity(EntityType<? extends PotionEntity> p_i50149_1_, World p_i50149_2_)
ProjectileEntity(EntityType<? extends ProjectileEntity> p_i231584_1_, World p_i231584_2_)
ProjectileItemEntity(EntityType<? extends ProjectileItemEntity> p_i50156_1_, double p_i50156_2_, double p_i50156_4_, double p_i50156_6_, World p_i50156_8_)
ProjectileItemEntity(EntityType<? extends ProjectileItemEntity> p_i50157_1_, LivingEntity p_i50157_2_, World p_i50157_3_)
ProjectileItemEntity(EntityType<? extends ProjectileItemEntity> p_i50155_1_, World p_i50155_2_)
ShulkerBulletEntity(EntityType<? extends ShulkerBulletEntity> p_i50161_1_, World p_i50161_2_)
SmallFireballEntity(EntityType<? extends SmallFireballEntity> p_i50160_1_, World p_i50160_2_)
SnowballEntity(EntityType<? extends SnowballEntity> p_i50159_1_, World p_i50159_2_)
SpectralArrowEntity(EntityType<? extends SpectralArrowEntity> p_i50158_1_, World p_i50158_2_)
ThrowableEntity(EntityType<? extends ThrowableEntity> p_i48541_1_, double p_i48541_2_, double p_i48541_4_, double p_i48541_6_, World p_i48541_8_)
ThrowableEntity(EntityType<? extends ThrowableEntity> p_i48542_1_, LivingEntity p_i48542_2_, World p_i48542_3_)
ThrowableEntity(EntityType<? extends ThrowableEntity> p_i48540_1_, World p_i48540_2_)
TridentEntity(EntityType<? extends TridentEntity> p_i50148_1_, World p_i50148_2_)
WitherSkullEntity(EntityType<? extends WitherSkullEntity> p_i50147_1_, World p_i50147_2_)
-
Uses of EntityType in net.minecraft.item
Fields in net.minecraft.item declared as EntityType Modifier and Type Field Description private EntityType<T>
OnAStickItem. canInteractWith
private EntityType<?>
SpawnEggItem. defaultType
private EntityType<?>
FishBucketItem. type
private EntityType<? extends HangingEntity>
HangingEntityItem. type
Fields in net.minecraft.item with type parameters of type EntityType Modifier and Type Field Description private static java.util.Map<EntityType<?>,SpawnEggItem>
SpawnEggItem. BY_ID
private java.util.function.Supplier<? extends EntityType<?>>
FishBucketItem. fishTypeSupplier
Methods in net.minecraft.item that return EntityType Modifier and Type Method Description protected EntityType<?>
FishBucketItem. getFishType()
EntityType<?>
SpawnEggItem. getType(CompoundNBT p_208076_1_)
Methods in net.minecraft.item with parameters of type EntityType Modifier and Type Method Description static SpawnEggItem
SpawnEggItem. byId(EntityType<?> p_200889_0_)
Deprecated.Forge: callForgeSpawnEggItem.fromEntityType(EntityType)
insteadjava.util.Optional<MobEntity>
SpawnEggItem. spawnOffspringFromSpawnEgg(PlayerEntity p_234809_1_, MobEntity p_234809_2_, EntityType<? extends MobEntity> p_234809_3_, ServerWorld p_234809_4_, Vector3d p_234809_5_, ItemStack p_234809_6_)
boolean
SpawnEggItem. spawnsEntity(CompoundNBT p_208077_1_, EntityType<?> p_208077_2_)
Constructors in net.minecraft.item with parameters of type EntityType Constructor Description FishBucketItem(EntityType<?> p_i49022_1_, Fluid p_i49022_2_, Item.Properties p_i49022_3_)
Deprecated.HangingEntityItem(EntityType<? extends HangingEntity> p_i50043_1_, Item.Properties p_i50043_2_)
OnAStickItem(Item.Properties p_i231594_1_, EntityType<T> p_i231594_2_, int p_i231594_3_)
SpawnEggItem(EntityType<?> p_i48465_1_, int p_i48465_2_, int p_i48465_3_, Item.Properties p_i48465_4_)
Deprecated.Forge: UseForgeSpawnEggItem
instead for suppliersConstructor parameters in net.minecraft.item with type arguments of type EntityType Constructor Description FishBucketItem(java.util.function.Supplier<? extends EntityType<?>> fishTypeIn, java.util.function.Supplier<? extends Fluid> p_i49022_2_, Item.Properties builder)
-
Uses of EntityType in net.minecraft.network.play.server
Fields in net.minecraft.network.play.server declared as EntityType Modifier and Type Field Description private EntityType<?>
SSpawnObjectPacket. type
Methods in net.minecraft.network.play.server that return EntityType Modifier and Type Method Description EntityType<?>
SSpawnObjectPacket. getType()
Constructors in net.minecraft.network.play.server with parameters of type EntityType Constructor Description SSpawnObjectPacket(int p_i50777_1_, java.util.UUID p_i50777_2_, double p_i50777_3_, double p_i50777_5_, double p_i50777_7_, float p_i50777_9_, float p_i50777_10_, EntityType<?> p_i50777_11_, int p_i50777_12_, Vector3d p_i50777_13_)
SSpawnObjectPacket(Entity p_i50779_1_, EntityType<?> p_i50779_2_, int p_i50779_3_, BlockPos p_i50779_4_)
-
Uses of EntityType in net.minecraft.stats
Fields in net.minecraft.stats with type parameters of type EntityType Modifier and Type Field Description static StatType<EntityType<?>>
Stats. ENTITY_KILLED
static StatType<EntityType<?>>
Stats. ENTITY_KILLED_BY
-
Uses of EntityType in net.minecraft.tags
Fields in net.minecraft.tags with type parameters of type EntityType Modifier and Type Field Description static ITag.INamedTag<EntityType<?>>
EntityTypeTags. ARROWS
static ITag.INamedTag<EntityType<?>>
EntityTypeTags. BEEHIVE_INHABITORS
protected TagCollectionReader<EntityType<?>>
NetworkTagManager. entityTypes
protected static TagRegistry<EntityType<?>>
EntityTypeTags. HELPER
static ITag.INamedTag<EntityType<?>>
EntityTypeTags. IMPACT_PROJECTILES
static ITag.INamedTag<EntityType<?>>
EntityTypeTags. RAIDERS
static ITag.INamedTag<EntityType<?>>
EntityTypeTags. SKELETONS
Methods in net.minecraft.tags that return types with arguments of type EntityType Modifier and Type Method Description static ITag.INamedTag<EntityType<?>>
EntityTypeTags. bind(java.lang.String p_232896_0_)
static Tags.IOptionalNamedTag<EntityType<?>>
EntityTypeTags. createOptional(ResourceLocation name)
static Tags.IOptionalNamedTag<EntityType<?>>
EntityTypeTags. createOptional(ResourceLocation name, java.util.Set<java.util.function.Supplier<EntityType<?>>> defaults)
static ITagCollection<EntityType<?>>
EntityTypeTags. getAllTags()
ITagCollection<EntityType<?>>
ITagCollectionSupplier. getEntityTypes()
static java.util.List<? extends ITag.INamedTag<EntityType<?>>>
EntityTypeTags. getWrappers()
Method parameters in net.minecraft.tags with type arguments of type EntityType Modifier and Type Method Description static Tags.IOptionalNamedTag<EntityType<?>>
EntityTypeTags. createOptional(ResourceLocation name, java.util.Set<java.util.function.Supplier<EntityType<?>>> defaults)
-
Uses of EntityType in net.minecraft.util
Methods in net.minecraft.util with parameters of type EntityType Modifier and Type Method Description static Vector3d
TransportationHelper. findSafeDismountLocation(EntityType<?> p_242379_0_, ICollisionReader p_242379_1_, BlockPos p_242379_2_, boolean p_242379_3_)
-
Uses of EntityType in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type EntityType Modifier and Type Field Description static DefaultedRegistry<EntityType<?>>
Registry. ENTITY_TYPE
Deprecated.static RegistryKey<Registry<EntityType<?>>>
Registry. ENTITY_TYPE_REGISTRY
-
Uses of EntityType in net.minecraft.util.text.event
Fields in net.minecraft.util.text.event declared as EntityType Modifier and Type Field Description EntityType<?>
HoverEvent.EntityHover. type
Constructors in net.minecraft.util.text.event with parameters of type EntityType Constructor Description EntityHover(EntityType<?> p_i232566_1_, java.util.UUID p_i232566_2_, ITextComponent p_i232566_3_)
-
Uses of EntityType in net.minecraft.world
Methods in net.minecraft.world with parameters of type EntityType Modifier and Type Method Description <T extends Entity>
java.util.List<T>World. getEntities(EntityType<T> p_217394_1_, AxisAlignedBB p_217394_2_, java.util.function.Predicate<? super T> p_217394_3_)
-
Uses of EntityType in net.minecraft.world.biome
Fields in net.minecraft.world.biome declared as EntityType Modifier and Type Field Description EntityType<?>
MobSpawnInfo.Spawners. type
Fields in net.minecraft.world.biome with type parameters of type EntityType Modifier and Type Field Description private java.util.Set<EntityType<?>>
MobSpawnInfo. costView
protected java.util.Map<EntityType<?>,MobSpawnInfo.SpawnCosts>
MobSpawnInfo.Builder. mobSpawnCosts
private java.util.Map<EntityType<?>,MobSpawnInfo.SpawnCosts>
MobSpawnInfo. mobSpawnCosts
Methods in net.minecraft.world.biome that return types with arguments of type EntityType Modifier and Type Method Description java.util.Set<EntityType<?>>
MobSpawnInfo. getEntityTypes()
Methods in net.minecraft.world.biome with parameters of type EntityType Modifier and Type Method Description MobSpawnInfo.Builder
MobSpawnInfo.Builder. addMobCharge(EntityType<?> p_242573_1_, double p_242573_2_, double p_242573_4_)
MobSpawnInfo.SpawnCosts
MobSpawnInfo. getMobSpawnCost(EntityType<?> p_242558_1_)
Constructors in net.minecraft.world.biome with parameters of type EntityType Constructor Description Spawners(EntityType<?> p_i241950_1_, int p_i241950_2_, int p_i241950_3_, int p_i241950_4_)
-
Uses of EntityType in net.minecraft.world.chunk
Methods in net.minecraft.world.chunk with parameters of type EntityType Modifier and Type Method Description <T extends Entity>
voidChunk. getEntities(EntityType<?> p_217313_1_, AxisAlignedBB p_217313_2_, java.util.List<? super T> p_217313_3_, java.util.function.Predicate<? super T> p_217313_4_)
-
Uses of EntityType in net.minecraft.world.gen.feature
Fields in net.minecraft.world.gen.feature declared as EntityType Modifier and Type Field Description private static EntityType<?>[]
DungeonsFeature. MOBS
Methods in net.minecraft.world.gen.feature that return EntityType Modifier and Type Method Description private EntityType<?>
DungeonsFeature. randomEntityId(java.util.Random p_201043_1_)
-
Uses of EntityType in net.minecraft.world.raid
Fields in net.minecraft.world.raid declared as EntityType Modifier and Type Field Description private EntityType<? extends AbstractRaiderEntity>
Raid.WaveMember. entityType
Methods in net.minecraft.world.raid with parameters of type EntityType Modifier and Type Method Description static Raid.WaveMember
Raid.WaveMember. create(java.lang.String name, EntityType<? extends AbstractRaiderEntity> typeIn, int[] waveCountsIn)
The waveCountsIn integer decides how many entities of the EntityType defined in typeIn will spawn in each wave.Constructors in net.minecraft.world.raid with parameters of type EntityType Constructor Description WaveMember(EntityType<? extends AbstractRaiderEntity> p_i50602_3_, int[] p_i50602_4_)
-
Uses of EntityType in net.minecraft.world.server
Methods in net.minecraft.world.server with parameters of type EntityType Modifier and Type Method Description java.util.List<Entity>
ServerWorld. getEntities(EntityType<?> p_217482_1_, java.util.function.Predicate<? super Entity> p_217482_2_)
-
Uses of EntityType in net.minecraft.world.spawner
Fields in net.minecraft.world.spawner declared as EntityType Modifier and Type Field Description private EntityType<?>
WorldEntitySpawner.EntityDensityManager. lastCheckedType
Methods in net.minecraft.world.spawner with parameters of type EntityType Modifier and Type Method Description private boolean
WorldEntitySpawner.EntityDensityManager. canSpawn(EntityType<?> p_234989_1_, BlockPos p_234989_2_, IChunk p_234989_3_)
static boolean
WorldEntitySpawner. canSpawnAtBody(EntitySpawnPlacementRegistry.PlacementType p_209382_0_, IWorldReader p_209382_1_, BlockPos p_209382_2_, EntityType<?> p_209382_3_)
private static MobEntity
WorldEntitySpawner. getMobForSpawn(ServerWorld p_234973_0_, EntityType<?> p_234973_1_)
private static BlockPos
WorldEntitySpawner. getTopNonCollidingPos(IWorldReader p_208498_0_, EntityType<?> p_208498_1_, int p_208498_2_, int p_208498_3_)
static boolean
WorldEntitySpawner. isSpawnPositionOk(EntitySpawnPlacementRegistry.PlacementType p_209382_0_, IWorldReader p_209382_1_, BlockPos p_209382_2_, EntityType<?> p_209382_3_)
static boolean
WorldEntitySpawner. isValidEmptySpawnBlock(IBlockReader p_234968_0_, BlockPos p_234968_1_, BlockState p_234968_2_, FluidState p_234968_3_, EntityType<?> p_234968_4_)
void
AbstractSpawner. setEntityId(EntityType<?> p_200876_1_)
boolean
WorldEntitySpawner.IDensityCheck. test(EntityType<?> p_test_1_, BlockPos p_test_2_, IChunk p_test_3_)
-
Uses of EntityType in net.minecraftforge.common
Fields in net.minecraftforge.common declared as EntityType Modifier and Type Field Description EntityType<?>
DungeonHooks.DungeonMob. type
Fields in net.minecraftforge.common with type parameters of type EntityType Modifier and Type Field Description private static java.util.Map<EntityType<? extends LivingEntity>,AttributeModifierMap>
ForgeHooks. FORGE_ATTRIBUTES
private static java.util.Map<EntityType<?>,ForgeSpawnEggItem>
ForgeSpawnEggItem. TYPE_MAP
private java.util.function.Supplier<? extends EntityType<?>>
ForgeSpawnEggItem. typeSupplier
Methods in net.minecraftforge.common that return EntityType Modifier and Type Method Description static EntityType<?>
DungeonHooks. getRandomDungeonMob(java.util.Random rand)
Gets a random mob name from the list.EntityType<?>
ForgeSpawnEggItem. getType(CompoundNBT tag)
Methods in net.minecraftforge.common that return types with arguments of type EntityType Modifier and Type Method Description static java.util.Map<EntityType<? extends LivingEntity>,AttributeModifierMap>
ForgeHooks. getAttributesView()
Deprecated.Methods in net.minecraftforge.common with parameters of type EntityType Modifier and Type Method Description static float
DungeonHooks. addDungeonMob(EntityType<?> type, int rarity)
Adds a mob to the possible list of creatures the spawner will create.static SpawnEggItem
ForgeSpawnEggItem. fromEntityType(EntityType<?> type)
static AttributeModifierMap
ForgeHooks. putAttributesOld(EntityType<? extends LivingEntity> type, AttributeModifierMap map)
Deprecated.static int
DungeonHooks. removeDungeonMob(EntityType<?> name)
Will completely remove a Mob from the dungeon spawn list.Constructors in net.minecraftforge.common with parameters of type EntityType Constructor Description DungeonMob(int weight, EntityType<?> type)
Constructor parameters in net.minecraftforge.common with type arguments of type EntityType Constructor Description ForgeSpawnEggItem(java.util.function.Supplier<? extends EntityType<?>> type, int backgroundColor, int highlightColor, Item.Properties props)
-
Uses of EntityType in net.minecraftforge.common.data
Methods in net.minecraftforge.common.data with parameters of type EntityType Modifier and Type Method Description void
LanguageProvider. add(EntityType<?> key, java.lang.String name)
Method parameters in net.minecraftforge.common.data with type arguments of type EntityType Modifier and Type Method Description void
LanguageProvider. addEntityType(java.util.function.Supplier<? extends EntityType<?>> key, java.lang.String name)
-
Uses of EntityType in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions with parameters of type EntityType Modifier and Type Method Description default boolean
IForgeBlock. canCreatureSpawn(BlockState state, IBlockReader world, BlockPos pos, EntitySpawnPlacementRegistry.PlacementType 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. canCreatureSpawn(IWorldReader world, BlockPos pos, EntitySpawnPlacementRegistry.PlacementType 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 java.util.Optional<Vector3d>
IForgeBlock. getBedSpawnPosition(EntityType<?> entityType, BlockState state, IWorldReader world, BlockPos pos, float orientation, LivingEntity sleeper)
default java.util.Optional<Vector3d>
IForgeBlockState. getBedSpawnPosition(EntityType<?> type, IWorldReader world, BlockPos pos, float orientation, LivingEntity sleeper)
default java.util.Optional<Vector3d>
IForgeBlock. getRespawnPosition(BlockState state, EntityType<?> type, IWorldReader world, BlockPos pos, float orientation, LivingEntity entity)
Returns the position that the entity is moved to upon respawning at this block.default java.util.Optional<Vector3d>
IForgeBlockState. getRespawnPosition(EntityType<?> type, IWorldReader world, BlockPos pos, float orientation, LivingEntity entity)
Returns the position that the entity is moved to upon respawning at this block. -
Uses of EntityType in net.minecraftforge.common.world
Fields in net.minecraftforge.common.world with type parameters of type EntityType Modifier and Type Field Description private java.util.Set<EntityType<?>>
MobSpawnInfoBuilder. costView
Methods in net.minecraftforge.common.world that return types with arguments of type EntityType Modifier and Type Method Description java.util.Set<EntityType<?>>
MobSpawnInfoBuilder. getEntityTypes()
Methods in net.minecraftforge.common.world with parameters of type EntityType Modifier and Type Method Description MobSpawnInfo.SpawnCosts
MobSpawnInfoBuilder. getCost(EntityType<?> type)
-
Uses of EntityType in net.minecraftforge.debug.block
Methods in net.minecraftforge.debug.block with parameters of type EntityType Modifier and Type Method Description java.util.Optional<Vector3d>
CustomRespawnTest.CustomRespawnBlock. getRespawnPosition(BlockState state, EntityType<?> type, IWorldReader world, BlockPos pos, float orientation, LivingEntity entity)
-
Uses of EntityType in net.minecraftforge.debug.item
Fields in net.minecraftforge.debug.item with type parameters of type EntityType Modifier and Type Field Description private static DeferredRegister<EntityType<?>>
ForgeSpawnEggItemTest. ENTITIES
private static RegistryObject<EntityType<PigEntity>>
ForgeSpawnEggItemTest. ENTITY
-
Uses of EntityType in net.minecraftforge.event
Methods in net.minecraftforge.event with parameters of type EntityType Modifier and Type Method Description static boolean
ForgeEventFactory. canLivingConvert(LivingEntity entity, EntityType<? extends LivingEntity> outcome, java.util.function.Consumer<java.lang.Integer> timer)
-
Uses of EntityType in net.minecraftforge.event.entity
Fields in net.minecraftforge.event.entity with type parameters of type EntityType Modifier and Type Field Description private java.util.Map<EntityType<? extends LivingEntity>,AttributeModifierMap.MutableAttribute>
EntityAttributeModificationEvent. entityAttributes
private java.util.List<EntityType<? extends LivingEntity>>
EntityAttributeModificationEvent. entityTypes
private java.util.Map<EntityType<? extends LivingEntity>,AttributeModifierMap>
EntityAttributeCreationEvent. map
Methods in net.minecraftforge.event.entity that return types with arguments of type EntityType Modifier and Type Method Description java.util.List<EntityType<? extends LivingEntity>>
EntityAttributeModificationEvent. getTypes()
Methods in net.minecraftforge.event.entity with parameters of type EntityType Modifier and Type Method Description void
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, AttributeModifierMap map)
Constructor parameters in net.minecraftforge.event.entity with type arguments of type EntityType Constructor Description EntityAttributeCreationEvent(java.util.Map<EntityType<? extends LivingEntity>,AttributeModifierMap> map)
EntityAttributeModificationEvent(java.util.Map<EntityType<? extends LivingEntity>,AttributeModifierMap.MutableAttribute> mapIn)
-
Uses of EntityType in net.minecraftforge.event.entity.living
Fields in net.minecraftforge.event.entity.living declared as EntityType Modifier and Type Field Description private EntityType<? extends LivingEntity>
LivingConversionEvent.Pre. outcome
Methods in net.minecraftforge.event.entity.living that return EntityType Modifier and Type Method Description EntityType<? extends LivingEntity>
LivingConversionEvent.Pre. getOutcome()
Gets the entity type of the new entity this living entity is converting toConstructors in net.minecraftforge.event.entity.living with parameters of type EntityType Constructor Description Pre(LivingEntity entity, EntityType<? extends LivingEntity> outcome, java.util.function.Consumer<java.lang.Integer> timer)
-
Uses of EntityType in net.minecraftforge.fml.client.registry
Fields in net.minecraftforge.fml.client.registry with type parameters of type EntityType Modifier and Type Field Description private java.util.Map<EntityType<? extends Entity>,IRenderFactory<? extends Entity>>
RenderingRegistry. entityRenderers
Methods in net.minecraftforge.fml.client.registry with parameters of type EntityType Modifier and Type Method Description private static <T extends Entity>
voidRenderingRegistry. register(EntityRendererManager manager, EntityType<T> entityType, IRenderFactory<?> renderFactory)
static <T extends Entity>
voidRenderingRegistry. registerEntityRenderingHandler(EntityType<T> entityClass, IRenderFactory<? super T> renderFactory)
Register an entity rendering handler. -
Uses of EntityType in net.minecraftforge.registries
Fields in net.minecraftforge.registries with type parameters of type EntityType Modifier and Type Field Description static IForgeRegistry<EntityType<?>>
ForgeRegistries. ENTITIES
static RegistryKey<Registry<EntityType<?>>>
ForgeRegistries.Keys. ENTITY_TYPES
-