Package net.minecraft.loot.function
Class EnchantRandomlyLootFunction.Serializer
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Serializer<EnchantRandomlyLootFunction>
net.minecraft.loot.function.EnchantRandomlyLootFunction.Serializer
- All Implemented Interfaces:
 JsonSerializer<EnchantRandomlyLootFunction>
- Enclosing class:
 EnchantRandomlyLootFunction
public static class EnchantRandomlyLootFunction.Serializer
extends ConditionalLootFunction.Serializer<EnchantRandomlyLootFunction>
- Mappings:
 Namespace Name official dwv$bintermediary net/minecraft/class_109$class_110named net/minecraft/loot/function/EnchantRandomlyLootFunction$Serializer
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionfromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) voidtoJson(JsonObject jsonObject, EnchantRandomlyLootFunction enchantRandomlyLootFunction, 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, EnchantRandomlyLootFunction enchantRandomlyLootFunction, JsonSerializationContext jsonSerializationContext) - Specified by:
 toJsonin interfaceJsonSerializer<EnchantRandomlyLootFunction>- Overrides:
 toJsonin classConditionalLootFunction.Serializer<EnchantRandomlyLootFunction>- Mappings:
 Namespace Name Mixin selector official aLdwv$b;a(Lcom/google/gson/JsonObject;Ldwv;Lcom/google/gson/JsonSerializationContext;)Vintermediary method_491Lnet/minecraft/class_109$class_110;method_491(Lcom/google/gson/JsonObject;Lnet/minecraft/class_109;Lcom/google/gson/JsonSerializationContext;)Vnamed toJsonLnet/minecraft/loot/function/EnchantRandomlyLootFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/EnchantRandomlyLootFunction;Lcom/google/gson/JsonSerializationContext;)V
 - 
fromJson
public EnchantRandomlyLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) - Specified by:
 fromJsonin classConditionalLootFunction.Serializer<EnchantRandomlyLootFunction>- Mappings:
 Namespace Name Mixin selector official aLdwv$b;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldyl;)Ldwv;intermediary method_490Lnet/minecraft/class_109$class_110;method_490(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_109;named fromJsonLnet/minecraft/loot/function/EnchantRandomlyLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/EnchantRandomlyLootFunction;
 
 -