private static class GlobalLootModifiersTest.SmeltingEnchantmentModifier.Serializer extends GlobalLootModifierSerializer<GlobalLootModifiersTest.SmeltingEnchantmentModifier>
Modifier | Constructor and Description |
---|---|
private |
Serializer() |
Modifier and Type | Method and Description |
---|---|
GlobalLootModifiersTest.SmeltingEnchantmentModifier |
read(ResourceLocation name,
com.google.gson.JsonObject json,
ILootCondition[] conditionsIn)
Most mods will likely not need more than
return new MyModifier(conditionsIn) but any additional properties that are needed will need to be deserialized here. |
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public GlobalLootModifiersTest.SmeltingEnchantmentModifier read(ResourceLocation name, com.google.gson.JsonObject json, ILootCondition[] conditionsIn)
GlobalLootModifierSerializer
return new MyModifier(conditionsIn)
read
in class GlobalLootModifierSerializer<GlobalLootModifiersTest.SmeltingEnchantmentModifier>