Uses of Class
net.minecraft.util.collection.DataPool
Packages that use DataPool
Package
Description
-
Uses of DataPool in net.minecraft.block.spawner
Fields in net.minecraft.block.spawner declared as DataPoolModifier and TypeFieldDescriptionTrialSpawnerData.itemsToDropWhenOminousprivate final DataPool<RegistryKey<LootTable>> TrialSpawnerConfig.lootTablesToEjectThe field for thelootTablesToEjectrecord component.private DataPool<MobSpawnerEntry> MobSpawnerLogic.spawnPotentialsprivate final DataPool<MobSpawnerEntry> TrialSpawnerConfig.spawnPotentialsDefinitionThe field for thespawnPotentialsDefinitionrecord component.Fields in net.minecraft.block.spawner with type parameters of type DataPoolModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DataPool<MobSpawnerEntry>> MobSpawnerEntry.DATA_POOL_CODECMethods in net.minecraft.block.spawner that return DataPoolModifier and TypeMethodDescriptionTrialSpawnerData.getItemsToDropWhenOminous(ServerWorld world, TrialSpawnerConfig config, BlockPos pos) TrialSpawnerConfig.lootTablesToEject()Returns the value of thelootTablesToEjectrecord component.TrialSpawnerConfig.spawnPotentialsDefinition()Returns the value of thespawnPotentialsDefinitionrecord component.Constructors in net.minecraft.block.spawner with parameters of type DataPoolModifierConstructorDescriptionTrialSpawnerConfig(int int2, float float2, float float3, float float4, float float5, int int3, DataPool<MobSpawnerEntry> dataPool, DataPool<RegistryKey<LootTable>> dataPool2, RegistryKey<LootTable> registryKey) -
Uses of DataPool in net.minecraft.structure.pool.alias
Fields in net.minecraft.structure.pool.alias declared as DataPoolModifier and TypeFieldDescriptionprivate final DataPool<List<StructurePoolAliasBinding>> RandomGroupStructurePoolAliasBinding.groupsThe field for thegroupsrecord component.private final DataPool<RegistryKey<StructurePool>> RandomStructurePoolAliasBinding.targetsThe field for thetargetsrecord component.Methods in net.minecraft.structure.pool.alias that return DataPoolModifier 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 DataPoolModifier and TypeMethodDescriptionStructurePoolAliasBinding.random(RegistryKey<StructurePool> alias, DataPool<RegistryKey<StructurePool>> targets) StructurePoolAliasBinding.randomGroup(DataPool<List<StructurePoolAliasBinding>> groups) Constructors in net.minecraft.structure.pool.alias with parameters of type DataPoolModifierConstructorDescription(package private)(package private)RandomStructurePoolAliasBinding(RegistryKey<StructurePool> registryKey, DataPool<RegistryKey<StructurePool>> dataPool) -
Uses of DataPool in net.minecraft.util.collection
Methods in net.minecraft.util.collection that return DataPoolModifier and TypeMethodDescriptionDataPool.Builder.build()static <E> DataPool<E> DataPool.empty()static <E> DataPool<E> DataPool.of(E object) Methods in net.minecraft.util.collection that return types with arguments of type DataPoolModifier and TypeMethodDescriptionstatic <E> com.mojang.serialization.Codec<DataPool<E>> DataPool.createCodec(com.mojang.serialization.Codec<E> dataCodec) static <E> com.mojang.serialization.Codec<DataPool<E>> DataPool.createEmptyAllowedCodec(com.mojang.serialization.Codec<E> dataCodec) -
Uses of DataPool in net.minecraft.util.math.intprovider
Fields in net.minecraft.util.math.intprovider declared as DataPoolModifier and TypeFieldDescriptionprivate final DataPool<IntProvider> WeightedListIntProvider.weightedListConstructors in net.minecraft.util.math.intprovider with parameters of type DataPool -
Uses of DataPool in net.minecraft.world.gen.heightprovider
Fields in net.minecraft.world.gen.heightprovider declared as DataPoolModifier and TypeFieldDescriptionprivate final DataPool<HeightProvider> WeightedListHeightProvider.weightedListConstructors in net.minecraft.world.gen.heightprovider with parameters of type DataPool -
Uses of DataPool in net.minecraft.world.gen.stateprovider
Fields in net.minecraft.world.gen.stateprovider declared as DataPoolModifier and TypeFieldDescriptionprivate final DataPool<BlockState> WeightedBlockStateProvider.statesMethods in net.minecraft.world.gen.stateprovider with parameters of type DataPoolModifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult<WeightedBlockStateProvider> WeightedBlockStateProvider.wrap(DataPool<BlockState> states) Constructors in net.minecraft.world.gen.stateprovider with parameters of type DataPool