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 dzv$b
intermediary net/minecraft/class_109$class_110
named net/minecraft/loot/function/EnchantRandomlyLootFunction$Serializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) void
toJson
(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:
toJson
in interfaceJsonSerializer<EnchantRandomlyLootFunction>
- Overrides:
toJson
in classConditionalLootFunction.Serializer<EnchantRandomlyLootFunction>
- Mappings:
Namespace Name Mixin selector official a
Ldzv$b;a(Lcom/google/gson/JsonObject;Ldzv;Lcom/google/gson/JsonSerializationContext;)V
intermediary method_491
Lnet/minecraft/class_109$class_110;method_491(Lcom/google/gson/JsonObject;Lnet/minecraft/class_109;Lcom/google/gson/JsonSerializationContext;)V
named toJson
Lnet/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:
fromJson
in classConditionalLootFunction.Serializer<EnchantRandomlyLootFunction>
- Mappings:
Namespace Name Mixin selector official a
Ldzv$b;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lebl;)Ldzv;
intermediary method_490
Lnet/minecraft/class_109$class_110;method_490(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_109;
named fromJson
Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/EnchantRandomlyLootFunction;
-