Class StaticChatType
java.lang.Object
com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
com.github.retrooper.packetevents.protocol.chat.StaticChatType
- All Implemented Interfaces:
ChatType
,CopyableEntity<ChatType>
,DeepComparableEntity
,MappedEntity
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.github.retrooper.packetevents.protocol.chat.ChatType
ChatType.Bound, ChatType.NarrationPriority
-
Field Summary
Fields inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
data
-
Constructor Summary
ConstructorDescriptionStaticChatType
(@UnknownNullability("only nullable for 1.19") ChatTypeDecoration chatDecoration, @Nullable ChatTypeDecoration overlayDecoration, @UnknownNullability("only nullable for 1.19") ChatTypeDecoration narrationDecoration, @Nullable ChatType.NarrationPriority narrationPriority) StaticChatType
(ChatTypeDecoration chatDecoration, ChatTypeDecoration narrationDecoration) StaticChatType
(@Nullable TypesBuilderData data, @UnknownNullability("only nullable for 1.19") ChatTypeDecoration chatDecoration, @Nullable ChatTypeDecoration overlayDecoration, @UnknownNullability("only nullable for 1.19") ChatTypeDecoration narrationDecoration, @Nullable ChatType.NarrationPriority narrationPriority) StaticChatType
(@Nullable TypesBuilderData data, ChatTypeDecoration chatDecoration, ChatTypeDecoration narrationDecoration) -
Method Summary
Modifier and TypeMethodDescriptioncopy
(@Nullable TypesBuilderData newData) boolean
deepEquals
(Object obj) int
@UnknownNullability("only nullable for 1.19") ChatTypeDecoration
@UnknownNullability("only nullable for 1.19") ChatTypeDecoration
@Nullable ChatType.NarrationPriority
@Nullable ChatTypeDecoration
toString()
Methods inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
equals, getId, getName, getRegistryData, hashCode, isRegistered
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
getId, getName, isRegistered
-
Constructor Details
-
StaticChatType
-
StaticChatType
public StaticChatType(@Nullable @Nullable TypesBuilderData data, ChatTypeDecoration chatDecoration, ChatTypeDecoration narrationDecoration) -
StaticChatType
public StaticChatType(@UnknownNullability("only nullable for 1.19") ChatTypeDecoration chatDecoration, @Nullable @Nullable ChatTypeDecoration overlayDecoration, @UnknownNullability("only nullable for 1.19") ChatTypeDecoration narrationDecoration, @Nullable @Nullable ChatType.NarrationPriority narrationPriority) -
StaticChatType
public StaticChatType(@Nullable @Nullable TypesBuilderData data, @UnknownNullability("only nullable for 1.19") ChatTypeDecoration chatDecoration, @Nullable @Nullable ChatTypeDecoration overlayDecoration, @UnknownNullability("only nullable for 1.19") ChatTypeDecoration narrationDecoration, @Nullable @Nullable ChatType.NarrationPriority narrationPriority)
-
-
Method Details
-
copy
- Specified by:
copy
in interfaceCopyableEntity<ChatType>
-
getChatDecoration
- Specified by:
getChatDecoration
in interfaceChatType
-
getOverlayDecoration
- Specified by:
getOverlayDecoration
in interfaceChatType
-
getNarrationDecoration
- Specified by:
getNarrationDecoration
in interfaceChatType
-
getNarrationPriority
- Specified by:
getNarrationPriority
in interfaceChatType
-
deepEquals
- Specified by:
deepEquals
in interfaceDeepComparableEntity
-
deepHashCode
public int deepHashCode()- Specified by:
deepHashCode
in interfaceDeepComparableEntity
-
toString
- Overrides:
toString
in classAbstractMappedEntity
-