Class SetGoatHornSoundLootFunction.Serializer

java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Serializer<SetGoatHornSoundLootFunction>
net.minecraft.loot.function.SetGoatHornSoundLootFunction.Serializer
All Implemented Interfaces:
JsonSerializer<SetGoatHornSoundLootFunction>
Enclosing class:
SetGoatHornSoundLootFunction

public static class SetGoatHornSoundLootFunction.Serializer extends ConditionalLootFunction.Serializer<SetGoatHornSoundLootFunction>
Mappings:
Namespace Name
official dta$a
intermediary net/minecraft/class_7431$class_7432
named net/minecraft/loot/function/SetGoatHornSoundLootFunction$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, SetGoatHornSoundLootFunction setGoatHornSoundLootFunction, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<SetGoatHornSoundLootFunction>
      Overrides:
      toJson in class ConditionalLootFunction.Serializer<SetGoatHornSoundLootFunction>
      Mappings:
      Namespace Name Mixin selector
      official a Ldta$a;a(Lcom/google/gson/JsonObject;Ldta;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_43573 Lnet/minecraft/class_7431$class_7432;method_43573(Lcom/google/gson/JsonObject;Lnet/minecraft/class_7431;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/function/SetGoatHornSoundLootFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/SetGoatHornSoundLootFunction;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public SetGoatHornSoundLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)
      Specified by:
      fromJson in class ConditionalLootFunction.Serializer<SetGoatHornSoundLootFunction>
      Mappings:
      Namespace Name Mixin selector
      official a Ldta$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldua;)Ldta;
      intermediary method_43572 Lnet/minecraft/class_7431$class_7432;method_43572(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_7431;
      named fromJson Lnet/minecraft/loot/function/SetGoatHornSoundLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/SetGoatHornSoundLootFunction;