net.minecraft.loot.function

public class SetFireworkExplosionLootFunction

extends ConditionalLootFunction

All mapped superinterfaces:

LootFunction, LootContextAware

ffl
net.minecraft.world.level.storage.loot.functions.SetFireworkExplosionFunction
net.minecraft.class_9375
net.minecraft.loot.function.SetFireworkExplosionLootFunction
net.minecraft.unmapped.C_wvihlkry
net.minecraft.loot.function.SetFireworkExplosionLootFunction
net.minecraft.src.C_313288_

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SetFireworkExplosionLootFunction>
a
CODEC
field_49874
CODEC
f_zyompmfb
CODEC
f_316365_
public static final FireworkExplosionComponent
b
DEFAULT_VALUE
field_49875
DEFAULT_EXPLOSION
f_mxxbodyk
DEFAULT_COMPONENT
f_315719_
final Optional<FireworkExplosionComponent$Type>
c
shape
field_49876
shape
f_xsspfnnl
shape
f_314735_
final Optional<it.unimi.dsi.fastutil.ints.IntList>
d
colors
field_49877
colors
f_xbplvipy
colors
f_314363_
final Optional<it.unimi.dsi.fastutil.ints.IntList>
e
fadeColors
field_49878
fadeColors
f_biqkwwyo
fadeColors
f_316588_
final Optional<Boolean>
f
trail
field_49879
trail
f_tgkvdpix
trail
f_316845_
final Optional<Boolean>
h
twinkle
field_49880
twinkle
f_opbirzjo
twinkle
f_315196_

Constructor summary

ModifierConstructor
public (List<LootCondition> conditions, Optional<FireworkExplosionComponent$Type> shape, Optional<it.unimi.dsi.fastutil.ints.IntList> colors, Optional<it.unimi.dsi.fastutil.ints.IntList> fadeColors, Optional<Boolean> trail, Optional<Boolean> twinkle)

Method summary

Modifier and TypeMethod
protected ItemStack
a(dcv o, fdj 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_327748_, C_2811_ arg1)
private FireworkExplosionComponent
a(dfj arg0)
apply(FireworkExplosion arg0)
method_58205(class_9283 arg0)
apply(FireworkExplosionComponent current)
m_vguejlpr(C_ibwugxba arg0)
process(FireworkExplosionComponent component)
m_320539_(C_313884_ arg0)
public LootFunctionType<SetFireworkExplosionLootFunction>
b()
getType()
method_29321()
getType()
m_ngvoddkv()
getType()
m_7162_()