Class ConstantLootNumberProvider.CustomSerializer
java.lang.Object
net.minecraft.loot.provider.number.ConstantLootNumberProvider.CustomSerializer
- All Implemented Interfaces:
JsonSerializing.CustomSerializer<ConstantLootNumberProvider>
- Enclosing class:
- ConstantLootNumberProvider
public static class ConstantLootNumberProvider.CustomSerializer extends Object implements JsonSerializing.CustomSerializer<ConstantLootNumberProvider>
- Mappings:
Namespace Name official dht$a
intermediary net/minecraft/class_44$class_5655
named net/minecraft/loot/provider/number/ConstantLootNumberProvider$CustomSerializer
-
Constructor Summary
Constructors Constructor Description CustomSerializer()
-
Method Summary
Modifier and Type Method Description ConstantLootNumberProvider
fromJson(JsonElement jsonElement, JsonDeserializationContext jsonDeserializationContext)
JsonElement
toJson(ConstantLootNumberProvider constantLootNumberProvider, JsonSerializationContext jsonSerializationContext)
-
Constructor Details
-
CustomSerializer
public CustomSerializer()
-
-
Method Details
-
toJson
public JsonElement toJson(ConstantLootNumberProvider constantLootNumberProvider, JsonSerializationContext jsonSerializationContext)- Specified by:
toJson
in interfaceJsonSerializing.CustomSerializer<ConstantLootNumberProvider>
- Mappings:
Namespace Name Mixin selector official a
Ldht$a;a(Ldht;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
intermediary method_32450
Lnet/minecraft/class_44$class_5655;method_32450(Lnet/minecraft/class_44;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
named toJson
Lnet/minecraft/loot/provider/number/ConstantLootNumberProvider$CustomSerializer;toJson(Lnet/minecraft/loot/provider/number/ConstantLootNumberProvider;Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonElement;
-
fromJson
public ConstantLootNumberProvider fromJson(JsonElement jsonElement, JsonDeserializationContext jsonDeserializationContext)- Specified by:
fromJson
in interfaceJsonSerializing.CustomSerializer<ConstantLootNumberProvider>
- Mappings:
Namespace Name Mixin selector official b
Ldht$a;b(Lcom/google/gson/JsonElement;Lcom/google/gson/JsonDeserializationContext;)Ldht;
intermediary method_32451
Lnet/minecraft/class_44$class_5655;method_32451(Lcom/google/gson/JsonElement;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_44;
named fromJson
Lnet/minecraft/loot/provider/number/ConstantLootNumberProvider$CustomSerializer;fromJson(Lcom/google/gson/JsonElement;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/provider/number/ConstantLootNumberProvider;
-