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