net.minecraft.world.level.storage.loot.functions

public class SetBannerPatternFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

eej
net.minecraft.world.level.storage.loot.functions.SetBannerPatternFunction
net.minecraft.class_5592
net.minecraft.loot.function.SetBannerPatternFunction
net.minecraft.src.C_141467_
net.minecraft.world.level.storage.loot.functions.SetBannerPatternFunction

Field summary

Modifier and TypeField
private static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Pair<Holder<BannerPattern>, DyeColor>>
b
PATTERN_CODEC
field_45840
BANNER_PATTERN_AND_COLOR_CODEC
f_290622_
public static final com.mojang.serialization.Codec<SetBannerPatternFunction>
a
CODEC
field_45839
CODEC
f_291597_
private final List<com.mojang.datafixers.util.Pair<Holder<BannerPattern>, DyeColor>>
c
patterns
field_27343
patterns
f_165272_
private final boolean
d
append
field_27344
append
f_165273_

Constructor summary

ModifierConstructor
(List<LootItemCondition> conditions, List<com.mojang.datafixers.util.Pair<Holder<BannerPattern>, DyeColor>> patterns, boolean append)

Method summary

Modifier and TypeMethod
protected ItemStack
a(cjf arg0, ecq arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_165281_, C_2811_ arg1)
public LootItemFunctionType
b()
getType()
method_29321()
getType()
m_7162_()
public static SetBannerPatternFunction$Builder
a(boolean arg0)
setBannerPattern(boolean arg0)
method_35531(boolean arg0)
builder(boolean append)
m_165282_(boolean p_165283_)