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