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

public class SetFireworkExplosionFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

ett
net.minecraft.world.level.storage.loot.functions.SetFireworkExplosionFunction
net.minecraft.class_9375
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
CODEC
f_316365_
public static final FireworkExplosion
b
DEFAULT_VALUE
field_49875
DEFAULT_EXPLOSION
f_315719_
final Optional<FireworkExplosion$Shape>
c
shape
field_49876
shape
f_314735_
final Optional<it.unimi.dsi.fastutil.ints.IntList>
d
colors
field_49877
colors
f_314363_
final Optional<it.unimi.dsi.fastutil.ints.IntList>
e
fadeColors
field_49878
fadeColors
f_316588_
final Optional<Boolean>
f
trail
field_49879
trail
f_316845_
final Optional<Boolean>
h
twinkle
field_49880
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(cuq arg0, err arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_327748_, C_2811_ arg1)
private FireworkExplosion
a(cxl arg0)
apply(FireworkExplosion arg0)
method_58205(class_9283 arg0)
apply(FireworkExplosionComponent current)
m_320539_(C_313884_ arg0)
public LootItemFunctionType<SetFireworkExplosionFunction>
b()
getType()
method_29321()
getType()
m_7162_()