Class EntityInBiomeTag.Serializer

java.lang.Object
com.minecolonies.api.loot.EntityInBiomeTag.Serializer
All Implemented Interfaces:
net.minecraft.world.level.storage.loot.Serializer<EntityInBiomeTag>
Enclosing class:
EntityInBiomeTag

public static class EntityInBiomeTag.Serializer extends Object implements net.minecraft.world.level.storage.loot.Serializer<EntityInBiomeTag>
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • serialize

      public void serialize(@NotNull @NotNull com.google.gson.JsonObject json, @NotNull @NotNull EntityInBiomeTag condition, @NotNull @NotNull com.google.gson.JsonSerializationContext context)
      Specified by:
      serialize in interface net.minecraft.world.level.storage.loot.Serializer<EntityInBiomeTag>
    • deserialize

      @NotNull public @NotNull EntityInBiomeTag deserialize(@NotNull @NotNull com.google.gson.JsonObject json, @NotNull @NotNull com.google.gson.JsonDeserializationContext context)
      Specified by:
      deserialize in interface net.minecraft.world.level.storage.loot.Serializer<EntityInBiomeTag>