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 dms$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<BannerPattern,DyeColor>> patterns
      Mappings:
      Namespace Name Mixin selector
      official a Ldms$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 Ldms$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> Ldms$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 Ldms$a;a()Ldms$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 Ldmn$a;b()Ldmn;
      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

      public SetBannerPatternFunction.Builder pattern(BannerPattern pattern, DyeColor color)
      Mappings:
      Namespace Name Mixin selector
      official a Ldms$a;a(Lcmj;Lbts;)Ldms$a;
      intermediary method_35533 Lnet/minecraft/class_5592$class_6157;method_35533(Lnet/minecraft/class_2582;Lnet/minecraft/class_1767;)Lnet/minecraft/class_5592$class_6157;
      named pattern Lnet/minecraft/loot/function/SetBannerPatternFunction$Builder;pattern(Lnet/minecraft/block/entity/BannerPattern;Lnet/minecraft/util/DyeColor;)Lnet/minecraft/loot/function/SetBannerPatternFunction$Builder;