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

public class SetBannerPatternFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

eyj
net.minecraft.world.level.storage.loot.functions.SetBannerPatternFunction
net.minecraft.class_5592
net.minecraft.loot.function.SetBannerPatternLootFunction
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
private final BannerPatternLayers
b
patterns
field_27343
patterns
private final boolean
c
append
field_27344
append

Constructor summary

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

Method summary

Modifier and TypeMethod
protected ItemStack
a(cxp arg0, ewp arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
public LootItemFunctionType<SetBannerPatternFunction>
b()
getType()
method_29321()
getType()
public static SetBannerPatternFunction$Builder
a(boolean arg0)
setBannerPattern(boolean arg0)
method_35531(boolean arg0)
builder(boolean append)