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 TypeMethodDescription@NotNull CanToolPerformAction
deserialize
(com.google.gson.JsonObject json, @NotNull com.google.gson.JsonDeserializationContext context) void
serialize
(com.google.gson.JsonObject json, CanToolPerformAction itemCondition, @NotNull com.google.gson.JsonSerializationContext context)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public void serialize(com.google.gson.JsonObject json, CanToolPerformAction itemCondition, @NotNull @NotNull com.google.gson.JsonSerializationContext context) - Specified by:
serialize
in interfaceSerializer<CanToolPerformAction>
-
deserialize
@NotNull public @NotNull CanToolPerformAction deserialize(com.google.gson.JsonObject json, @NotNull @NotNull com.google.gson.JsonDeserializationContext context) - Specified by:
deserialize
in interfaceSerializer<CanToolPerformAction>
-