Package net.minecraft.loot.function
Class SetEnchantmentsLootFunction.Serializer
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Serializer<SetEnchantmentsLootFunction>
net.minecraft.loot.function.SetEnchantmentsLootFunction.Serializer
- All Implemented Interfaces:
- JsonSerializer<SetEnchantmentsLootFunction>
- Enclosing class:
- SetEnchantmentsLootFunction
public static class SetEnchantmentsLootFunction.Serializer
extends ConditionalLootFunction.Serializer<SetEnchantmentsLootFunction>
- Mappings:
- Namespace - Name - official - ebh$b- intermediary - net/minecraft/class_5642$class_5643- named - net/minecraft/loot/function/SetEnchantmentsLootFunction$Serializer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) voidtoJson(JsonObject jsonObject, SetEnchantmentsLootFunction setEnchantmentsLootFunction, JsonSerializationContext jsonSerializationContext) Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction.SerializerfromJson
- 
Constructor Details- 
Serializerpublic Serializer()
 
- 
- 
Method Details- 
toJsonpublic void toJson(JsonObject jsonObject, SetEnchantmentsLootFunction setEnchantmentsLootFunction, JsonSerializationContext jsonSerializationContext) - Specified by:
- toJsonin interface- JsonSerializer<SetEnchantmentsLootFunction>
- Overrides:
- toJsonin class- ConditionalLootFunction.Serializer<SetEnchantmentsLootFunction>
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lebh$b;a(Lcom/google/gson/JsonObject;Lebh;Lcom/google/gson/JsonSerializationContext;)V- intermediary - method_32417- Lnet/minecraft/class_5642$class_5643;method_32417(Lcom/google/gson/JsonObject;Lnet/minecraft/class_5642;Lcom/google/gson/JsonSerializationContext;)V- named - toJson- Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/SetEnchantmentsLootFunction;Lcom/google/gson/JsonSerializationContext;)V
 
- 
fromJsonpublic SetEnchantmentsLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) - Specified by:
- fromJsonin class- ConditionalLootFunction.Serializer<SetEnchantmentsLootFunction>
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lebh$b;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Leck;)Lebh;- intermediary - method_32415- Lnet/minecraft/class_5642$class_5643;method_32415(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_5642;- named - fromJson- Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/SetEnchantmentsLootFunction;
 
 
-