net.minecraft.world.level.storage.loot.providers.number

public class NumberProviders

fav
net.minecraft.world.level.storage.loot.providers.number.NumberProviders
net.minecraft.class_5659
net.minecraft.loot.provider.number.LootNumberProviderTypes
net.minecraft.world.level.storage.loot.providers.number.NumberProviders

Field summary

Modifier and TypeField
private static final com.mojang.serialization.Codec<NumberProvider>
h
TYPED_CODEC
field_45889
BASE_CODEC
public static final com.mojang.serialization.Codec<NumberProvider>
a
CODEC
field_45888
CODEC
public static final LootNumberProviderType
b
CONSTANT
field_27921
CONSTANT
public static final LootNumberProviderType
c
UNIFORM
field_27922
UNIFORM
public static final LootNumberProviderType
d
BINOMIAL
field_27923
BINOMIAL
public static final LootNumberProviderType
e
SCORE
field_27924
SCORE
public static final LootNumberProviderType
f
STORAGE
field_50032
STORAGE
public static final LootNumberProviderType
g
ENCHANTMENT_LEVEL
field_51814
ENCHANTMENT_LEVEL

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static LootNumberProviderType
a(String arg0, com.mojang.serialization.MapCodec<? extends fau> arg1)
register(String arg0, com.mojang.serialization.MapCodec<? extends NumberProvider> arg1)
method_32456(String arg0, com.mojang.serialization.MapCodec<? extends class_5658> arg1)
register(String id, com.mojang.serialization.MapCodec<? extends LootNumberProvider> codec)