Class LootFunctionCopyMechanicalMachineEnergy.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<LootFunctionCopyMechanicalMachineEnergy>
org.cyclops.integrateddynamics.loot.functions.LootFunctionCopyMechanicalMachineEnergy.Serializer
- All Implemented Interfaces:
net.minecraft.world.level.storage.loot.Serializer<LootFunctionCopyMechanicalMachineEnergy>
- Enclosing class:
- LootFunctionCopyMechanicalMachineEnergy
public static class LootFunctionCopyMechanicalMachineEnergy.Serializer
extends net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<LootFunctionCopyMechanicalMachineEnergy>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(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, LootFunctionCopyMechanicalMachineEnergy lootFunctionCopyId, com.google.gson.JsonSerializationContext jsonSerializationContext) Methods inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer
deserialize
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public void serialize(com.google.gson.JsonObject jsonObject, LootFunctionCopyMechanicalMachineEnergy lootFunctionCopyId, com.google.gson.JsonSerializationContext jsonSerializationContext) - Specified by:
serialize
in interfacenet.minecraft.world.level.storage.loot.Serializer<LootFunctionCopyMechanicalMachineEnergy>
- Overrides:
serialize
in classnet.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<LootFunctionCopyMechanicalMachineEnergy>
-
deserialize
public LootFunctionCopyMechanicalMachineEnergy deserialize(com.google.gson.JsonObject jsonObject, com.google.gson.JsonDeserializationContext jsonDeserializationContext, net.minecraft.world.level.storage.loot.predicates.LootItemCondition[] conditionsIn) - Specified by:
deserialize
in classnet.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<LootFunctionCopyMechanicalMachineEnergy>
-