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

public class SetFireworksFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

esm
net.minecraft.world.level.storage.loot.functions.SetFireworksFunction
net.minecraft.class_9376
net.minecraft.unmapped.C_ldqxohxy
net.minecraft.loot.function.SetFireworksLootFunction
net.minecraft.loot.function.SetFireworksLootFunction
net.minecraft.src.C_313567_
net.minecraft.world.level.storage.loot.functions.SetFireworkExplosionFunction

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SetFireworksFunction>
a
CODEC
field_49881
f_qlptxjnz
CODEC
CODEC
f_316516_
public static final Fireworks
b
DEFAULT_VALUE
field_49882
f_mucyodve
DEFAULT_FIREWORKS
f_314460_
private final Optional<ListOperation$StandAlone<FireworkExplosion>>
c
explosions
field_49883
f_cgihmktb
explosions
explosions
f_316748_
private final Optional<Integer>
d
flightDuration
field_49885
f_drowmpcg
flightDuration
flightDuration
f_315337_

Constructor summary

ModifierConstructor
protected (List<LootItemCondition> conditions, Optional<ListOperation$StandAlone<FireworkExplosion>> explosions, Optional<Integer> flightDuration)

Method summary

Modifier and TypeMethod
protected ItemStack
a(cuq arg0, eqj 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_328031_, C_2811_ arg1)
private Fireworks
a(cxk arg0)
apply(Fireworks arg0)
method_58212(class_9284 arg0)
m_japcgmui(C_gzacfpmb arg0)
apply(FireworksComponent fireworksComponent)
m_japcgmui(FireworksComponent obj)
m_324619_(C_313625_ arg0)
public LootItemFunctionType<SetFireworksFunction>
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()