net.minecraft.loot.provider.intprovider

public record WeightedListLootIntProvider

implements LootIntProvider, WeightedListLootNumberProvider<LootIntProvider>

net.minecraft.world.level.storage.loot.providers.number.ints.WeightedListValue
net.minecraft.class_1_1665
net.minecraft.loot.provider.intprovider.WeightedListLootIntProvider

Field summary

Modifier and TypeField
private final WeightedPool<RegistryEntry<LootIntProvider>>
distribution
comp_1_1340
distribution
public static final com.mojang.serialization.MapCodec<WeightedListLootIntProvider>
MAP_CODEC
field_1_10467
CODEC

Constructor summary

ModifierConstructor
public (WeightedPool<RegistryEntry<LootIntProvider>> distribution)

Method summary

Modifier and TypeMethod
public int
getIntUnsafe(LootContext context)
method_1_10383(class_47 arg0)
nextInt(LootContext arg0)
public com.mojang.serialization.MapCodec<WeightedListLootIntProvider>
codec()
method_1_10380()
getCodec()
public WeightedPool<RegistryEntry<LootIntProvider>>
distribution()
comp_1_1340()
distribution()