类的使用
net.minecraft.entity.EntityType
-
-
net.minecraft.block中EntityType的使用
类型参数类型为EntityType的net.minecraft.block中的字段 修饰符和类型 字段 说明 private AbstractBlock.TypedContextPredicate<EntityType<?>>AbstractBlock.Settings. allowsSpawningPredicate参数类型为EntityType的net.minecraft.block中的方法 修饰符和类型 方法 说明 booleanAbstractBlock.AbstractBlockState. allowsSpawning(BlockView world, BlockPos pos, EntityType<?> type)private static BooleanBlocks. always(BlockState state, BlockView world, BlockPos pos, EntityType<?> type)A shortcut to always returntruein a typed context predicate with anEntityType, used likesettings.allowSpawning(Blocks::always).private static BooleanBlocks. canSpawnOnLeaves(BlockState state, BlockView world, BlockPos pos, EntityType<?> type)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 BooleanBlocks. never(BlockState state, BlockView world, BlockPos pos, EntityType<?> type)A shortcut to always returnfalsein a typed context predicate with anEntityType, used likesettings.allowSpawning(Blocks::never).类型变量类型为EntityType的net.minecraft.block中的方法参数 修饰符和类型 方法 说明 AbstractBlock.SettingsAbstractBlock.Settings. allowsSpawning(AbstractBlock.TypedContextPredicate<EntityType<?>> predicate)Specifies logic that calculates whether an entity can spawn on a block. -
net.minecraft.client.gui.screen中EntityType的使用
声明为EntityType的net.minecraft.client.gui.screen中的字段 修饰符和类型 字段 说明 private EntityType<?>StatsScreen.EntityStatsListWidget.Entry. entityType参数类型为EntityType的net.minecraft.client.gui.screen中的构造器 构造器 说明 Entry(EntityType<?> entityType) -
net.minecraft.client.render.entity中EntityType的使用
类型参数类型为EntityType的net.minecraft.client.render.entity中的字段 修饰符和类型 字段 说明 private static Map<EntityType<?>,EntityRendererFactory<?>>EntityRenderers. rendererFactoriesprivate Map<EntityType<?>,EntityRenderer<?>>EntityRenderDispatcher. renderersprivate static Map<EntityType<?>,Identifier>DonkeyEntityRenderer. TEXTURESprivate static Map<EntityType<?>,Identifier>PiglinEntityRenderer. TEXTURESprivate static Map<EntityType<?>,Identifier>ZombieHorseEntityRenderer. TEXTURES返回变量类型为EntityType的类型的net.minecraft.client.render.entity中的方法 修饰符和类型 方法 说明 static Map<EntityType<?>,EntityRenderer<?>>EntityRenderers. reloadEntityRenderers(EntityRendererFactory.Context ctx)参数类型为EntityType的net.minecraft.client.render.entity中的方法 修饰符和类型 方法 说明 private static <T extends Entity>
voidEntityRenderers. register(EntityType<? extends T> type, EntityRendererFactory<T> factory) -
net.minecraft.command中EntityType的使用
声明为EntityType的net.minecraft.command中的字段 修饰符和类型 字段 说明 private @Nullable EntityType<?>EntitySelectorReader. entityType参数类型为EntityType的net.minecraft.command中的方法 修饰符和类型 方法 说明 voidEntitySelectorReader. setEntityType(EntityType<?> entityType)参数类型为EntityType的net.minecraft.command中的构造器 构造器 说明 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) -
net.minecraft.data.server中EntityType的使用
声明为EntityType的net.minecraft.data.server中的字段 修饰符和类型 字段 说明 private static EntityType<?>[]HusbandryTabAdvancementGenerator. BREEDABLE_ANIMALSprivate static EntityType<?>[]AdventureTabAdvancementGenerator. MONSTERS类型参数类型为EntityType的net.minecraft.data.server中的字段 修饰符和类型 字段 说明 private static Set<EntityType<?>>EntityLootTableGenerator. ENTITY_TYPES_IN_MISC_GROUP_TO_CHECK参数类型为EntityType的net.minecraft.data.server中的方法 修饰符和类型 方法 说明 private voidEntityLootTableGenerator. register(EntityType<?> entityType, LootTable.Builder builder) -
net.minecraft.entity中EntityType的使用
类型参数类型为EntityType的net.minecraft.entity中的字段 修饰符和类型 字段 说明 private static Map<EntityType<?>,SpawnRestriction.Entry>SpawnRestriction. RESTRICTIONS返回EntityType的net.minecraft.entity中的方法 修饰符和类型 方法 说明 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)返回变量类型为EntityType的类型的net.minecraft.entity中的方法 修饰符和类型 方法 说明 static Optional<EntityType<?>>EntityType. fromNbt(CompoundTag nbt)static Optional<EntityType<?>>EntityType. get(String id)参数类型为EntityType的net.minecraft.entity中的方法 修饰符和类型 方法 说明 static <T extends Entity>
booleanSpawnRestriction. canSpawn(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)booleanLivingEntity. canTarget(EntityType<?> type)TEntityType.EntityFactory. create(EntityType<T> type, World world)static @Nullable Vec3dDismounting. findRespawnPos(EntityType<?> entityType, CollisionView world, BlockPos pos, boolean ignoreInvalidPos)static Heightmap.TypeSpawnRestriction. getHeightmapType(@Nullable EntityType<?> type)static IdentifierEntityType. getId(EntityType<?> type)static SpawnRestriction.LocationSpawnRestriction. getLocation(EntityType<?> type)private static @Nullable EntityEntityType. 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)booleanSpawnRestriction.SpawnPredicate. test(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)类型变量类型为EntityType的net.minecraft.entity中的方法参数 修饰符和类型 方法 说明 booleanEntityType. isIn(Tag<EntityType<?>> tag)参数类型为EntityType的net.minecraft.entity中的构造器 构造器 说明 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) -
net.minecraft.entity.ai.brain.sensor中EntityType的使用
类型参数类型为EntityType的net.minecraft.entity.ai.brain.sensor中的字段 修饰符和类型 字段 说明 private static ImmutableMap<EntityType<?>,Float>VillagerHostilesSensor. SQUARED_DISTANCES_FOR_DANGER -
net.minecraft.entity.ai.brain.task中EntityType的使用
声明为EntityType的net.minecraft.entity.ai.brain.task中的字段 修饰符和类型 字段 说明 private EntityType<? extends T>FindEntityTask. entityTypeprivate EntityType<?>FindInteractionTargetTask. entityTypeprivate EntityType<? extends AnimalEntity>BreedTask. targetType参数类型为EntityType的net.minecraft.entity.ai.brain.task中的方法 修饰符和类型 方法 说明 static booleanLookTargetUtil. 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)参数类型为EntityType的net.minecraft.entity.ai.brain.task中的构造器 构造器 说明 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)类型变量类型为EntityType的net.minecraft.entity.ai.brain.task中的构造器参数 构造器 说明 FollowMobTask(Tag<EntityType<?>> tag, float float2) -
net.minecraft.entity.attribute中EntityType的使用
类型参数类型为EntityType的net.minecraft.entity.attribute中的字段 修饰符和类型 字段 说明 private static Map<EntityType<? extends LivingEntity>,DefaultAttributeContainer>DefaultAttributeRegistry. DEFAULT_ATTRIBUTE_REGISTRY参数类型为EntityType的net.minecraft.entity.attribute中的方法 修饰符和类型 方法 说明 static DefaultAttributeContainerDefaultAttributeRegistry. get(EntityType<? extends LivingEntity> type)static booleanDefaultAttributeRegistry. hasDefinitionFor(EntityType<?> type) -
net.minecraft.entity.boss中EntityType的使用
参数类型为EntityType的net.minecraft.entity.boss中的构造器 构造器 说明 WitherEntity(EntityType<? extends WitherEntity> type, World world) -
net.minecraft.entity.boss.dragon中EntityType的使用
参数类型为EntityType的net.minecraft.entity.boss.dragon中的构造器 构造器 说明 EnderDragonEntity(EntityType<? extends EnderDragonEntity> type, World world) -
net.minecraft.entity.decoration中EntityType的使用
参数类型为EntityType的net.minecraft.entity.decoration中的构造器 构造器 说明 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) -
net.minecraft.entity.decoration.painting中EntityType的使用
参数类型为EntityType的net.minecraft.entity.decoration.painting中的构造器 构造器 说明 PaintingEntity(EntityType<? extends PaintingEntity> type, World world) -
net.minecraft.entity.mob中EntityType的使用
返回EntityType的net.minecraft.entity.mob中的方法 修饰符和类型 方法 说明 EntityType<? extends SlimeEntity>SlimeEntity. getType()参数类型为EntityType的net.minecraft.entity.mob中的方法 修饰符和类型 方法 说明 static booleanMagmaCubeEntity. canMagmaCubeSpawn(EntityType<MagmaCubeEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanMobEntity. canMobSpawn(EntityType<? extends MobEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanDrownedEntity. canSpawn(EntityType<DrownedEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanEndermiteEntity. canSpawn(EntityType<EndermiteEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanGhastEntity. canSpawn(EntityType<GhastEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanGuardianEntity. canSpawn(EntityType<? extends GuardianEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanHoglinEntity. canSpawn(EntityType<HoglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanHuskEntity. canSpawn(EntityType<HuskEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanPatrolEntity. canSpawn(EntityType<? extends PatrolEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanPiglinEntity. canSpawn(EntityType<PiglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanSilverfishEntity. canSpawn(EntityType<SilverfishEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanSlimeEntity. canSpawn(EntityType<SlimeEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanStrayEntity. canSpawn(EntityType<StrayEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanZombifiedPiglinEntity. canSpawn(EntityType<ZombifiedPiglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanHostileEntity. canSpawnIgnoreLightLevel(EntityType<? extends HostileEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanHostileEntity. canSpawnInDark(EntityType<? extends HostileEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanWaterCreatureEntity. canSpawnUnderground(EntityType<? extends LivingEntity> entityType, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)booleanMobEntity. canTarget(EntityType<?> type)booleanPhantomEntity. canTarget(EntityType<?> type)<T extends MobEntity>
TMobEntity. convertTo(EntityType<T> entityType, boolean keepEquipment)Converts this entity to the providedentityType.protected voidZombieEntity. convertTo(EntityType<? extends ZombieEntity> entityType)static booleanPiglinBrain. isZombified(EntityType<?> entityType) -
net.minecraft.entity.passive中EntityType的使用
类型参数类型为EntityType的net.minecraft.entity.passive中的字段 修饰符和类型 字段 说明 private static Map<EntityType<?>,SoundEvent>ParrotEntity. MOB_SOUNDS参数类型为EntityType的net.minecraft.entity.passive中的方法 修饰符和类型 方法 说明 static booleanBatEntity. canSpawn(EntityType<BatEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanDolphinEntity. canSpawn(EntityType<DolphinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanFishEntity. canSpawn(EntityType<? extends FishEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanMooshroomEntity. canSpawn(EntityType<MooshroomEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanOcelotEntity. canSpawn(EntityType<OcelotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanParrotEntity. canSpawn(EntityType<ParrotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanPolarBearEntity. canSpawn(EntityType<PolarBearEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanRabbitEntity. canSpawn(EntityType<RabbitEntity> entity, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanSquidEntity. canSpawn(EntityType<SquidEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanStriderEntity. canSpawn(EntityType<StriderEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)static booleanTurtleEntity. canSpawn(EntityType<TurtleEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)booleanIronGolemEntity. canTarget(EntityType<?> type)private static SoundEventParrotEntity. getSound(EntityType<?> imitate)static booleanAnimalEntity. isValidNaturalSpawn(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) -
net.minecraft.entity.projectile中EntityType的使用
-
net.minecraft.entity.projectile.thrown中EntityType的使用
参数类型为EntityType的net.minecraft.entity.projectile.thrown中的构造器 构造器 说明 EggEntity(EntityType<? extends EggEntity> type, World world)EnderPearlEntity(EntityType<? extends EnderPearlEntity> type, World world)ExperienceBottleEntity(EntityType<? extends ExperienceBottleEntity> type, World world)PotionEntity(EntityType<? extends PotionEntity> type, World world)SnowballEntity(EntityType<? extends SnowballEntity> type, World world)ThrownEntity(EntityType<? extends ThrownEntity> type, double x, double y, double z, World world)ThrownEntity(EntityType<? extends ThrownEntity> type, LivingEntity owner, World world)ThrownEntity(EntityType<? extends ThrownEntity> type, World world)ThrownItemEntity(EntityType<? extends ThrownItemEntity> type, double x, double y, double z, World world)ThrownItemEntity(EntityType<? extends ThrownItemEntity> type, LivingEntity owner, World world)ThrownItemEntity(EntityType<? extends ThrownItemEntity> type, World world) -
net.minecraft.entity.raid中EntityType的使用
参数类型为EntityType的net.minecraft.entity.raid中的构造器 构造器 说明 RaiderEntity(EntityType<? extends RaiderEntity> type, World world) -
net.minecraft.entity.vehicle中EntityType的使用
参数类型为EntityType的net.minecraft.entity.vehicle中的构造器 构造器 说明 AbstractMinecartEntity(EntityType<?> type, World world)AbstractMinecartEntity(EntityType<?> type, World world, double x, double y, double z)BoatEntity(EntityType<? extends BoatEntity> type, World world)ChestMinecartEntity(EntityType<? extends ChestMinecartEntity> type, World world)CommandBlockMinecartEntity(EntityType<? extends CommandBlockMinecartEntity> type, World world)FurnaceMinecartEntity(EntityType<? extends FurnaceMinecartEntity> type, World world)HopperMinecartEntity(EntityType<? extends HopperMinecartEntity> type, World world)MinecartEntity(EntityType<?> type, World world)SpawnerMinecartEntity(EntityType<? extends SpawnerMinecartEntity> type, World world)StorageMinecartEntity(EntityType<?> type, double x, double y, double z, World world)StorageMinecartEntity(EntityType<?> type, World world)TntMinecartEntity(EntityType<? extends TntMinecartEntity> type, World world) -
net.minecraft.item中EntityType的使用
声明为EntityType的net.minecraft.item中的字段 修饰符和类型 字段 说明 private EntityType<? extends AbstractDecorationEntity>DecorationItem. entityTypeprivate EntityType<?>EntityBucketItem. entityTypeprivate EntityType<T>OnAStickItem. targetprivate EntityType<?>SpawnEggItem. type类型参数类型为EntityType的net.minecraft.item中的字段 修饰符和类型 字段 说明 private static Map<EntityType<? extends MobEntity>,SpawnEggItem>SpawnEggItem. SPAWN_EGGS返回EntityType的net.minecraft.item中的方法 修饰符和类型 方法 说明 EntityType<?>SpawnEggItem. getEntityType(@Nullable CompoundTag nbt)参数类型为EntityType的net.minecraft.item中的方法 修饰符和类型 方法 说明 static @Nullable SpawnEggItemSpawnEggItem. forEntity(@Nullable EntityType<?> type)booleanSpawnEggItem. isOfSameEntityType(@Nullable CompoundTag nbt, EntityType<?> type)Optional<MobEntity>SpawnEggItem. spawnBaby(PlayerEntity user, MobEntity entity, EntityType<? extends MobEntity> entityType, ServerWorld world, Vec3d pos, ItemStack stack)参数类型为EntityType的net.minecraft.item中的构造器 构造器 说明 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) -
net.minecraft.network.packet.s2c.play中EntityType的使用
声明为EntityType的net.minecraft.network.packet.s2c.play中的字段 修饰符和类型 字段 说明 private EntityType<?>EntitySpawnS2CPacket. entityTypeId返回EntityType的net.minecraft.network.packet.s2c.play中的方法 修饰符和类型 方法 说明 EntityType<?>EntitySpawnS2CPacket. getEntityTypeId()参数类型为EntityType的net.minecraft.network.packet.s2c.play中的构造器 构造器 说明 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) -
net.minecraft.predicate.entity中EntityType的使用
声明为EntityType的net.minecraft.predicate.entity中的字段 修饰符和类型 字段 说明 private EntityType<?>EntityTypePredicate.Single. type类型参数类型为EntityType的net.minecraft.predicate.entity中的字段 修饰符和类型 字段 说明 private Tag<EntityType<?>>EntityTypePredicate.Tagged. tag参数类型为EntityType的net.minecraft.predicate.entity中的方法 修饰符和类型 方法 说明 static EntityTypePredicateEntityTypePredicate. create(EntityType<?> type)abstract booleanEntityTypePredicate. matches(EntityType<?> type)booleanEntityTypePredicate.Single. matches(EntityType<?> type)booleanEntityTypePredicate.Tagged. matches(EntityType<?> type)EntityPredicate.BuilderEntityPredicate.Builder. type(EntityType<?> type)类型变量类型为EntityType的net.minecraft.predicate.entity中的方法参数 修饰符和类型 方法 说明 static EntityTypePredicateEntityTypePredicate. create(Tag<EntityType<?>> tag)EntityPredicate.BuilderEntityPredicate.Builder. type(Tag<EntityType<?>> tag)参数类型为EntityType的net.minecraft.predicate.entity中的构造器 构造器 说明 Single(EntityType<?> type)类型变量类型为EntityType的net.minecraft.predicate.entity中的构造器参数 构造器 说明 Tagged(Tag<EntityType<?>> tag) -
net.minecraft.stat中EntityType的使用
类型参数类型为EntityType的net.minecraft.stat中的字段 修饰符和类型 字段 说明 static StatType<EntityType<?>>Stats. KILLEDstatic StatType<EntityType<?>>Stats. KILLED_BY -
net.minecraft.tag中EntityType的使用
类型参数类型为EntityType的net.minecraft.tag中的字段 修饰符和类型 字段 说明 static Tag.Identified<EntityType<?>>EntityTypeTags. ARROWSstatic Tag.Identified<EntityType<?>>EntityTypeTags. AXOLOTL_ALWAYS_HOSTILESstatic Tag.Identified<EntityType<?>>EntityTypeTags. AXOLOTL_HUNT_TARGETSstatic Tag.Identified<EntityType<?>>EntityTypeTags. BEEHIVE_INHABITORSstatic Tag.Identified<EntityType<?>>EntityTypeTags. FREEZE_HURTS_EXTRA_TYPESstatic Tag.Identified<EntityType<?>>EntityTypeTags. FREEZE_IMMUNE_ENTITY_TYPESstatic Tag.Identified<EntityType<?>>EntityTypeTags. IMPACT_PROJECTILESstatic Tag.Identified<EntityType<?>>EntityTypeTags. POWDER_SNOW_WALKABLE_MOBSstatic Tag.Identified<EntityType<?>>EntityTypeTags. RAIDERSprotected static RequiredTagList<EntityType<?>>EntityTypeTags. REQUIRED_TAGSstatic Tag.Identified<EntityType<?>>EntityTypeTags. SKELETONS返回变量类型为EntityType的类型的net.minecraft.tag中的方法 修饰符和类型 方法 说明 static TagGroup<EntityType<?>>EntityTypeTags. getTagGroup()private static Tag.Identified<EntityType<?>>EntityTypeTags. register(String id) -
net.minecraft.test中EntityType的使用
参数类型为EntityType的net.minecraft.test中的方法 修饰符和类型 方法 说明 voidTestContext. dontExpectEntity(EntityType<?> type)voidTestContext. dontExpectEntityAt(EntityType<?> type, int x, int y, int z)voidTestContext. dontExpectEntityAt(EntityType<?> type, BlockPos pos)voidTestContext. dontExpectEntityToTouch(EntityType<?> type, double x, double y, double z)voidTestContext. expectEntity(EntityType<?> type)voidTestContext. expectEntityAround(EntityType<?> type, BlockPos pos, double radius)voidTestContext. expectEntityAt(EntityType<?> type, int x, int y, int z)voidTestContext. expectEntityAt(EntityType<?> type, BlockPos pos)voidTestContext. expectEntityToTouch(EntityType<?> type, double x, double y, double z)<E extends Entity,T>
voidTestContext. expectEntityWithData(BlockPos pos, EntityType<E> type, Function<? super E,T> entityDataGetter, T data)<E extends Entity,T>
voidTestContext. method_36015(BlockPos blockPos, EntityType<E> entityType, Function<E,T> function, T t)voidTestContext. method_36037(EntityType<?> entityType, int x, int y, int z)voidTestContext. method_36038(EntityType<?> type, BlockPos pos)voidTestContext. method_36042(EntityType<?> entityType, int x, int y, int z)voidTestContext. method_36043(EntityType<?> entityType, BlockPos pos)<E extends Entity>
ETestContext. spawnEntity(EntityType<E> type, float x, float y, float z)<E extends Entity>
ETestContext. spawnEntity(EntityType<E> type, int x, int y, int z)<E extends Entity>
ETestContext. spawnEntity(EntityType<E> type, BlockPos pos)<E extends Entity>
ETestContext. spawnEntity(EntityType<E> type, Vec3d pos)<E extends MobEntity>
ETestContext. spawnMob(EntityType<E> type, float x, float y, float z)<E extends MobEntity>
ETestContext. spawnMob(EntityType<E> type, int x, int y, int z)<E extends MobEntity>
ETestContext. spawnMob(EntityType<E> type, BlockPos pos)<E extends MobEntity>
ETestContext. spawnMob(EntityType<E> type, Vec3d pos) -
net.minecraft.text中EntityType的使用
声明为EntityType的net.minecraft.text中的字段 修饰符和类型 字段 说明 EntityType<?>HoverEvent.EntityContent. entityType参数类型为EntityType的net.minecraft.text中的构造器 构造器 说明 EntityContent(EntityType<?> entityType, UUID uuid, @Nullable Text name) -
net.minecraft.util.registry中EntityType的使用
类型参数类型为EntityType的net.minecraft.util.registry中的字段 修饰符和类型 字段 说明 static DefaultedRegistry<EntityType<?>>Registry. ENTITY_TYPEstatic RegistryKey<Registry<EntityType<?>>>Registry. ENTITY_TYPE_KEY -
net.minecraft.village.raid中EntityType的使用
声明为EntityType的net.minecraft.village.raid中的字段 修饰符和类型 字段 说明 private EntityType<? extends RaiderEntity>Raid.Member. type参数类型为EntityType的net.minecraft.village.raid中的构造器 构造器 说明 Member(EntityType<? extends RaiderEntity> type, int[] countInWave) -
net.minecraft.world中EntityType的使用
声明为EntityType的net.minecraft.world中的字段 修饰符和类型 字段 说明 private @Nullable EntityType<?>SpawnHelper.Info. cachedEntityType参数类型为EntityType的net.minecraft.world中的方法 修饰符和类型 方法 说明 static booleanSpawnHelper. canSpawn(SpawnRestriction.Location location, WorldView world, BlockPos pos, @Nullable EntityType<?> entityType)private static @Nullable MobEntitySpawnHelper. createMob(ServerWorld world, EntityType<?> type)private static BlockPosSpawnHelper. getEntitySpawnPos(WorldView world, EntityType<?> entityType, int x, int z)static booleanSpawnHelper. isClearForSpawn(BlockView blockView, BlockPos pos, BlockState state, FluidState fluidState, EntityType<?> entityType)voidMobSpawnerLogic. setEntityId(EntityType<?> type)booleanSpawnHelper.Checker. test(EntityType<?> type, BlockPos pos, Chunk chunk)private booleanSpawnHelper.Info. test(EntityType<?> type, BlockPos pos, Chunk chunk) -
net.minecraft.world.biome中EntityType的使用
声明为EntityType的net.minecraft.world.biome中的字段 修饰符和类型 字段 说明 EntityType<?>SpawnSettings.SpawnEntry. type类型参数类型为EntityType的net.minecraft.world.biome中的字段 修饰符和类型 字段 说明 private Map<EntityType<?>,SpawnSettings.SpawnDensity>SpawnSettings.Builder. spawnCostsprivate Map<EntityType<?>,SpawnSettings.SpawnDensity>SpawnSettings. spawnCosts参数类型为EntityType的net.minecraft.world.biome中的方法 修饰符和类型 方法 说明 @Nullable SpawnSettings.SpawnDensitySpawnSettings. getSpawnDensity(EntityType<?> entityType)SpawnSettings.BuilderSpawnSettings.Builder. spawnCost(EntityType<?> entityType, double mass, double gravityLimit)参数类型为EntityType的net.minecraft.world.biome中的构造器 构造器 说明 SpawnEntry(EntityType<?> type, int weight, int minGroupSize, int maxGroupSize)SpawnEntry(EntityType<?> entityType, Weight weight, int int2, int int3) -
net.minecraft.world.gen.feature中EntityType的使用
声明为EntityType的net.minecraft.world.gen.feature中的字段 修饰符和类型 字段 说明 private static EntityType<?>[]DungeonFeature. MOB_SPAWNER_ENTITIES返回EntityType的net.minecraft.world.gen.feature中的方法 修饰符和类型 方法 说明 private EntityType<?>DungeonFeature. getMobSpawnerEntity(Random random)
-