Class CopyBlockState.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<CopyBlockState>
net.minecraft.world.level.storage.loot.functions.CopyBlockState.Serializer
- All Implemented Interfaces:
Serializer<CopyBlockState>
- Enclosing class:
- CopyBlockState
public static class CopyBlockState.Serializer
extends LootItemConditionalFunction.Serializer<CopyBlockState>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.google.gson.JsonObject p_80093_, com.google.gson.JsonDeserializationContext p_80094_, LootItemCondition[] p_80095_)
void
serialize(com.google.gson.JsonObject p_80097_, CopyBlockState p_80098_, com.google.gson.JsonSerializationContext p_80099_)
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 p_80097_, CopyBlockState p_80098_, com.google.gson.JsonSerializationContext p_80099_)- Specified by:
serialize
in interfaceSerializer<CopyBlockState>
- Overrides:
serialize
in classLootItemConditionalFunction.Serializer<CopyBlockState>
-
deserialize
public CopyBlockState deserialize(com.google.gson.JsonObject p_80093_, com.google.gson.JsonDeserializationContext p_80094_, LootItemCondition[] p_80095_)- Specified by:
deserialize
in classLootItemConditionalFunction.Serializer<CopyBlockState>
-