Class SetBannerPatternFunction.Serializer

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

public static class SetBannerPatternFunction.Serializer extends ConditionalLootFunction.Serializer<SetBannerPatternFunction>
Mappings:
Namespace Name
official dlq$b
intermediary net/minecraft/class_5592$class_5593
named net/minecraft/loot/function/SetBannerPatternFunction$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, SetBannerPatternFunction setBannerPatternFunction, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<SetBannerPatternFunction>
      Overrides:
      toJson in class ConditionalLootFunction.Serializer<SetBannerPatternFunction>
      Mappings:
      Namespace Name Mixin selector
      official a Ldlq$b;a(Lcom/google/gson/JsonObject;Ldlq;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_31937 Lnet/minecraft/class_5592$class_5593;method_31937(Lcom/google/gson/JsonObject;Lnet/minecraft/class_5592;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/function/SetBannerPatternFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/SetBannerPatternFunction;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public SetBannerPatternFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)
      Specified by:
      fromJson in class ConditionalLootFunction.Serializer<SetBannerPatternFunction>
      Mappings:
      Namespace Name Mixin selector
      official a Ldlq$b;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldmt;)Ldlq;
      intermediary method_31936 Lnet/minecraft/class_5592$class_5593;method_31936(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_5592;
      named fromJson Lnet/minecraft/loot/function/SetBannerPatternFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/SetBannerPatternFunction;