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 dkf$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 Ldkf$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 Ldkf$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 bool)
  • Method Details

    • getThisBuilder

      protected SetBannerPatternFunction.Builder getThisBuilder()
      Specified by:
      getThisBuilder in class ConditionalLootFunction.Builder<SetBannerPatternFunction.Builder>
      Mappings:
      Namespace Name Mixin selector
      official a Ldkf$a;a()Ldkf$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 Ldka$a;b()Ldka;
      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 Ldkf$a;a(Lcih;Lbpl;)Ldkf$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;