net.minecraft.network.chat

public class HoverEvent$Action<T>

implements StringRepresentable

wv$a
net.minecraft.network.chat.HoverEvent$Action
net.minecraft.class_2568$class_5247
net.minecraft.text.HoverEvent$Action
net.minecraft.network.chat.ChatHoverable$EnumHoverAction

Field summary

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

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()
public String
c()
getSerializedName()
method_15434()
asString()
T
a(Object arg0)
cast(Object arg0)
method_27676(Object arg0)
cast(Object o)
private static com.mojang.serialization.DataResult<HoverEvent$Action<?>>
a(wv$a<?> arg0)
filterForSerialization(HoverEvent$Action<?> arg0)
method_54186(class_2568$class_5247<?> arg0)
validate(HoverEvent$Action<?> action)