Class LootFunctionCopyEnergyBatteryData.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<LootFunctionCopyEnergyBatteryData>
org.cyclops.integrateddynamics.loot.functions.LootFunctionCopyEnergyBatteryData.Serializer
- All Implemented Interfaces:
net.minecraft.world.level.storage.loot.Serializer<LootFunctionCopyEnergyBatteryData>
- Enclosing class:
- LootFunctionCopyEnergyBatteryData
public static class LootFunctionCopyEnergyBatteryData.Serializer
extends net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<LootFunctionCopyEnergyBatteryData>
-
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, LootFunctionCopyEnergyBatteryData 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, LootFunctionCopyEnergyBatteryData lootFunctionCopyId, com.google.gson.JsonSerializationContext jsonSerializationContext) - Specified by:
serialize
in interfacenet.minecraft.world.level.storage.loot.Serializer<LootFunctionCopyEnergyBatteryData>
- Overrides:
serialize
in classnet.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<LootFunctionCopyEnergyBatteryData>
-
deserialize
public LootFunctionCopyEnergyBatteryData 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<LootFunctionCopyEnergyBatteryData>
-