Class SetBannerPatternFunction.Builder

All Implemented Interfaces:
LootConditionConsumingBuilder<SetBannerPatternFunction.Builder>, LootFunction.Builder
Enclosing class:
SetBannerPatternFunction

public static class SetBannerPatternFunction.Builder extends ConditionalLootFunction.Builder<SetBannerPatternFunction.Builder>
Mappings:
Namespace Name
official dtt$a
intermediary net/minecraft/class_5592$class_6157
named net/minecraft/loot/function/SetBannerPatternFunction$Builder
  • Field Details

    • patterns

      private final ImmutableList.Builder<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>,DyeColor>> patterns
      Mappings:
      Namespace Name Mixin selector
      official a Ldtt$a;a:Lcom/google/common/collect/ImmutableList$Builder;
      intermediary field_31862 Lnet/minecraft/class_5592$class_6157;field_31862:Lcom/google/common/collect/ImmutableList$Builder;
      named patterns Lnet/minecraft/loot/function/SetBannerPatternFunction$Builder;patterns:Lcom/google/common/collect/ImmutableList$Builder;
    • append

      private final boolean append
      Mappings:
      Namespace Name Mixin selector
      official b Ldtt$a;b:Z
      intermediary field_31863 Lnet/minecraft/class_5592$class_6157;field_31863:Z
      named append Lnet/minecraft/loot/function/SetBannerPatternFunction$Builder;append:Z
  • Constructor Details

    • Builder

      Builder(boolean append)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldtt$a;<init>(Z)V
      intermediary <init> Lnet/minecraft/class_5592$class_6157;<init>(Z)V
      named <init> Lnet/minecraft/loot/function/SetBannerPatternFunction$Builder;<init>(Z)V
  • Method Details

    • getThisBuilder

      protected SetBannerPatternFunction.Builder getThisBuilder()
      Specified by:
      getThisBuilder in class ConditionalLootFunction.Builder<SetBannerPatternFunction.Builder>
      Mappings:
      Namespace Name Mixin selector
      official a Ldtt$a;a()Ldtt$a;
      intermediary method_35532 Lnet/minecraft/class_5592$class_6157;method_35532()Lnet/minecraft/class_5592$class_6157;
      named getThisBuilder Lnet/minecraft/loot/function/SetBannerPatternFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/SetBannerPatternFunction$Builder;
    • build

      public LootFunction build()
      Mappings:
      Namespace Name Mixin selector
      official b Ldto$a;b()Ldto;
      intermediary method_515 Lnet/minecraft/class_117$class_118;method_515()Lnet/minecraft/class_117;
      named build Lnet/minecraft/loot/function/LootFunction$Builder;build()Lnet/minecraft/loot/function/LootFunction;
    • pattern

      Mappings:
      Namespace Name Mixin selector
      official a Ldtt$a;a(Laba;Lbzq;)Ldtt$a;
      intermediary method_43741 Lnet/minecraft/class_5592$class_6157;method_43741(Lnet/minecraft/class_5321;Lnet/minecraft/class_1767;)Lnet/minecraft/class_5592$class_6157;
      named pattern Lnet/minecraft/loot/function/SetBannerPatternFunction$Builder;pattern(Lnet/minecraft/util/registry/RegistryKey;Lnet/minecraft/util/DyeColor;)Lnet/minecraft/loot/function/SetBannerPatternFunction$Builder;
    • pattern

      Mappings:
      Namespace Name Mixin selector
      official a Ldtt$a;a(Lhc;Lbzq;)Ldtt$a;
      intermediary method_35533 Lnet/minecraft/class_5592$class_6157;method_35533(Lnet/minecraft/class_6880;Lnet/minecraft/class_1767;)Lnet/minecraft/class_5592$class_6157;
      named pattern Lnet/minecraft/loot/function/SetBannerPatternFunction$Builder;pattern(Lnet/minecraft/util/registry/RegistryEntry;Lnet/minecraft/util/DyeColor;)Lnet/minecraft/loot/function/SetBannerPatternFunction$Builder;