Package net.minecraft.loot.condition
Class RandomChanceLootCondition.Serializer
java.lang.Object
net.minecraft.loot.condition.RandomChanceLootCondition.Serializer
- All Implemented Interfaces:
JsonSerializer<RandomChanceLootCondition>
- Enclosing class:
RandomChanceLootCondition
public static class RandomChanceLootCondition.Serializer
extends Object
implements JsonSerializer<RandomChanceLootCondition>
- Mappings:
Namespace Name official ecg$a
intermediary net/minecraft/class_219$class_220
named net/minecraft/loot/condition/RandomChanceLootCondition$Serializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext) void
toJson
(JsonObject jsonObject, RandomChanceLootCondition randomChanceLootCondition, JsonSerializationContext jsonSerializationContext)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
toJson
public void toJson(JsonObject jsonObject, RandomChanceLootCondition randomChanceLootCondition, JsonSerializationContext jsonSerializationContext) - Specified by:
toJson
in interfaceJsonSerializer<RandomChanceLootCondition>
- Mappings:
Namespace Name Mixin selector official a
Lecg$a;a(Lcom/google/gson/JsonObject;Lecg;Lcom/google/gson/JsonSerializationContext;)V
intermediary method_936
Lnet/minecraft/class_219$class_220;method_936(Lcom/google/gson/JsonObject;Lnet/minecraft/class_219;Lcom/google/gson/JsonSerializationContext;)V
named toJson
Lnet/minecraft/loot/condition/RandomChanceLootCondition$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/condition/RandomChanceLootCondition;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
public RandomChanceLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext) - Specified by:
fromJson
in interfaceJsonSerializer<RandomChanceLootCondition>
- Mappings:
Namespace Name Mixin selector official b
Lecg$a;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lecg;
intermediary method_937
Lnet/minecraft/class_219$class_220;method_937(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_219;
named fromJson
Lnet/minecraft/loot/condition/RandomChanceLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/RandomChanceLootCondition;
-