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

public class SetFireworkExplosionFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

eyr
net.minecraft.world.level.storage.loot.functions.SetFireworkExplosionFunction
net.minecraft.class_9375
net.minecraft.loot.function.SetFireworkExplosionLootFunction
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
public static final FireworkExplosion
b
DEFAULT_VALUE
field_49875
DEFAULT_EXPLOSION
final Optional<FireworkExplosion$Shape>
c
shape
field_49876
shape
final Optional<it.unimi.dsi.fastutil.ints.IntList>
d
colors
field_49877
colors
final Optional<it.unimi.dsi.fastutil.ints.IntList>
e
fadeColors
field_49878
fadeColors
final Optional<Boolean>
f
trail
field_49879
trail
final Optional<Boolean>
h
twinkle
field_49880
twinkle

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(cxp arg0, ewp arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
private FireworkExplosion
a(dae arg0)
apply(FireworkExplosion arg0)
method_58205(class_9283 arg0)
apply(FireworkExplosionComponent current)
public LootItemFunctionType<SetFireworkExplosionFunction>
b()
getType()
method_29321()
getType()