Class LootFunctionCopyProxyId.Serializer

java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<LootFunctionCopyProxyId>
org.cyclops.integrateddynamics.loot.functions.LootFunctionCopyProxyId.Serializer
All Implemented Interfaces:
net.minecraft.world.level.storage.loot.Serializer<LootFunctionCopyProxyId>
Enclosing class:
LootFunctionCopyProxyId

public static class LootFunctionCopyProxyId.Serializer extends net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<LootFunctionCopyProxyId>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    deserialize(com.google.gson.JsonObject jsonObject, com.google.gson.JsonDeserializationContext jsonDeserializationContext, net.minecraft.world.level.storage.loot.predicates.LootItemCondition[] conditionsIn)
     
    void
    serialize(com.google.gson.JsonObject jsonObject, LootFunctionCopyProxyId lootFunctionCopyId, com.google.gson.JsonSerializationContext jsonSerializationContext)
     

    Methods inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer

    deserialize

    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 void serialize(com.google.gson.JsonObject jsonObject, LootFunctionCopyProxyId lootFunctionCopyId, com.google.gson.JsonSerializationContext jsonSerializationContext)
      Specified by:
      serialize in interface net.minecraft.world.level.storage.loot.Serializer<LootFunctionCopyProxyId>
      Overrides:
      serialize in class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<LootFunctionCopyProxyId>
    • deserialize

      public LootFunctionCopyProxyId deserialize(com.google.gson.JsonObject jsonObject, com.google.gson.JsonDeserializationContext jsonDeserializationContext, net.minecraft.world.level.storage.loot.predicates.LootItemCondition[] conditionsIn)
      Specified by:
      deserialize in class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<LootFunctionCopyProxyId>