Package net.minecraft.loot.condition
Class InvertedLootCondition.Serializer
java.lang.Object
net.minecraft.loot.condition.InvertedLootCondition.Serializer
- All Implemented Interfaces:
JsonSerializer<InvertedLootCondition>
- Enclosing class:
- InvertedLootCondition
public static class InvertedLootCondition.Serializer extends Object implements JsonSerializer<InvertedLootCondition>
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
Modifier and Type Method Description InvertedLootCondition
fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
void
toJson(JsonObject jsonObject, InvertedLootCondition invertedLootCondition, JsonSerializationContext jsonSerializationContext)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
toJson
public void toJson(JsonObject jsonObject, InvertedLootCondition invertedLootCondition, JsonSerializationContext jsonSerializationContext)- Specified by:
toJson
in interfaceJsonSerializer<InvertedLootCondition>
-
fromJson
public InvertedLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)- Specified by:
fromJson
in interfaceJsonSerializer<InvertedLootCondition>
-