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