Package net.minecraft.loot.function
Class SetBannerPatternFunction.Builder
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Builder<SetBannerPatternFunction.Builder>
net.minecraft.loot.function.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 Summary
Modifier and TypeFieldDescriptionprivate final boolean
private final ImmutableList.Builder<com.mojang.datafixers.util.Pair<RegistryEntry<BannerPattern>,
DyeColor>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected SetBannerPatternFunction.Builder
pattern
(RegistryEntry<BannerPattern> pattern, DyeColor color) pattern
(RegistryKey<BannerPattern> pattern, DyeColor color) Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction.Builder
conditionally, getConditions, getThisConditionConsumingBuilder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.loot.condition.LootConditionConsumingBuilder
conditionally
-
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
- Specified by:
getThisBuilder
in classConditionalLootFunction.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
- 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
public SetBannerPatternFunction.Builder pattern(RegistryEntry<BannerPattern> pattern, DyeColor color) - 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;
-