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