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 eip$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 Leip$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 Leip$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> Leip$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 Leip$a;a()Leip$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 Leij$a;b()Leij;
      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 Leip$a;a(Lahf;Lclm;)Leip$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/registry/RegistryKey;Lnet/minecraft/util/DyeColor;)Lnet/minecraft/loot/function/SetBannerPatternFunction$Builder;
    • pattern

      Mappings:
      Namespace Name Mixin selector
      official a Leip$a;a(Lih;Lclm;)Leip$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/registry/entry/RegistryEntry;Lnet/minecraft/util/DyeColor;)Lnet/minecraft/loot/function/SetBannerPatternFunction$Builder;