Package net.minecraft.loot.function
Class CopyStateFunction.Serializer
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Serializer<CopyStateFunction>
net.minecraft.loot.function.CopyStateFunction.Serializer
- All Implemented Interfaces:
JsonSerializer<CopyStateFunction>
- Enclosing class:
CopyStateFunction
public static class CopyStateFunction.Serializer
extends ConditionalLootFunction.Serializer<CopyStateFunction>
- Mappings:
Namespace Name official eaf$b
intermediary net/minecraft/class_4488$class_4490
named net/minecraft/loot/function/CopyStateFunction$Serializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) void
toJson
(JsonObject jsonObject, CopyStateFunction copyStateFunction, JsonSerializationContext jsonSerializationContext) Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction.Serializer
fromJson
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
toJson
public void toJson(JsonObject jsonObject, CopyStateFunction copyStateFunction, JsonSerializationContext jsonSerializationContext) - Specified by:
toJson
in interfaceJsonSerializer<CopyStateFunction>
- Overrides:
toJson
in classConditionalLootFunction.Serializer<CopyStateFunction>
- Mappings:
Namespace Name Mixin selector official a
Leaf$b;a(Lcom/google/gson/JsonObject;Leaf;Lcom/google/gson/JsonSerializationContext;)V
intermediary method_21901
Lnet/minecraft/class_4488$class_4490;method_21901(Lcom/google/gson/JsonObject;Lnet/minecraft/class_4488;Lcom/google/gson/JsonSerializationContext;)V
named toJson
Lnet/minecraft/loot/function/CopyStateFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/CopyStateFunction;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
public CopyStateFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) - Specified by:
fromJson
in classConditionalLootFunction.Serializer<CopyStateFunction>
- Mappings:
Namespace Name Mixin selector official a
Leaf$b;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lecb;)Leaf;
intermediary method_21900
Lnet/minecraft/class_4488$class_4490;method_21900(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_4488;
named fromJson
Lnet/minecraft/loot/function/CopyStateFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/CopyStateFunction;
-