Package net.minecraft.loot.function
Class CopyNameLootFunction.Serializer
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Serializer<CopyNameLootFunction>
net.minecraft.loot.function.CopyNameLootFunction.Serializer
- All Implemented Interfaces:
JsonSerializer<CopyNameLootFunction>
- Enclosing class:
- CopyNameLootFunction
public static class CopyNameLootFunction.Serializer
extends ConditionalLootFunction.Serializer<CopyNameLootFunction>
- Mappings:
Namespace Name official djr$b
intermediary net/minecraft/class_101$class_103
named net/minecraft/loot/function/CopyNameLootFunction$Serializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)
void
toJson(JsonObject jsonObject, CopyNameLootFunction copyNameLootFunction, 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, CopyNameLootFunction copyNameLootFunction, JsonSerializationContext jsonSerializationContext)- Specified by:
toJson
in interfaceJsonSerializer<CopyNameLootFunction>
- Overrides:
toJson
in classConditionalLootFunction.Serializer<CopyNameLootFunction>
- Mappings:
Namespace Name Mixin selector official a
Ldjr$b;a(Lcom/google/gson/JsonObject;Ldjr;Lcom/google/gson/JsonSerializationContext;)V
intermediary method_476
Lnet/minecraft/class_101$class_103;method_476(Lcom/google/gson/JsonObject;Lnet/minecraft/class_101;Lcom/google/gson/JsonSerializationContext;)V
named toJson
Lnet/minecraft/loot/function/CopyNameLootFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/CopyNameLootFunction;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
public CopyNameLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)- Specified by:
fromJson
in classConditionalLootFunction.Serializer<CopyNameLootFunction>
- Mappings:
Namespace Name Mixin selector official a
Ldjr$b;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldlh;)Ldjr;
intermediary method_477
Lnet/minecraft/class_101$class_103;method_477(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_101;
named fromJson
Lnet/minecraft/loot/function/CopyNameLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/CopyNameLootFunction;
-