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
Modifier and TypeFieldDescriptionprivate boolean
private com.google.common.collect.ImmutableList.Builder<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddPattern(BannerPattern p_165290_, DyeColor p_165291_)
build()
protected SetBannerPatternFunction.Builder
getThis()
Methods inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder
getConditions, unwrap, when
-
Field Details
-
patterns
private final com.google.common.collect.ImmutableList.Builder<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> 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
-