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

public class SetBannerPatternFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

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

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SetBannerPatternFunction>
a
CODEC
field_45839
CODEC
f_291597_
private final BannerPatternLayers
b
patterns
field_27343
patterns
f_165272_
private final boolean
c
append
field_27344
append
f_165273_

Constructor summary

ModifierConstructor
(List<LootItemCondition> conditions, BannerPatternLayers patterns, boolean append)

Method summary

Modifier and TypeMethod
protected ItemStack
a(cuq arg0, err 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<SetBannerPatternFunction>
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_)