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 dhf$a
intermediary net/minecraft/class_219$class_220
named net/minecraft/loot/condition/RandomChanceLootCondition$Serializer
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
Modifier and Type Method Description RandomChanceLootCondition
fromJson(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
Ldhf$a;a(Lcom/google/gson/JsonObject;Ldhf;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
Ldhf$a;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldhf;
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;
-