Package net.minecraftforge.common.loot
Class LootTableIdCondition.Serializer
java.lang.Object
net.minecraftforge.common.loot.LootTableIdCondition.Serializer
- All Implemented Interfaces:
Serializer<LootTableIdCondition>
- Enclosing class:
- LootTableIdCondition
public static class LootTableIdCondition.Serializer
extends Object
implements Serializer<LootTableIdCondition>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonObject object, com.google.gson.JsonDeserializationContext ctx) void
serialize
(com.google.gson.JsonObject object, LootTableIdCondition instance, com.google.gson.JsonSerializationContext ctx)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public void serialize(com.google.gson.JsonObject object, LootTableIdCondition instance, com.google.gson.JsonSerializationContext ctx) - Specified by:
serialize
in interfaceSerializer<LootTableIdCondition>
-
deserialize
public LootTableIdCondition deserialize(com.google.gson.JsonObject object, com.google.gson.JsonDeserializationContext ctx) - Specified by:
deserialize
in interfaceSerializer<LootTableIdCondition>
-