Uses of Class
net.minecraft.util.collection.DataPool
Package
Description
-
Uses of DataPool in net.minecraft.block.spawner
Modifier and TypeFieldDescriptionprivate final DataPool<Identifier>
TrialSpawnerConfig.lootTablesToEject
The field for thelootTablesToEject
record component.protected DataPool<MobSpawnerEntry>
TrialSpawnerData.spawnDataPool
private DataPool<MobSpawnerEntry>
MobSpawnerLogic.spawnPotentials
private final DataPool<MobSpawnerEntry>
TrialSpawnerConfig.spawnPotentialsDefinition
The field for thespawnPotentialsDefinition
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DataPool<MobSpawnerEntry>>
MobSpawnerEntry.DATA_POOL_CODEC
Modifier and TypeMethodDescriptionTrialSpawnerConfig.lootTablesToEject()
Returns the value of thelootTablesToEject
record component.TrialSpawnerConfig.spawnPotentialsDefinition()
Returns the value of thespawnPotentialsDefinition
record component.ModifierConstructorDescriptionTrialSpawnerConfig
(int int2, int int3, float float2, float float3, float float4, float float5, int int4, int int5, DataPool<MobSpawnerEntry> dataPool, DataPool<Identifier> dataPool2) -
Uses of DataPool in net.minecraft.structure.pool.alias
Modifier 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.Modifier and TypeMethodDescriptionRandomGroupStructurePoolAliasBinding.groups()
Returns the value of thegroups
record component.RandomStructurePoolAliasBinding.targets()
Returns the value of thetargets
record component.Modifier and TypeMethodDescriptionStructurePoolAliasBinding.random
(RegistryKey<StructurePool> alias, DataPool<RegistryKey<StructurePool>> targets) StructurePoolAliasBinding.randomGroup
(DataPool<List<StructurePoolAliasBinding>> groups) ModifierConstructorDescription(package private)
(package private)
RandomStructurePoolAliasBinding
(RegistryKey<StructurePool> registryKey, DataPool<RegistryKey<StructurePool>> dataPool) -
Uses of DataPool in net.minecraft.util.collection
Modifier and TypeMethodDescriptionDataPool.Builder.build()
static <E> DataPool<E>
DataPool.empty()
static <E> DataPool<E>
DataPool.of
(E object) Modifier 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
Modifier and TypeFieldDescriptionprivate final DataPool<IntProvider>
WeightedListIntProvider.weightedList
-
Uses of DataPool in net.minecraft.world.gen.heightprovider
Modifier and TypeFieldDescriptionprivate final DataPool<HeightProvider>
WeightedListHeightProvider.weightedList
-
Uses of DataPool in net.minecraft.world.gen.stateprovider
Modifier and TypeFieldDescriptionprivate final DataPool<BlockState>
WeightedBlockStateProvider.states
Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult<WeightedBlockStateProvider>
WeightedBlockStateProvider.wrap
(DataPool<BlockState> states)