net.minecraft.loot.provider.intprovider

public record PowLootIntProvider

implements LootIntProvider, PowLootNumberProvider<LootIntProvider>

net.minecraft.world.level.storage.loot.providers.number.ints.Power
net.minecraft.class_1_1611
net.minecraft.loot.provider.intprovider.PowLootIntProvider

Field summary

Modifier and TypeField
private final RegistryEntry<LootIntProvider>
base
comp_1_1835
base
private final RegistryEntry<LootIntProvider>
exponent
comp_1_1836
exponent
public static final com.mojang.serialization.MapCodec<PowLootIntProvider>
MAP_CODEC
field_1_10421
CODEC

Constructor summary

ModifierConstructor
public (RegistryEntry<LootIntProvider> base, RegistryEntry<LootIntProvider> exponent)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<PowLootIntProvider>
codec()
method_1_10380()
getCodec()
public int
getIntUnsafe(LootContext context)
method_1_10383(class_47 arg0)
nextInt(LootContext arg0)
public RegistryEntry<LootIntProvider>
base()
comp_1_1835()
base()
public RegistryEntry<LootIntProvider>
exponent()
comp_1_1836()
exponent()