Package | Description |
---|---|
net.minecraft.world.storage.loot.functions |
Modifier and Type | Class and Description |
---|---|
static class |
EnchantRandomly.Serializer |
static class |
EnchantWithLevels.Serializer |
static class |
LootingEnchantBonus.Serializer |
static class |
SetAttributes.Serializer |
static class |
SetCount.Serializer |
static class |
SetDamage.Serializer |
static class |
SetMetadata.Serializer |
static class |
SetNBT.Serializer |
static class |
Smelt.Serializer |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.Class<? extends LootFunction>,LootFunction.Serializer<?>> |
LootFunctionManager.CLASS_TO_SERIALIZER_MAP |
private static java.util.Map<ResourceLocation,LootFunction.Serializer<?>> |
LootFunctionManager.NAME_TO_SERIALIZER_MAP |
Modifier and Type | Method and Description |
---|---|
static <T extends LootFunction> |
LootFunctionManager.getSerializerFor(T functionClass) |
static LootFunction.Serializer<?> |
LootFunctionManager.getSerializerForName(ResourceLocation location) |
Modifier and Type | Method and Description |
---|---|
static <T extends LootFunction> |
LootFunctionManager.registerFunction(LootFunction.Serializer<? extends T> serializer) |