Class ScoreLootNumberProvider.Serializer
java.lang.Object
net.minecraft.loot.provider.number.ScoreLootNumberProvider.Serializer
- All Implemented Interfaces:
JsonSerializer<ScoreLootNumberProvider>
- Enclosing class:
- ScoreLootNumberProvider
public static class ScoreLootNumberProvider.Serializer extends Object implements JsonSerializer<ScoreLootNumberProvider>
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
Modifier and Type Method Description ScoreLootNumberProvider
fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
void
toJson(JsonObject jsonObject, ScoreLootNumberProvider scoreLootNumberProvider, JsonSerializationContext jsonSerializationContext)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
fromJson
public ScoreLootNumberProvider fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)- Specified by:
fromJson
in interfaceJsonSerializer<ScoreLootNumberProvider>
-
toJson
public void toJson(JsonObject jsonObject, ScoreLootNumberProvider scoreLootNumberProvider, JsonSerializationContext jsonSerializationContext)- Specified by:
toJson
in interfaceJsonSerializer<ScoreLootNumberProvider>
-