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.SerializerNested classes/interfaces inherited from interface net.minecraft.network.chat.FormattedText
FormattedText.ContentConsumer<T>, FormattedText.StyledContentConsumer<T> -
Field Summary
FieldsFields inherited from interface net.minecraft.network.chat.FormattedText
EMPTY, STOP_ITERATION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleangetStyle()inthashCode()abstract BaseComponenttoString()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:
appendin interfaceMutableComponent
-
getContents
- Specified by:
getContentsin interfaceComponent
-
getSiblings
- Specified by:
getSiblingsin interfaceComponent
-
setStyle
- Specified by:
setStylein interfaceMutableComponent
-
getStyle
-
plainCopy
-
copy
-
getVisualOrderText
- Specified by:
getVisualOrderTextin interfaceComponent
-
equals
-
hashCode
public int hashCode() -
toString
-