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