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

public class SetFireworkExplosionFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

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

Field summary

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

Constructor summary

ModifierConstructor
public (List<LootItemCondition> conditions, Optional<FireworkExplosion$Shape> 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(cur arg0, eqk 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_327748_, C_2811_ arg1)
private FireworkExplosion
a(cxk arg0)
apply(FireworkExplosion arg0)
method_58205(class_9283 arg0)
m_vguejlpr(C_ibwugxba arg0)
apply(FireworkExplosionComponent current)
m_vguejlpr(FireworkExplosionComponent obj)
m_320539_(C_313884_ arg0)
public LootItemFunctionType<SetFireworkExplosionFunction>
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()