net.minecraft.network.chat

public class HoverEvent$Action<T>

implements StringRepresentable

xf$a
net.minecraft.network.chat.HoverEvent$Action
net.minecraft.class_2568$class_5247
net.minecraft.text.HoverEvent$Action
net.minecraft.src.C_5007_$C_5008_
net.minecraft.network.chat.ChatHoverable$EnumHoverAction

Field summary

Modifier and TypeField
public static final HoverEvent$Action<Component>
a
SHOW_TEXT
field_24342
SHOW_TEXT
f_130831_
public static final HoverEvent$Action<HoverEvent$ItemStackInfo>
b
SHOW_ITEM
field_24343
SHOW_ITEM
f_130832_
public static final HoverEvent$Action<HoverEvent$EntityTooltipInfo>
c
SHOW_ENTITY
field_24344
SHOW_ENTITY
f_130833_
public static final com.mojang.serialization.Codec<HoverEvent$Action<?>>
d
UNSAFE_CODEC
field_46603
UNVALIDATED_CODEC
f_303568_
public static final com.mojang.serialization.Codec<HoverEvent$Action<?>>
e
CODEC
field_46604
CODEC
f_302584_
private final String
f
name
field_24346
name
f_130835_
private final boolean
g
allowFromServer
field_24347
parsable
f_130836_
final com.mojang.serialization.MapCodec<HoverEvent$TypedHoverEvent<T>>
h
codec
field_46605
codec
f_302304_
final com.mojang.serialization.MapCodec<HoverEvent$TypedHoverEvent<T>>
i
legacyCodec
field_46606
legacyCodec
f_303126_

Constructor summary

ModifierConstructor
public (String name, boolean parsable, com.mojang.serialization.Codec<T> contentCodec, HoverEvent$LegacyConverter<T> legacySerializer)

Method summary

Modifier and TypeMethod
public boolean
a()
isAllowedFromServer()
method_27667()
isParsable()
m_130847_()
public String
c()
getSerializedName()
method_15434()
asString()
m_7912_()
T
a(Object arg0)
cast(Object arg0)
method_27676(Object arg0)
cast(Object o)
m_130864_(Object arg0)
private static com.mojang.serialization.DataResult<HoverEvent$Action<?>>
a(xf$a<?> arg0)
filterForSerialization(HoverEvent$Action<?> arg0)
method_54186(class_2568$class_5247<?> arg0)
validate(HoverEvent$Action<?> action)
m_305202_(C_5007_$C_5008_<?> p_311888_)