Package net.minecraft.network.chat
Class BaseComponent
java.lang.Object
net.minecraft.network.chat.BaseComponent
- All Implemented Interfaces:
com.mojang.brigadier.Message
,Component
,FormattedText
,MutableComponent
- Direct Known Subclasses:
KeybindComponent
,NbtComponent
,ScoreComponent
,SelectorComponent
,TextComponent
,TranslatableComponent
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.network.chat.Component
Component.Serializer
Nested classes/interfaces inherited from interface net.minecraft.network.chat.FormattedText
FormattedText.ContentConsumer<T>, FormattedText.StyledContentConsumer<T>
-
Field Summary
Fields inherited from interface net.minecraft.network.chat.FormattedText
EMPTY, STOP_ITERATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
getStyle()
int
hashCode()
abstract BaseComponent
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
siblings
-
visualOrderText
-
decomposedWith
-
style
-
-
Constructor Details
-
BaseComponent
public BaseComponent()
-
-
Method Details
-
append
- Specified by:
append
in interfaceMutableComponent
-
getContents
- Specified by:
getContents
in interfaceComponent
-
getSiblings
- Specified by:
getSiblings
in interfaceComponent
-
setStyle
- Specified by:
setStyle
in interfaceMutableComponent
-
getStyle
-
plainCopy
-
copy
-
getVisualOrderText
- Specified by:
getVisualOrderText
in interfaceComponent
-
equals
-
hashCode
public int hashCode() -
toString
-