net.minecraft.world.item.component

public record FireworkExplosion

implements TooltipProvider

dae
net.minecraft.world.item.component.FireworkExplosion
net.minecraft.class_9283
net.minecraft.unmapped.C_ibwugxba
net.minecraft.component.type.FireworkExplosionComponent
net.minecraft.component.type.FireworkExplosionComponent
net.minecraft.src.C_313884_
net.minecraft.world.item.component.FireworkExplosion

Field summary

Modifier and TypeField
private final FireworkExplosion$Shape
e
shape
comp_2386
f_isiafsle
shape
shape
f_316547_
private final it.unimi.dsi.fastutil.ints.IntList
f
colors
comp_2387
f_kysrcyig
colors
colors
f_316201_
private final it.unimi.dsi.fastutil.ints.IntList
g
fadeColors
comp_2388
f_wsibgkkq
fadeColors
fadeColors
f_314743_
private final boolean
h
hasTrail
comp_2389
f_lfmkucmu
hasTrail
hasTrail
f_316522_
private final boolean
i
hasTwinkle
comp_2390
f_keicctqv
hasTwinkle
hasTwinkle
f_316285_
public static final FireworkExplosion
a
DEFAULT
field_49315
f_qinfmbgd
DEFAULT
SMALL_BALL
f_316800_
public static final com.mojang.serialization.Codec<it.unimi.dsi.fastutil.ints.IntList>
b
COLOR_LIST_CODEC
field_49318
f_nwrbablk
COLORS_CODEC
COLOR_LIST_CODEC
f_314508_
public static final com.mojang.serialization.Codec<FireworkExplosion>
c
CODEC
field_49316
f_fniyfzgk
CODEC
CODEC
f_315661_
private static final StreamCodec<io.netty.buffer.ByteBuf, it.unimi.dsi.fastutil.ints.IntList>
j
COLOR_LIST_STREAM_CODEC
field_49319
f_hioulpap
COLORS_PACKET_CODEC
COLOR_LIST_PACKET_CODEC
f_316103_
public static final StreamCodec<io.netty.buffer.ByteBuf, FireworkExplosion>
d
STREAM_CODEC
field_49317
f_juxmpkpm
PACKET_CODEC
PACKET_CODEC
f_316358_
private static final Component
k
CUSTOM_COLOR_NAME
field_49320
f_soknvchd
CUSTOM_COLOR_TEXT
CUSTOM_COLOR_NAME
f_315548_

Constructor summary

ModifierConstructor
public (FireworkExplosion$Shape shape, it.unimi.dsi.fastutil.ints.IntList colors, it.unimi.dsi.fastutil.ints.IntList fadeColors, boolean hasTrail, boolean hasTwinkle)

Method summary

Modifier and TypeMethod
public void
a(cxl$b arg0, Consumer<xv> arg1, czh 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_333224_, Consumer<C_4996_> p_335960_, C_1431_ arg2)
public void
a(Consumer<xv> arg0)
addShapeNameTooltip(Consumer<Component> arg0)
method_57475(Consumer<class_2561> arg0)
m_jraintos(Consumer<C_rdaqiwdt> arg0)
appendShapeTooltip(Consumer<Text> textConsumer)
appendShapeTooltip(Consumer<Text> textConsumer)
m_321829_(Consumer<C_4996_> arg0)
public void
b(Consumer<xv> arg0)
addAdditionalTooltip(Consumer<Component> arg0)
method_57477(Consumer<class_2561> arg0)
m_mbqaaylx(Consumer<C_rdaqiwdt> arg0)
appendOptionalTooltip(Consumer<Text> textConsumer)
appendOptionalTooltip(Consumer<Text> textConsumer)
m_323234_(Consumer<C_4996_> arg0)
private static Component
a(yj arg0, it.unimi.dsi.fastutil.ints.IntList arg1)
appendColors(MutableComponent arg0, it.unimi.dsi.fastutil.ints.IntList arg1)
method_57476(class_5250 arg0, it.unimi.dsi.fastutil.ints.IntList arg1)
m_aadpxjkg(C_npqneive arg0, it.unimi.dsi.fastutil.ints.IntList arg1)
appendColorsTooltipText(MutableText text, it.unimi.dsi.fastutil.ints.IntList colors)
appendColorsTooltip(MutableText text, it.unimi.dsi.fastutil.ints.IntList colors)
m_322644_(C_5012_ p_333538_, it.unimi.dsi.fastutil.ints.IntList p_333652_)
private static Component
a(int arg0)
getColorName(int arg0)
method_57472(int arg0)
m_xsqzoide(int arg0)
getColorText(int color)
getColorName(int color)
m_319213_(int p_333961_)
public FireworkExplosion
a(it.unimi.dsi.fastutil.ints.IntList arg0)
withFadeColors(it.unimi.dsi.fastutil.ints.IntList arg0)
method_57474(it.unimi.dsi.fastutil.ints.IntList arg0)
m_qikhdysc(it.unimi.dsi.fastutil.ints.IntList arg0)
withFadeColors(it.unimi.dsi.fastutil.ints.IntList fadeColors)
withFadeColors(it.unimi.dsi.fastutil.ints.IntList fadeColors)
m_319637_(it.unimi.dsi.fastutil.ints.IntList arg0)
public FireworkExplosion$Shape
a()
shape()
comp_2386()
m_yrpldvnp()
shape()
shape()
f_316547_()
public it.unimi.dsi.fastutil.ints.IntList
b()
colors()
comp_2387()
m_lgqksogc()
colors()
colors()
f_316201_()
public it.unimi.dsi.fastutil.ints.IntList
c()
fadeColors()
comp_2388()
m_bwvtoawo()
fadeColors()
fadeColors()
f_314743_()
public boolean
d()
hasTrail()
comp_2389()
m_jhoebbow()
hasTrail()
hasTrail()
f_316522_()
public boolean
e()
hasTwinkle()
comp_2390()
m_ultrjpck()
hasTwinkle()
hasTwinkle()
f_316285_()