Class TimeCheck.Serializer

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

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

    • Serializer

      public Serializer()
  • Method Details

    • serialize

      public void serialize(com.google.gson.JsonObject p_82046_, TimeCheck p_82047_, com.google.gson.JsonSerializationContext p_82048_)
      Specified by:
      serialize in interface Serializer<TimeCheck>
    • deserialize

      public TimeCheck deserialize(com.google.gson.JsonObject p_82054_, com.google.gson.JsonDeserializationContext p_82055_)
      Specified by:
      deserialize in interface Serializer<TimeCheck>