Class SetBannerPatternFunction.Builder
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder<SetBannerPatternFunction.Builder>
net.minecraft.world.level.storage.loot.functions.SetBannerPatternFunction.Builder
- All Implemented Interfaces:
LootItemFunction.Builder
,ConditionUserBuilder<SetBannerPatternFunction.Builder>
- Enclosing class:
SetBannerPatternFunction
public static class SetBannerPatternFunction.Builder
extends LootItemConditionalFunction.Builder<SetBannerPatternFunction.Builder>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddPattern
(Holder<BannerPattern> p_230999_, DyeColor p_231000_) build()
protected SetBannerPatternFunction.Builder
getThis()
Methods inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder
getConditions, unwrap, when
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.storage.loot.predicates.ConditionUserBuilder
when
-
Field Details
-
patterns
-
append
private final boolean append
-
-
Constructor Details
-
Builder
Builder(boolean p_165287_)
-
-
Method Details
-
getThis
- Specified by:
getThis
in classLootItemConditionalFunction.Builder<SetBannerPatternFunction.Builder>
-
build
-
addPattern
public SetBannerPatternFunction.Builder addPattern(Holder<BannerPattern> p_230999_, DyeColor p_231000_)
-