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

public class SetBannerPatternFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

fpx
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

字段概要

修饰符与类型字段
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_

构造函数概要

修饰符构造函数
(List<LootItemCondition> conditions, BannerPatternLayers patterns, boolean append)

方法概要

修饰符与类型方法
protected ItemStack
a(dlt arg0, fnz 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>
a()
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_)