Package net.minecraftforge.common.loot
Class LootTableIdCondition.Serializer
java.lang.Object
net.minecraftforge.common.loot.LootTableIdCondition.Serializer
- All Implemented Interfaces:
ILootSerializer<LootTableIdCondition>
- Enclosing class:
- LootTableIdCondition
public static class LootTableIdCondition.Serializer
extends Object
implements ILootSerializer<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 interfaceILootSerializer<LootTableIdCondition>
-
deserialize
public LootTableIdCondition deserialize(com.google.gson.JsonObject object, com.google.gson.JsonDeserializationContext ctx) - Specified by:
deserialize
in interfaceILootSerializer<LootTableIdCondition>
-