Uses of Class
net.minecraft.util.collection.Pool
Packages that use Pool
Package
Description
-
Uses of Pool in net.minecraft.block.spawner
Fields in net.minecraft.block.spawner declared as PoolModifier and TypeFieldDescriptionTrialSpawnerData.itemsToDropWhenOminousprivate Pool<RegistryKey<LootTable>> TrialSpawnerConfig.Builder.lootTablesToEjectprivate final Pool<RegistryKey<LootTable>> TrialSpawnerConfig.lootTablesToEjectThe field for thelootTablesToEjectrecord component.private Pool<MobSpawnerEntry> MobSpawnerLogic.spawnPotentialsprivate Pool<MobSpawnerEntry> TrialSpawnerConfig.Builder.spawnPotentialsprivate final Pool<MobSpawnerEntry> TrialSpawnerConfig.spawnPotentialsThe field for thespawnPotentialsrecord component.Fields in net.minecraft.block.spawner with type parameters of type PoolModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Pool<MobSpawnerEntry>> MobSpawnerEntry.DATA_POOL_CODECMethods in net.minecraft.block.spawner that return PoolModifier and TypeMethodDescriptionTrialSpawnerData.getItemsToDropWhenOminous(ServerWorld world, TrialSpawnerConfig config, BlockPos pos) TrialSpawnerConfig.lootTablesToEject()Returns the value of thelootTablesToEjectrecord component.TrialSpawnerConfig.spawnPotentials()Returns the value of thespawnPotentialsrecord component.Methods in net.minecraft.block.spawner with parameters of type PoolModifier and TypeMethodDescriptionTrialSpawnerConfig.Builder.lootTablesToEject(Pool<RegistryKey<LootTable>> lootTablesToEject) TrialSpawnerConfig.Builder.spawnPotentials(Pool<MobSpawnerEntry> spawnPotentials) Constructors in net.minecraft.block.spawner with parameters of type PoolModifierConstructorDescriptionTrialSpawnerConfig(int spawnRange, float totalMobs, float simultaneousMobs, float totalMobsAddedPerPlayer, float simultaneousMobsAddedPerPlayer, int ticksBetweenSpawn, Pool<MobSpawnerEntry> spawnPotentialsDefinition, Pool<RegistryKey<LootTable>> lootTablesToEject, RegistryKey<LootTable> itemsToDropWhenOminous) -
Uses of Pool in net.minecraft.client.render.model
Fields in net.minecraft.client.render.model declared as PoolModifier and TypeFieldDescriptionprivate final Pool<BlockStateModel.Unbaked> WeightedBlockStateModel.Unbaked.entriesThe field for theentriesrecord component.private final Pool<BlockStateModel> WeightedBlockStateModel.modelsMethods in net.minecraft.client.render.model that return PoolModifier and TypeMethodDescriptionWeightedBlockStateModel.Unbaked.entries()Returns the value of theentriesrecord component.Constructors in net.minecraft.client.render.model with parameters of type PoolModifierConstructorDescriptionUnbaked(Pool<BlockStateModel.Unbaked> entries) Creates an instance of aUnbakedrecord class.WeightedBlockStateModel(Pool<BlockStateModel> models) -
Uses of Pool in net.minecraft.client.render.model.json
Fields in net.minecraft.client.render.model.json declared as PoolModifier and TypeFieldDescriptionprivate final Pool<ModelVariant> WeightedVariant.variantsThe field for thevariantsrecord component.Methods in net.minecraft.client.render.model.json that return PoolModifier and TypeMethodDescriptionWeightedVariant.variants()Returns the value of thevariantsrecord component.Constructors in net.minecraft.client.render.model.json with parameters of type PoolModifierConstructorDescriptionWeightedVariant(Pool<ModelVariant> variants) Creates an instance of aWeightedVariantrecord class. -
Uses of Pool in net.minecraft.client.world
Fields in net.minecraft.client.world declared as PoolModifier and TypeFieldDescriptionprivate final Pool<BlockParticleEffect> BlockParticleEffectsManager.Entry.blockParticlesThe field for theblockParticlesrecord component.Methods in net.minecraft.client.world that return PoolModifier and TypeMethodDescriptionBlockParticleEffectsManager.Entry.blockParticles()Returns the value of theblockParticlesrecord component.Methods in net.minecraft.client.world with parameters of type PoolModifier and TypeMethodDescriptionvoidClientWorld.addBlockParticleEffects(Vec3d center, float radius, int blockCount, Pool<BlockParticleEffect> particles) voidClientWorld.createExplosion(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, World.ExplosionSourceType explosionSourceType, ParticleEffect smallParticle, ParticleEffect largeParticle, Pool<BlockParticleEffect> blockParticles, RegistryEntry<SoundEvent> soundEvent) Creates an explosion.voidBlockParticleEffectsManager.scheduleBlockParticles(Vec3d center, float radius, int blockCount, Pool<BlockParticleEffect> particles) Constructors in net.minecraft.client.world with parameters of type PoolModifierConstructorDescription(package private)Entry(Vec3d center, float radius, int blockCount, Pool<BlockParticleEffect> blockParticles) Creates an instance of aEntryrecord class. -
Uses of Pool in net.minecraft.enchantment.effect.entity
Fields in net.minecraft.enchantment.effect.entity declared as PoolModifier and TypeFieldDescriptionprivate final Pool<BlockParticleEffect> ExplodeEnchantmentEffect.blockParticlesThe field for theblockParticlesrecord component.Methods in net.minecraft.enchantment.effect.entity that return PoolModifier and TypeMethodDescriptionExplodeEnchantmentEffect.blockParticles()Returns the value of theblockParticlesrecord component.Constructors in net.minecraft.enchantment.effect.entity with parameters of type PoolModifierConstructorDescriptionExplodeEnchantmentEffect(boolean attributeToUser, Optional<RegistryEntry<DamageType>> damageType, Optional<EnchantmentLevelBasedValue> knockbackMultiplier, Optional<RegistryEntryList<Block>> immuneBlocks, Vec3d offset, EnchantmentLevelBasedValue radius, boolean createFire, World.ExplosionSourceType blockInteraction, ParticleEffect smallParticle, ParticleEffect largeParticle, Pool<BlockParticleEffect> blockParticles, RegistryEntry<SoundEvent> sound) Creates an instance of aExplodeEnchantmentEffectrecord class. -
Uses of Pool in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive with parameters of type PoolModifier and TypeMethodDescriptionprivate static SheepColors.ColorSelectorSheepColors.createCombinedSelector(Pool<SheepColors.ColorSelector> pool) -
Uses of Pool in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as PoolModifier and TypeFieldDescriptionprivate final Pool<BlockParticleEffect> ExplosionS2CPacket.blockParticlesThe field for theblockParticlesrecord component.Methods in net.minecraft.network.packet.s2c.play that return PoolModifier and TypeMethodDescriptionExplosionS2CPacket.blockParticles()Returns the value of theblockParticlesrecord component.Constructors in net.minecraft.network.packet.s2c.play with parameters of type PoolModifierConstructorDescriptionExplosionS2CPacket(Vec3d center, float radius, int blockCount, Optional<Vec3d> playerKnockback, ParticleEffect explosionParticle, RegistryEntry<SoundEvent> explosionSound, Pool<BlockParticleEffect> blockParticles) Creates an instance of aExplosionS2CPacketrecord class. -
Uses of Pool in net.minecraft.server.world
Methods in net.minecraft.server.world with parameters of type PoolModifier and TypeMethodDescriptionvoidServerWorld.createExplosion(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, World.ExplosionSourceType explosionSourceType, ParticleEffect smallParticle, ParticleEffect largeParticle, Pool<BlockParticleEffect> blockParticles, RegistryEntry<SoundEvent> soundEvent) Creates an explosion. -
Uses of Pool in net.minecraft.structure.pool.alias
Fields in net.minecraft.structure.pool.alias declared as PoolModifier and TypeFieldDescriptionprivate final Pool<List<StructurePoolAliasBinding>> RandomGroupStructurePoolAliasBinding.groupsThe field for thegroupsrecord component.private final Pool<RegistryKey<StructurePool>> RandomStructurePoolAliasBinding.targetsThe field for thetargetsrecord component.Methods in net.minecraft.structure.pool.alias that return PoolModifier and TypeMethodDescriptionRandomGroupStructurePoolAliasBinding.groups()Returns the value of thegroupsrecord component.RandomStructurePoolAliasBinding.targets()Returns the value of thetargetsrecord component.Methods in net.minecraft.structure.pool.alias with parameters of type PoolModifier and TypeMethodDescriptionStructurePoolAliasBinding.random(RegistryKey<StructurePool> alias, Pool<RegistryKey<StructurePool>> targets) StructurePoolAliasBinding.randomGroup(Pool<List<StructurePoolAliasBinding>> groups) Constructors in net.minecraft.structure.pool.alias with parameters of type PoolModifierConstructorDescriptionCreates an instance of aRandomGroupStructurePoolAliasBindingrecord class.RandomStructurePoolAliasBinding(RegistryKey<StructurePool> alias, Pool<RegistryKey<StructurePool>> targets) Creates an instance of aRandomStructurePoolAliasBindingrecord class. -
Uses of Pool in net.minecraft.util.collection
Methods in net.minecraft.util.collection that return PoolModifier and TypeMethodDescriptionPool.Builder.build()static <E> Pool<E> Pool.empty()static <E> Pool<E> Pool.of(E entry) static <E> Pool<E> static <E> Pool<E> <T> Pool<T> Methods in net.minecraft.util.collection that return types with arguments of type PoolModifier and TypeMethodDescriptionstatic <E> com.mojang.serialization.Codec<Pool<E>> Pool.createCodec(com.mojang.serialization.Codec<E> entryCodec) static <E> com.mojang.serialization.Codec<Pool<E>> Pool.createCodec(com.mojang.serialization.MapCodec<E> entryCodec) static <E> com.mojang.serialization.Codec<Pool<E>> Pool.createNonEmptyCodec(com.mojang.serialization.Codec<E> entryCodec) static <E> com.mojang.serialization.Codec<Pool<E>> Pool.createNonEmptyCodec(com.mojang.serialization.MapCodec<E> entryCodec) static <E,B extends ByteBuf>
PacketCodec<B, Pool<E>> Pool.createPacketCodec(PacketCodec<B, E> entryCodec) -
Uses of Pool in net.minecraft.util.math.intprovider
Fields in net.minecraft.util.math.intprovider declared as PoolModifier and TypeFieldDescriptionprivate final Pool<IntProvider> WeightedListIntProvider.weightedListConstructors in net.minecraft.util.math.intprovider with parameters of type Pool -
Uses of Pool in net.minecraft.world
Fields in net.minecraft.world declared as PoolModifier and TypeFieldDescriptionprivate static final Pool<BlockParticleEffect> private final Pool<SpawnSettings.SpawnEntry> StructureSpawns.spawnsThe field for thespawnsrecord component.Methods in net.minecraft.world that return PoolModifier and TypeMethodDescriptionprivate static Pool<SpawnSettings.SpawnEntry> SpawnHelper.getSpawnEntries(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, BlockPos pos, @Nullable RegistryEntry<Biome> biomeEntry) StructureSpawns.spawns()Returns the value of thespawnsrecord component.Methods in net.minecraft.world with parameters of type PoolModifier and TypeMethodDescriptionabstract voidWorld.createExplosion(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, World.ExplosionSourceType explosionSourceType, ParticleEffect smallParticle, ParticleEffect largeParticle, Pool<BlockParticleEffect> blockParticles, RegistryEntry<SoundEvent> soundEvent) Creates an explosion.Constructors in net.minecraft.world with parameters of type PoolModifierConstructorDescriptionStructureSpawns(StructureSpawns.BoundingBox boundingBox, Pool<SpawnSettings.SpawnEntry> spawns) Creates an instance of aStructureSpawnsrecord class. -
Uses of Pool in net.minecraft.world.biome
Fields in net.minecraft.world.biome declared as PoolModifier and TypeFieldDescriptionstatic final Pool<SpawnSettings.SpawnEntry> SpawnSettings.EMPTY_ENTRY_POOLFields in net.minecraft.world.biome with type parameters of type PoolModifier and TypeFieldDescriptionprivate final Map<SpawnGroup, Pool<SpawnSettings.SpawnEntry>> SpawnSettings.spawnersMethods in net.minecraft.world.biome that return PoolConstructor parameters in net.minecraft.world.biome with type arguments of type PoolModifierConstructorDescription(package private)SpawnSettings(float creatureSpawnProbability, Map<SpawnGroup, Pool<SpawnSettings.SpawnEntry>> spawners, Map<EntityType<?>, SpawnSettings.SpawnDensity> spawnCosts) -
Uses of Pool in net.minecraft.world.gen.chunk
Methods in net.minecraft.world.gen.chunk that return PoolModifier and TypeMethodDescriptionChunkGenerator.getEntitySpawnList(RegistryEntry<Biome> biome, StructureAccessor accessor, SpawnGroup group, BlockPos pos) -
Uses of Pool in net.minecraft.world.gen.heightprovider
Fields in net.minecraft.world.gen.heightprovider declared as PoolModifier and TypeFieldDescriptionprivate final Pool<HeightProvider> WeightedListHeightProvider.weightedListConstructors in net.minecraft.world.gen.heightprovider with parameters of type Pool -
Uses of Pool in net.minecraft.world.gen.stateprovider
Fields in net.minecraft.world.gen.stateprovider declared as PoolModifier and TypeFieldDescriptionprivate final Pool<BlockState> WeightedBlockStateProvider.statesMethods in net.minecraft.world.gen.stateprovider with parameters of type PoolModifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult<WeightedBlockStateProvider> WeightedBlockStateProvider.wrap(Pool<BlockState> states) Constructors in net.minecraft.world.gen.stateprovider with parameters of type Pool -
Uses of Pool in net.minecraft.world.gen.structure
Fields in net.minecraft.world.gen.structure declared as PoolModifier and TypeFieldDescriptionstatic final Pool<SpawnSettings.SpawnEntry> NetherFortressStructure.MONSTER_SPAWNS