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 dkj$a
intermediary net/minecraft/class_141$class_142
named net/minecraft/loot/function/SetCountLootFunction$Serializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromJson
(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
Ldkj$a;a(Lcom/google/gson/JsonObject;Ldkj;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
Ldkj$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldlh;)Ldkj;
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;
-