private static class GlobalLootModifiersTest.WheatSeedsConverterModifier.Serializer extends GlobalLootModifierSerializer<GlobalLootModifiersTest.WheatSeedsConverterModifier>
Modifier | Constructor and Description |
---|---|
private |
Serializer() |
Modifier and Type | Method and Description |
---|---|
GlobalLootModifiersTest.WheatSeedsConverterModifier |
read(ResourceLocation name,
com.google.gson.JsonObject object,
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.WheatSeedsConverterModifier read(ResourceLocation name, com.google.gson.JsonObject object, ILootCondition[] conditionsIn)
GlobalLootModifierSerializer
return new MyModifier(conditionsIn)
read
in class GlobalLootModifierSerializer<GlobalLootModifiersTest.WheatSeedsConverterModifier>