public interface LootEntryTypeRegistry
net.minecraft.loot.entry.LootEntries
for registering
custom loot entry types.Modifier and Type | Field and Description |
---|---|
static LootEntryTypeRegistry |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
register(net.minecraft.util.Identifier id,
net.minecraft.util.JsonSerializer<? extends net.minecraft.loot.entry.LootPoolEntry> serializer)
Registers a loot entry type serializer by its ID.
|
static final LootEntryTypeRegistry INSTANCE