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