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.itemsToDropWhenOminous
private final DataPool
<RegistryKey<LootTable>> TrialSpawnerConfig.lootTablesToEject
The field for thelootTablesToEject
record component.private DataPool
<MobSpawnerEntry> MobSpawnerLogic.spawnPotentials
private final DataPool
<MobSpawnerEntry> TrialSpawnerConfig.spawnPotentialsDefinition
The field for thespawnPotentialsDefinition
record 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_CODEC
Methods in net.minecraft.block.spawner that return DataPoolModifier and TypeMethodDescriptionTrialSpawnerData.getItemsToDropWhenOminous
(ServerWorld world, TrialSpawnerConfig config, BlockPos pos) TrialSpawnerConfig.lootTablesToEject()
Returns the value of thelootTablesToEject
record component.TrialSpawnerConfig.spawnPotentialsDefinition()
Returns the value of thespawnPotentialsDefinition
record 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.groups
The field for thegroups
record component.private final DataPool
<RegistryKey<StructurePool>> RandomStructurePoolAliasBinding.targets
The field for thetargets
record component.Methods in net.minecraft.structure.pool.alias that return DataPoolModifier and TypeMethodDescriptionRandomGroupStructurePoolAliasBinding.groups()
Returns the value of thegroups
record component.RandomStructurePoolAliasBinding.targets()
Returns the value of thetargets
record 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.weightedList
Constructors 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.weightedList
Constructors 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.states
Methods 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