Package net.minecraft.loot.functions
Class CopyBlockState.Serializer
java.lang.Object
net.minecraft.loot.LootFunction.Serializer<CopyBlockState>
net.minecraft.loot.functions.CopyBlockState.Serializer
- All Implemented Interfaces:
ILootSerializer<CopyBlockState>
- Enclosing class:
- CopyBlockState
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) void
serialize
(com.google.gson.JsonObject p_230424_1_, CopyBlockState p_230424_2_, com.google.gson.JsonSerializationContext p_230424_3_) Methods inherited from class net.minecraft.loot.LootFunction.Serializer
deserialize
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public void serialize(com.google.gson.JsonObject p_230424_1_, CopyBlockState p_230424_2_, com.google.gson.JsonSerializationContext p_230424_3_) - Specified by:
serialize
in interfaceILootSerializer<CopyBlockState>
- Overrides:
serialize
in classLootFunction.Serializer<CopyBlockState>
-
deserialize
public CopyBlockState deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) - Specified by:
deserialize
in classLootFunction.Serializer<CopyBlockState>
-