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