Class MatchTool.Serializer

java.lang.Object
net.minecraft.world.level.storage.loot.predicates.MatchTool.Serializer
All Implemented Interfaces:
Serializer<MatchTool>
Enclosing class:
MatchTool

public static class MatchTool.Serializer extends Object implements Serializer<MatchTool>
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • serialize

      public void serialize(com.google.gson.JsonObject p_82013_, MatchTool p_82014_, com.google.gson.JsonSerializationContext p_82015_)
      Specified by:
      serialize in interface Serializer<MatchTool>
    • deserialize

      public MatchTool deserialize(com.google.gson.JsonObject p_82021_, com.google.gson.JsonDeserializationContext p_82022_)
      Specified by:
      deserialize in interface Serializer<MatchTool>