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
ConstructorsConstructorDescriptionStaticChatType(@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) booleandeepEquals(Object obj) int@UnknownNullability("only nullable for 1.19") ChatTypeDecoration@UnknownNullability("only nullable for 1.19") ChatTypeDecoration@Nullable ChatType.NarrationPriority@Nullable ChatTypeDecorationtoString()Methods inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
equals, getId, getName, getRegistryData, hashCode, isRegisteredMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
getId, getName, isRegistered
-
Constructor Details
-
StaticChatType
-
StaticChatType
@Internal 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
@Internal 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:
copyin interfaceCopyableEntity<ChatType>
-
getChatDecoration
- Specified by:
getChatDecorationin interfaceChatType
-
getOverlayDecoration
- Specified by:
getOverlayDecorationin interfaceChatType
-
getNarrationDecoration
- Specified by:
getNarrationDecorationin interfaceChatType
-
getNarrationPriority
- Specified by:
getNarrationPriorityin interfaceChatType
-
deepEquals
- Specified by:
deepEqualsin interfaceDeepComparableEntity
-
deepHashCode
public int deepHashCode()- Specified by:
deepHashCodein interfaceDeepComparableEntity
-
toString
- Overrides:
toStringin classAbstractMappedEntity
-