net.minecraft.loot.function

public class SetFireworksLootFunction

extends ConditionalLootFunction

All mapped superinterfaces:

LootFunction, LootContextAware

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

Field summary

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

Constructor summary

ModifierConstructor
protected (List<LootCondition> conditions, Optional<ListOperation$Values<FireworkExplosionComponent>> explosions, Optional<Integer> flightDuration)

Method summary

Modifier and TypeMethod
protected ItemStack
a(dak o, fat arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_axzztavb(C_sddaxwyk arg0, C_iakykpgh arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_328031_, C_2811_ arg1)
private FireworksComponent
a(dcz arg0)
apply(Fireworks arg0)
method_58212(class_9284 arg0)
apply(FireworksComponent fireworksComponent)
m_japcgmui(C_gzacfpmb arg0)
process(FireworksComponent component)
m_324619_(C_313625_ arg0)
public LootFunctionType<SetFireworksLootFunction>
b()
getType()
method_29321()
getType()
m_ngvoddkv()
getType()
m_7162_()