Uses of Class
net.minecraft.entity.EntityType
-
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.TypedContextPredicate<EntityType<?>>
AbstractBlock.Settings. allowsSpawningPredicate
Methods in net.minecraft.block with parameters of type EntityType Modifier and Type Method Description boolean
AbstractBlock.AbstractBlockState. allowsSpawning(BlockView world, BlockPos pos, EntityType<?> type)
private static Boolean
Blocks. always(BlockState state, BlockView world, BlockPos pos, EntityType<?> type)
A shortcut to always returntrue
in a typed context predicate with anEntityType
, used likesettings.allowSpawning(Blocks::always)
.private static Boolean
Blocks. canSpawnOnLeaves(BlockState state, BlockView world, BlockPos pos, EntityType<?> type)
static Optional<Vec3d>
RespawnAnchorBlock. findRespawnPosition(EntityType<?> entity, CollisionView world, BlockPos pos)
private static Optional<Vec3d>
RespawnAnchorBlock. findRespawnPosition(EntityType<?> entity, CollisionView world, BlockPos pos, boolean bool)
static Optional<Vec3d>
BedBlock. findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, float float2)
private static Optional<Vec3d>
BedBlock. findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, int[][] int2, boolean bool)
private static Optional<Vec3d>
BedBlock. findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, Direction direction, Direction direction2)
private static Boolean
Blocks. never(BlockState state, BlockView world, BlockPos pos, EntityType<?> type)
A shortcut to always returnfalse
in a typed context predicate with anEntityType
, used likesettings.allowSpawning(Blocks::never)
.Method parameters in net.minecraft.block with type arguments of type EntityType Modifier and Type Method Description AbstractBlock.Settings
AbstractBlock.Settings. allowsSpawning(AbstractBlock.TypedContextPredicate<EntityType<?>> predicate)
Specifies logic that calculates whether an entity can spawn on a block. -
Uses of EntityType in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as EntityType Modifier and Type Field Description private EntityType<?>
StatsScreen.EntityStatsListWidget.Entry. entityType
Constructors in net.minecraft.client.gui.screen with parameters of type EntityType Constructor Description Entry(EntityType<?> entityType)
-
Uses of EntityType in net.minecraft.client.render.entity
Fields in net.minecraft.client.render.entity with type parameters of type EntityType Modifier and Type Field Description private static Map<EntityType<?>,EntityRendererFactory<?>>
EntityRenderers. rendererFactories
private Map<EntityType<?>,EntityRenderer<?>>
EntityRenderDispatcher. renderers
private static Map<EntityType<?>,Identifier>
DonkeyEntityRenderer. TEXTURES
private static Map<EntityType<?>,Identifier>
PiglinEntityRenderer. TEXTURES
private static Map<EntityType<?>,Identifier>
ZombieHorseEntityRenderer. TEXTURES
Methods in net.minecraft.client.render.entity that return types with arguments of type EntityType Modifier and Type Method Description static Map<EntityType<?>,EntityRenderer<?>>
EntityRenderers. reloadEntityRenderers(EntityRendererFactory.Context ctx)
Methods in net.minecraft.client.render.entity with parameters of type EntityType Modifier and Type Method Description private static <T extends Entity>
voidEntityRenderers. register(EntityType<? extends T> type, EntityRendererFactory<T> factory)
-
Uses of EntityType in net.minecraft.command
Fields in net.minecraft.command declared as EntityType Modifier and Type Field Description private @Nullable EntityType<?>
EntitySelectorReader. entityType
Methods in net.minecraft.command with parameters of type EntityType Modifier and Type Method Description void
EntitySelectorReader. setEntityType(EntityType<?> entityType)
Constructors in net.minecraft.command with parameters of type EntityType Constructor Description EntitySelector(int count, boolean includesNonPlayers, boolean localWorldOnly, Predicate<Entity> basePredicate, NumberRange.FloatRange distance, Function<Vec3d,Vec3d> positionOffset, @Nullable Box box, BiConsumer<Vec3d,List<? extends Entity>> sorter, boolean senderOnly, @Nullable String playerName, @Nullable UUID uuid, @Nullable EntityType<?> type, boolean usesAt)
-
Uses of EntityType in net.minecraft.data.server
Fields in net.minecraft.data.server declared as EntityType Modifier and Type Field Description private static EntityType<?>[]
HusbandryTabAdvancementGenerator. BREEDABLE_ANIMALS
private static EntityType<?>[]
AdventureTabAdvancementGenerator. MONSTERS
Fields in net.minecraft.data.server with type parameters of type EntityType Modifier and Type Field Description private static Set<EntityType<?>>
EntityLootTableGenerator. ENTITY_TYPES_IN_MISC_GROUP_TO_CHECK
Methods in net.minecraft.data.server with parameters of type EntityType Modifier and Type Method Description private void
EntityLootTableGenerator. register(EntityType<?> entityType, LootTable.Builder builder)
-
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 Map<EntityType<?>,SpawnRestriction.Entry>
SpawnRestriction. RESTRICTIONS
Methods in net.minecraft.entity that return EntityType Modifier and Type Method Description EntityType<T>
EntityType.Builder. build(String id)
EntityType<?>
Entity. getType()
private static <T extends Entity>
EntityType<T>EntityType. register(String id, EntityType.Builder<T> type)
Methods in net.minecraft.entity that return types with arguments of type EntityType Modifier and Type Method Description static Optional<EntityType<?>>
EntityType. fromNbt(NbtCompound nbt)
static Optional<EntityType<?>>
EntityType. get(String id)
Methods in net.minecraft.entity with parameters of type EntityType Modifier and Type Method Description static <T extends Entity>
booleanSpawnRestriction. canSpawn(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
boolean
LivingEntity. canTarget(EntityType<?> type)
T
EntityType.EntityFactory. create(EntityType<T> type, World world)
static @Nullable Vec3d
Dismounting. findRespawnPos(EntityType<?> entityType, CollisionView world, BlockPos pos, boolean bool)
static Heightmap.Type
SpawnRestriction. getHeightmapType(@Nullable EntityType<?> type)
static Identifier
EntityType. getId(EntityType<?> type)
static SpawnRestriction.Location
SpawnRestriction. getLocation(EntityType<?> type)
private static @Nullable Entity
EntityType. newInstance(World world, @Nullable EntityType<?> type)
private static <T extends MobEntity>
voidSpawnRestriction. register(EntityType<T> type, SpawnRestriction.Location location, Heightmap.Type heightmapType, SpawnRestriction.SpawnPredicate<T> predicate)
boolean
SpawnRestriction.SpawnPredicate. test(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
Method parameters in net.minecraft.entity with type arguments of type EntityType Modifier and Type Method Description boolean
EntityType. isIn(Tag<EntityType<?>> tag)
Constructors in net.minecraft.entity with parameters of type EntityType Constructor Description AreaEffectCloudEntity(EntityType<? extends AreaEffectCloudEntity> type, World world)
Entity(EntityType<?> type, World world)
ExperienceOrbEntity(EntityType<? extends ExperienceOrbEntity> type, World world)
EyeOfEnderEntity(EntityType<? extends EyeOfEnderEntity> type, World world)
FallingBlockEntity(EntityType<? extends FallingBlockEntity> type, World world)
ItemEntity(EntityType<? extends ItemEntity> type, World world)
LightningEntity(EntityType<? extends LightningEntity> type, World world)
LivingEntity(EntityType<? extends LivingEntity> type, World world)
TntEntity(EntityType<? extends TntEntity> type, World world)
-
Uses of EntityType in net.minecraft.entity.ai.brain.sensor
Fields in net.minecraft.entity.ai.brain.sensor with type parameters of type EntityType Modifier and Type Field Description private static ImmutableMap<EntityType<?>,Float>
VillagerHostilesSensor. SQUARED_DISTANCES_FOR_DANGER
-
Uses of EntityType in net.minecraft.entity.ai.brain.task
Fields in net.minecraft.entity.ai.brain.task declared as EntityType Modifier and Type Field Description private EntityType<? extends T>
FindEntityTask. entityType
private EntityType<?>
FindInteractionTargetTask. entityType
private EntityType<? extends AnimalEntity>
BreedTask. targetType
Methods in net.minecraft.entity.ai.brain.task with parameters of type EntityType Modifier and Type Method Description static boolean
LookTargetUtil. canSee(Brain<?> brain, MemoryModuleType<? extends LivingEntity> memoryModuleType, EntityType<?> entityType)
static <T extends LivingEntity>
FindEntityTask<LivingEntity,T>FindEntityTask. create(EntityType<? extends T> entityType, int maxDistance, MemoryModuleType<T> targetModule, float speed, int completionRange)
static <T extends LivingEntity>
FindEntityTask<LivingEntity,T>FindEntityTask. method_35071(EntityType<? extends T> entityType, int int2, Predicate<T> predicate, MemoryModuleType<T> memoryModuleType, float float2, int int3)
Constructors in net.minecraft.entity.ai.brain.task with parameters of type EntityType Constructor Description BreedTask(EntityType<? extends AnimalEntity> targetType, float speed)
FindEntityTask(EntityType<? extends T> entityType, int maxDistance, Predicate<E> shouldRunPredicate, Predicate<T> predicate, MemoryModuleType<T> targetModule, float speed, int completionRange)
FindInteractionTargetTask(EntityType<?> entityType, int maxDistance)
FindInteractionTargetTask(EntityType<?> entityType, int maxDistance, Predicate<LivingEntity> shouldRunPredicate, Predicate<LivingEntity> predicate)
FollowMobTask(EntityType<?> entityType, float maxDistance)
Constructor parameters in net.minecraft.entity.ai.brain.task with type arguments of type EntityType Constructor Description FollowMobTask(Tag<EntityType<?>> tag, float float2)
-
Uses of EntityType in net.minecraft.entity.attribute
Fields in net.minecraft.entity.attribute with type parameters of type EntityType Modifier and Type Field Description private static Map<EntityType<? extends LivingEntity>,DefaultAttributeContainer>
DefaultAttributeRegistry. DEFAULT_ATTRIBUTE_REGISTRY
Methods in net.minecraft.entity.attribute with parameters of type EntityType Modifier and Type Method Description static DefaultAttributeContainer
DefaultAttributeRegistry. get(EntityType<? extends LivingEntity> type)
static boolean
DefaultAttributeRegistry. hasDefinitionFor(EntityType<?> type)
-
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> type, World world)
-
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> type, World world)
-
Uses of EntityType in net.minecraft.entity.decoration
Constructors in net.minecraft.entity.decoration with parameters of type EntityType Constructor Description AbstractDecorationEntity(EntityType<? extends AbstractDecorationEntity> type, World world)
AbstractDecorationEntity(EntityType<? extends AbstractDecorationEntity> type, World world, BlockPos pos)
ArmorStandEntity(EntityType<? extends ArmorStandEntity> type, World world)
EndCrystalEntity(EntityType<? extends EndCrystalEntity> type, World world)
GlowItemFrameEntity(EntityType<? extends ItemFrameEntity> type, World world)
ItemFrameEntity(EntityType<? extends ItemFrameEntity> type, World world)
ItemFrameEntity(EntityType<? extends ItemFrameEntity> type, World world, BlockPos pos, Direction facing)
LeashKnotEntity(EntityType<? extends LeashKnotEntity> type, World world)
-
Uses of EntityType in net.minecraft.entity.decoration.painting
Constructors in net.minecraft.entity.decoration.painting with parameters of type EntityType Constructor Description PaintingEntity(EntityType<? extends PaintingEntity> type, World world)
-
Uses of EntityType in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob that return EntityType Modifier and Type Method Description EntityType<? extends SlimeEntity>
SlimeEntity. getType()
Methods in net.minecraft.entity.mob with parameters of type EntityType Modifier and Type Method Description static boolean
MagmaCubeEntity. canMagmaCubeSpawn(EntityType<MagmaCubeEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
MobEntity. canMobSpawn(EntityType<? extends MobEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
DrownedEntity. canSpawn(EntityType<DrownedEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
EndermiteEntity. canSpawn(EntityType<EndermiteEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
GhastEntity. canSpawn(EntityType<GhastEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
GuardianEntity. canSpawn(EntityType<? extends GuardianEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
HoglinEntity. canSpawn(EntityType<HoglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
HuskEntity. canSpawn(EntityType<HuskEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
PatrolEntity. canSpawn(EntityType<? extends PatrolEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
PiglinEntity. canSpawn(EntityType<PiglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
SilverfishEntity. canSpawn(EntityType<SilverfishEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
SlimeEntity. canSpawn(EntityType<SlimeEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
StrayEntity. canSpawn(EntityType<StrayEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
ZombifiedPiglinEntity. canSpawn(EntityType<ZombifiedPiglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
HostileEntity. canSpawnIgnoreLightLevel(EntityType<? extends HostileEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
HostileEntity. canSpawnInDark(EntityType<? extends HostileEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
WaterCreatureEntity. canSpawnUnderground(EntityType<? extends LivingEntity> entityType, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
boolean
MobEntity. canTarget(EntityType<?> type)
boolean
PhantomEntity. canTarget(EntityType<?> type)
<T extends MobEntity>
TMobEntity. convertTo(EntityType<T> entityType, boolean keepEquipment)
Converts this entity to the providedentityType
.protected void
ZombieEntity. convertTo(EntityType<? extends ZombieEntity> entityType)
static boolean
PiglinBrain. isZombified(EntityType<?> entityType)
-
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 Map<EntityType<?>,SoundEvent>
ParrotEntity. MOB_SOUNDS
Methods in net.minecraft.entity.passive with parameters of type EntityType Modifier and Type Method Description static boolean
BatEntity. canSpawn(EntityType<BatEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
DolphinEntity. canSpawn(EntityType<DolphinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
FishEntity. canSpawn(EntityType<? extends FishEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
MooshroomEntity. canSpawn(EntityType<MooshroomEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
OcelotEntity. canSpawn(EntityType<OcelotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
ParrotEntity. canSpawn(EntityType<ParrotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
PolarBearEntity. canSpawn(EntityType<PolarBearEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
RabbitEntity. canSpawn(EntityType<RabbitEntity> entity, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
SquidEntity. canSpawn(EntityType<SquidEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
StriderEntity. canSpawn(EntityType<StriderEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
static boolean
TurtleEntity. canSpawn(EntityType<TurtleEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
boolean
IronGolemEntity. canTarget(EntityType<?> type)
private static SoundEvent
ParrotEntity. getSound(EntityType<?> imitate)
static boolean
AnimalEntity. isValidNaturalSpawn(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
-
Uses of EntityType in net.minecraft.entity.projectile
-
Uses of EntityType in net.minecraft.entity.projectile.thrown
-
Uses of EntityType in net.minecraft.entity.raid
Constructors in net.minecraft.entity.raid with parameters of type EntityType Constructor Description RaiderEntity(EntityType<? extends RaiderEntity> type, World world)
-
Uses of EntityType in net.minecraft.entity.vehicle
-
Uses of EntityType in net.minecraft.item
Fields in net.minecraft.item declared as EntityType Modifier and Type Field Description private EntityType<? extends AbstractDecorationEntity>
DecorationItem. entityType
private EntityType<?>
EntityBucketItem. entityType
private EntityType<T>
OnAStickItem. target
private EntityType<?>
SpawnEggItem. type
Fields in net.minecraft.item with type parameters of type EntityType Modifier and Type Field Description private static Map<EntityType<? extends MobEntity>,SpawnEggItem>
SpawnEggItem. SPAWN_EGGS
Methods in net.minecraft.item that return EntityType Modifier and Type Method Description EntityType<?>
SpawnEggItem. getEntityType(@Nullable NbtCompound nbt)
Methods in net.minecraft.item with parameters of type EntityType Modifier and Type Method Description static @Nullable SpawnEggItem
SpawnEggItem. forEntity(@Nullable EntityType<?> type)
boolean
SpawnEggItem. isOfSameEntityType(@Nullable NbtCompound nbt, EntityType<?> type)
Optional<MobEntity>
SpawnEggItem. spawnBaby(PlayerEntity user, MobEntity entity, EntityType<? extends MobEntity> entityType, ServerWorld world, Vec3d pos, ItemStack stack)
Constructors in net.minecraft.item with parameters of type EntityType Constructor Description DecorationItem(EntityType<? extends AbstractDecorationEntity> type, Item.Settings settings)
EntityBucketItem(EntityType<?> type, Fluid fluid, SoundEvent emptyingSound, Item.Settings settings)
ItemFrameItem(EntityType<? extends AbstractDecorationEntity> type, Item.Settings settings)
OnAStickItem(Item.Settings settings, EntityType<T> target, int damagePerUse)
SpawnEggItem(EntityType<? extends MobEntity> type, int primaryColor, int secondaryColor, Item.Settings settings)
-
Uses of EntityType in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as EntityType Modifier and Type Field Description private EntityType<?>
EntitySpawnS2CPacket. entityTypeId
Methods in net.minecraft.network.packet.s2c.play that return EntityType Modifier and Type Method Description EntityType<?>
EntitySpawnS2CPacket. getEntityTypeId()
Constructors in net.minecraft.network.packet.s2c.play with parameters of type EntityType Constructor Description EntitySpawnS2CPacket(int id, UUID uuid, double x, double y, double z, float pitch, float yaw, EntityType<?> entityTypeId, int entityData, Vec3d velocity)
EntitySpawnS2CPacket(Entity entity, EntityType<?> entityType, int data, BlockPos pos)
-
Uses of EntityType in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity declared as EntityType Modifier and Type Field Description private EntityType<?>
EntityTypePredicate.Single. type
Fields in net.minecraft.predicate.entity with type parameters of type EntityType Modifier and Type Field Description private Tag<EntityType<?>>
EntityTypePredicate.Tagged. tag
Methods in net.minecraft.predicate.entity with parameters of type EntityType Modifier and Type Method Description static EntityTypePredicate
EntityTypePredicate. create(EntityType<?> type)
abstract boolean
EntityTypePredicate. matches(EntityType<?> type)
boolean
EntityTypePredicate.Single. matches(EntityType<?> type)
boolean
EntityTypePredicate.Tagged. matches(EntityType<?> type)
EntityPredicate.Builder
EntityPredicate.Builder. type(EntityType<?> type)
Method parameters in net.minecraft.predicate.entity with type arguments of type EntityType Modifier and Type Method Description static EntityTypePredicate
EntityTypePredicate. create(Tag<EntityType<?>> tag)
EntityPredicate.Builder
EntityPredicate.Builder. type(Tag<EntityType<?>> tag)
Constructors in net.minecraft.predicate.entity with parameters of type EntityType Constructor Description Single(EntityType<?> type)
Constructor parameters in net.minecraft.predicate.entity with type arguments of type EntityType Constructor Description Tagged(Tag<EntityType<?>> tag)
-
Uses of EntityType in net.minecraft.stat
Fields in net.minecraft.stat with type parameters of type EntityType Modifier and Type Field Description static StatType<EntityType<?>>
Stats. KILLED
static StatType<EntityType<?>>
Stats. KILLED_BY
-
Uses of EntityType in net.minecraft.tag
Fields in net.minecraft.tag with type parameters of type EntityType Modifier and Type Field Description static Tag.Identified<EntityType<?>>
EntityTypeTags. ARROWS
static Tag.Identified<EntityType<?>>
EntityTypeTags. AXOLOTL_ALWAYS_HOSTILES
static Tag.Identified<EntityType<?>>
EntityTypeTags. AXOLOTL_HUNT_TARGETS
static Tag.Identified<EntityType<?>>
EntityTypeTags. BEEHIVE_INHABITORS
static Tag.Identified<EntityType<?>>
EntityTypeTags. FREEZE_HURTS_EXTRA_TYPES
static Tag.Identified<EntityType<?>>
EntityTypeTags. FREEZE_IMMUNE_ENTITY_TYPES
static Tag.Identified<EntityType<?>>
EntityTypeTags. IMPACT_PROJECTILES
static Tag.Identified<EntityType<?>>
EntityTypeTags. POWDER_SNOW_WALKABLE_MOBS
static Tag.Identified<EntityType<?>>
EntityTypeTags. RAIDERS
protected static RequiredTagList<EntityType<?>>
EntityTypeTags. REQUIRED_TAGS
static Tag.Identified<EntityType<?>>
EntityTypeTags. SKELETONS
Methods in net.minecraft.tag that return types with arguments of type EntityType Modifier and Type Method Description static TagGroup<EntityType<?>>
EntityTypeTags. getTagGroup()
private static Tag.Identified<EntityType<?>>
EntityTypeTags. register(String id)
-
Uses of EntityType in net.minecraft.test
Methods in net.minecraft.test with parameters of type EntityType Modifier and Type Method Description void
StartupParameter. method_35959(EntityType<?> entityType)
void
StartupParameter. method_35960(EntityType<?> entityType, double double2, double double3, double double4)
<E extends Entity>
EStartupParameter. method_35961(EntityType<E> entityType, float float2, float float3, float float4)
<E extends Entity>
EStartupParameter. method_35962(EntityType<E> entityType, int int2, int int3, int int4)
<E extends Entity>
EStartupParameter. method_35963(EntityType<E> entityType, Vec3d vec3d)
<E extends Entity>
EStartupParameter. method_35964(EntityType<E> entityType, BlockPos blockPos)
void
StartupParameter. method_35965(EntityType<?> entityType, BlockPos blockPos, double double2)
<E extends Entity, T>
voidStartupParameter. method_35982(BlockPos blockPos, EntityType<E> entityType, Function<? super E,T> function, T t)
void
StartupParameter. method_36004(EntityType<?> entityType)
void
StartupParameter. method_36005(EntityType<?> entityType, double double2, double double3, double double4)
<E extends MobEntity>
EStartupParameter. method_36006(EntityType<E> entityType, float float2, float float3, float float4)
<E extends MobEntity>
EStartupParameter. method_36007(EntityType<E> entityType, int int2, int int3, int int4)
<E extends MobEntity>
EStartupParameter. method_36008(EntityType<E> entityType, Vec3d vec3d)
<E extends MobEntity>
EStartupParameter. method_36009(EntityType<E> entityType, BlockPos blockPos)
<E extends Entity, T>
voidStartupParameter. method_36015(BlockPos blockPos, EntityType<E> entityType, Function<E,T> function, T t)
void
StartupParameter. method_36022(EntityType<?> entityType, int int2, int int3, int int4)
void
StartupParameter. method_36023(EntityType<?> entityType, BlockPos blockPos)
void
StartupParameter. method_36031(EntityType<?> entityType, int int2, int int3, int int4)
void
StartupParameter. method_36032(EntityType<?> entityType, BlockPos blockPos)
void
StartupParameter. method_36037(EntityType<?> entityType, int int2, int int3, int int4)
void
StartupParameter. method_36038(EntityType<?> entityType, BlockPos blockPos)
void
StartupParameter. method_36042(EntityType<?> entityType, int int2, int int3, int int4)
void
StartupParameter. method_36043(EntityType<?> entityType, BlockPos blockPos)
-
Uses of EntityType in net.minecraft.text
Fields in net.minecraft.text declared as EntityType Modifier and Type Field Description EntityType<?>
HoverEvent.EntityContent. entityType
Constructors in net.minecraft.text with parameters of type EntityType Constructor Description EntityContent(EntityType<?> entityType, UUID uuid, @Nullable Text name)
-
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
static RegistryKey<Registry<EntityType<?>>>
Registry. ENTITY_TYPE_KEY
-
Uses of EntityType in net.minecraft.village.raid
Fields in net.minecraft.village.raid declared as EntityType Modifier and Type Field Description private EntityType<? extends RaiderEntity>
Raid.Member. type
Constructors in net.minecraft.village.raid with parameters of type EntityType Constructor Description Member(EntityType<? extends RaiderEntity> type, int[] countInWave)
-
Uses of EntityType in net.minecraft.world
Fields in net.minecraft.world declared as EntityType Modifier and Type Field Description private @Nullable EntityType<?>
SpawnHelper.Info. cachedEntityType
Methods in net.minecraft.world with parameters of type EntityType Modifier and Type Method Description static boolean
SpawnHelper. canSpawn(SpawnRestriction.Location location, WorldView world, BlockPos pos, @Nullable EntityType<?> entityType)
private static @Nullable MobEntity
SpawnHelper. createMob(ServerWorld world, EntityType<?> type)
private static BlockPos
SpawnHelper. getEntitySpawnPos(WorldView world, EntityType<?> entityType, int x, int z)
static boolean
SpawnHelper. isClearForSpawn(BlockView blockView, BlockPos pos, BlockState state, FluidState fluidState, EntityType<?> entityType)
void
MobSpawnerLogic. setEntityId(EntityType<?> type)
boolean
SpawnHelper.Checker. test(EntityType<?> type, BlockPos pos, Chunk chunk)
private boolean
SpawnHelper.Info. test(EntityType<?> type, BlockPos pos, Chunk chunk)
-
Uses of EntityType in net.minecraft.world.biome
Fields in net.minecraft.world.biome declared as EntityType Modifier and Type Field Description EntityType<?>
SpawnSettings.SpawnEntry. type
Fields in net.minecraft.world.biome with type parameters of type EntityType Modifier and Type Field Description private Map<EntityType<?>,SpawnSettings.SpawnDensity>
SpawnSettings.Builder. spawnCosts
private Map<EntityType<?>,SpawnSettings.SpawnDensity>
SpawnSettings. spawnCosts
Methods in net.minecraft.world.biome with parameters of type EntityType Modifier and Type Method Description @Nullable SpawnSettings.SpawnDensity
SpawnSettings. getSpawnDensity(EntityType<?> entityType)
SpawnSettings.Builder
SpawnSettings.Builder. spawnCost(EntityType<?> entityType, double mass, double gravityLimit)
Constructors in net.minecraft.world.biome with parameters of type EntityType Constructor Description SpawnEntry(EntityType<?> type, int weight, int minGroupSize, int maxGroupSize)
SpawnEntry(EntityType<?> entityType, class_6007 class_6007, int int2, int int3)
-
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<?>[]
DungeonFeature. MOB_SPAWNER_ENTITIES
Methods in net.minecraft.world.gen.feature that return EntityType Modifier and Type Method Description private EntityType<?>
DungeonFeature. getMobSpawnerEntity(Random random)