Uses of Class
net.minecraft.util.collection.DataPool
Package
Description
-
Uses of DataPool in net.minecraft.block.spawner
Modifier and TypeFieldDescriptionTrialSpawnerData.itemsToDropWhenOminous
private DataPool
<RegistryKey<LootTable>> TrialSpawnerConfig.Builder.lootTablesToEject
private final DataPool
<RegistryKey<LootTable>> TrialSpawnerConfig.lootTablesToEject
The field for thelootTablesToEject
record component.private DataPool
<MobSpawnerEntry> MobSpawnerLogic.spawnPotentials
private DataPool
<MobSpawnerEntry> TrialSpawnerConfig.Builder.spawnPotentials
private final DataPool
<MobSpawnerEntry> TrialSpawnerConfig.spawnPotentials
The field for thespawnPotentials
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<DataPool<MobSpawnerEntry>> MobSpawnerEntry.DATA_POOL_CODEC
Modifier and TypeMethodDescriptionTrialSpawnerData.getItemsToDropWhenOminous
(ServerWorld world, TrialSpawnerConfig config, BlockPos pos) TrialSpawnerConfig.lootTablesToEject()
Returns the value of thelootTablesToEject
record component.TrialSpawnerConfig.spawnPotentials()
Returns the value of thespawnPotentials
record component.Modifier and TypeMethodDescriptionTrialSpawnerConfig.Builder.lootTablesToEject
(DataPool<RegistryKey<LootTable>> lootTablesToEject) TrialSpawnerConfig.Builder.spawnPotentials
(DataPool<MobSpawnerEntry> spawnPotentials) ModifierConstructorDescriptionTrialSpawnerConfig
(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.client.render.model
-
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)