Uses of Class
net.minecraft.util.random.SimpleWeightedRandomList
Package
Description
-
Uses of SimpleWeightedRandomList in net.minecraft.util.random
Modifier and TypeMethodDescriptionSimpleWeightedRandomList.Builder.build()
static <E> SimpleWeightedRandomList<E>
SimpleWeightedRandomList.empty()
static <E> SimpleWeightedRandomList<E>
SimpleWeightedRandomList.single
(E p_185863_) Modifier and TypeMethodDescriptionstatic <E> com.mojang.serialization.Codec<SimpleWeightedRandomList<E>>
SimpleWeightedRandomList.wrappedCodec
(com.mojang.serialization.Codec<E> p_146265_) static <E> com.mojang.serialization.Codec<SimpleWeightedRandomList<E>>
SimpleWeightedRandomList.wrappedCodecAllowingEmpty
(com.mojang.serialization.Codec<E> p_185861_) -
Uses of SimpleWeightedRandomList in net.minecraft.util.valueproviders
Modifier and TypeFieldDescriptionprivate final SimpleWeightedRandomList<IntProvider>
WeightedListInt.distribution
-
Uses of SimpleWeightedRandomList in net.minecraft.world.level
Modifier and TypeFieldDescriptionprivate SimpleWeightedRandomList<SpawnData>
BaseSpawner.spawnPotentials
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<SimpleWeightedRandomList<SpawnData>>
SpawnData.LIST_CODEC
-
Uses of SimpleWeightedRandomList in net.minecraft.world.level.levelgen.feature.stateproviders
Modifier and TypeFieldDescriptionprivate final SimpleWeightedRandomList<BlockState>
WeightedStateProvider.weightedList
Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult<WeightedStateProvider>
WeightedStateProvider.create
(SimpleWeightedRandomList<BlockState> p_161598_) ModifierConstructorDescriptionWeightedStateProvider
(SimpleWeightedRandomList<BlockState> p_161596_) -
Uses of SimpleWeightedRandomList in net.minecraft.world.level.levelgen.heightproviders
Modifier and TypeFieldDescriptionprivate final SimpleWeightedRandomList<HeightProvider>
WeightedListHeight.distribution
ModifierConstructorDescriptionWeightedListHeight
(SimpleWeightedRandomList<HeightProvider> p_191536_)