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 TypeFieldDescriptionprivate final DataPool<Identifier>TrialSpawnerConfig.lootTablesToEjectThe field for thelootTablesToEjectrecord component.protected DataPool<MobSpawnerEntry>TrialSpawnerData.spawnDataPoolprivate 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 TypeMethodDescriptionTrialSpawnerConfig.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, 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
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