register

void register(Identifier id, JsonSerializer<? extends LootPoolEntry> serializer)

Registers a loot entry type serializer by its ID.

Parameters

id

the loot entry's ID

serializer

the loot entry serializer

Sources

jvm source
Link copied to clipboard