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