Package net.minecraft.loot.function
Class SetCountLootFunction.Serializer
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Serializer<SetCountLootFunction>
net.minecraft.loot.function.SetCountLootFunction.Serializer
- All Implemented Interfaces:
JsonSerializer<SetCountLootFunction>
- Enclosing class:
- SetCountLootFunction
public static class SetCountLootFunction.Serializer extends ConditionalLootFunction.Serializer<SetCountLootFunction>
- Mappings:
Namespace Name official dgc$a
intermediary net/minecraft/class_141$class_142
named net/minecraft/loot/function/SetCountLootFunction$Serializer
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
Modifier and Type Method Description SetCountLootFunction
fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)
void
toJson(JsonObject jsonObject, SetCountLootFunction setCountLootFunction, 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, SetCountLootFunction setCountLootFunction, JsonSerializationContext jsonSerializationContext)- Specified by:
toJson
in interfaceJsonSerializer<SetCountLootFunction>
- Overrides:
toJson
in classConditionalLootFunction.Serializer<SetCountLootFunction>
- Mappings:
Namespace Name Mixin selector official a
Ldgc$a;a(Lcom/google/gson/JsonObject;Ldgc;Lcom/google/gson/JsonSerializationContext;)V
intermediary method_623
Lnet/minecraft/class_141$class_142;method_623(Lcom/google/gson/JsonObject;Lnet/minecraft/class_141;Lcom/google/gson/JsonSerializationContext;)V
named toJson
Lnet/minecraft/loot/function/SetCountLootFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/SetCountLootFunction;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
public SetCountLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)- Specified by:
fromJson
in classConditionalLootFunction.Serializer<SetCountLootFunction>
- Mappings:
Namespace Name Mixin selector official a
Ldgc$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldha;)Ldgc;
intermediary method_622
Lnet/minecraft/class_141$class_142;method_622(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_141;
named fromJson
Lnet/minecraft/loot/function/SetCountLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/SetCountLootFunction;
-