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