net.minecraft.loot.provider.number

public record MaximumLootNumberProvider

implements AggregateLootNumberProvider

net.minecraft.world.level.storage.loot.providers.number.Maximum
net.minecraft.class_1_1481
net.minecraft.loot.provider.number.MaximumLootNumberProvider

Field summary

Modifier and TypeField
private final RegistryEntryList<LootNumberProvider>
operands
comp_1_38
operands
public static final com.mojang.serialization.MapCodec<MaximumLootNumberProvider>
MAP_CODEC
field_1_10090
CODEC

Constructor summary

ModifierConstructor
public (RegistryEntryList<LootNumberProvider> operands)

Method summary

Modifier and TypeMethod
public static RegistryEntry<LootNumberProvider>
maximum(Holder<NumberProvider>... operands)
method_1_9814(class_6880<class_5658>... arg0)
of(RegistryEntry<LootNumberProvider>... operands)
public com.mojang.serialization.MapCodec<MaximumLootNumberProvider>
codec()
method_1_755()
getCodec()
public float
getFloat(LootContext context)
method_32454(class_47 arg0)
nextFloat(LootContext arg0)
public int
getInt(LootContext context)
method_366(class_47 arg0)
nextInt(LootContext arg0)
public RegistryEntryList<LootNumberProvider>
operands()
comp_1_38()
operands()