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

public class SetBannerPatternFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

eip
net.minecraft.world.level.storage.loot.functions.SetBannerPatternFunction
net.minecraft.class_5592
net.minecraft.unmapped.C_azqpglil
net.minecraft.loot.function.SetBannerPatternFunction
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
f_zjjzlojd
BANNER_PATTERN_AND_COLOR_CODEC
f_290622_
public static final com.mojang.serialization.Codec<SetBannerPatternFunction>
a
CODEC
field_45839
f_totituky
CODEC
f_291597_
private final List<com.mojang.datafixers.util.Pair<Holder<BannerPattern>, DyeColor>>
c
patterns
field_27343
f_updalbpy
patterns
patterns
f_165272_
private final boolean
d
append
field_27344
f_szlyryrw
append
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(cmy arg0, egw arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
m_axzztavb(C_sddaxwyk arg0, C_iakykpgh arg1)
process(ItemStack arg0, LootContext arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_165281_, C_2811_ arg1)
public LootItemFunctionType
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()
public static SetBannerPatternFunction$Builder
a(boolean arg0)
setBannerPattern(boolean arg0)
method_35531(boolean arg0)
m_lkzkigrd(boolean arg0)
builder(boolean append)
builder(boolean append)
m_165282_(boolean p_165283_)