net.minecraft.world.item.component

public record Fireworks

implements TooltipProvider

cxl
net.minecraft.world.item.component.Fireworks
net.minecraft.class_9284
net.minecraft.unmapped.C_gzacfpmb
net.minecraft.component.type.FireworksComponent
net.minecraft.component.type.FireworksComponent
net.minecraft.src.C_313625_
net.minecraft.world.item.component.Fireworks

Field summary

Modifier and TypeField
private final int
d
flightDuration
comp_2391
f_aqfphtjz
flightDuration
flightDuration
f_317050_
private final List<FireworkExplosion>
e
explosions
comp_2392
f_stgsyrhr
explosions
explosions
f_314926_
public static final int
a
MAX_EXPLOSIONS
field_49325
f_nasmadkv
MAX_EXPLOSIONS
MAX_EXPLOSIONS
f_317122_
public static final com.mojang.serialization.Codec<Fireworks>
b
CODEC
field_49323
f_mycayywm
CODEC
CODEC
f_316251_
public static final StreamCodec<io.netty.buffer.ByteBuf, Fireworks>
c
STREAM_CODEC
field_49324
f_aijsfgob
PACKET_CODEC
PACKET_CODEC
f_314560_

Constructor summary

ModifierConstructor
public (int flightDuration, List<FireworkExplosion> explosions)

Method summary

Modifier and TypeMethod
public void
a(cum$b arg0, Consumer<xp> arg1, cwk arg2)
addToTooltip(Item$TooltipContext arg0, Consumer<Component> arg1, TooltipFlag arg2)
method_57409(class_1792$class_9635 arg0, Consumer<class_2561> arg1, class_1836 arg2)
m_eqoeoqpg(C_vorddnax$C_rdhfmrgz arg0, Consumer<C_rdaqiwdt> arg1, C_taebrtdw arg2)
appendTooltip(Item$TooltipContext arg0, Consumer<Text> arg1, TooltipType arg2)
appendToTooltip(Item$TooltipContext arg0, Consumer<Text> arg1, TooltipConfig arg2)
m_319025_(C_1381_$C_313602_ p_335967_, Consumer<C_4996_> p_328360_, C_1431_ arg2)
public int
a()
flightDuration()
comp_2391()
m_qwvtmieo()
flightDuration()
flightDuration()
f_317050_()
public List<FireworkExplosion>
b()
explosions()
comp_2392()
m_twfvjvlc()
explosions()
explosions()
f_314926_()