Class LootPoolEntryContainer.Serializer<T extends LootPoolEntryContainer>

java.lang.Object
net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer.Serializer<T>
All Implemented Interfaces:
Serializer<T>
Direct Known Subclasses:
LootPoolSingletonContainer.Serializer
Enclosing class:
LootPoolEntryContainer

public abstract static class LootPoolEntryContainer.Serializer<T extends LootPoolEntryContainer> extends Object implements Serializer<T>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    deserialize​(com.google.gson.JsonObject p_79664_, com.google.gson.JsonDeserializationContext p_79665_)
     
    abstract T
    deserializeCustom​(com.google.gson.JsonObject p_79666_, com.google.gson.JsonDeserializationContext p_79667_, LootItemCondition[] p_79668_)
     
    void
    serialize​(com.google.gson.JsonObject p_79670_, T p_79671_, com.google.gson.JsonSerializationContext p_79672_)
     
    abstract void
    serializeCustom​(com.google.gson.JsonObject p_79656_, T p_79657_, com.google.gson.JsonSerializationContext p_79658_)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • serialize

      public final void serialize(com.google.gson.JsonObject p_79670_, T p_79671_, com.google.gson.JsonSerializationContext p_79672_)
      Specified by:
      serialize in interface Serializer<T extends LootPoolEntryContainer>
    • deserialize

      public final T deserialize(com.google.gson.JsonObject p_79664_, com.google.gson.JsonDeserializationContext p_79665_)
      Specified by:
      deserialize in interface Serializer<T extends LootPoolEntryContainer>
    • serializeCustom

      public abstract void serializeCustom(com.google.gson.JsonObject p_79656_, T p_79657_, com.google.gson.JsonSerializationContext p_79658_)
    • deserializeCustom

      public abstract T deserializeCustom(com.google.gson.JsonObject p_79666_, com.google.gson.JsonDeserializationContext p_79667_, LootItemCondition[] p_79668_)