Package forestry.api.core.tooltips
Class TextCompound
java.lang.Object
forestry.api.core.tooltips.TextCompound
- All Implemented Interfaces:
ITextInstance<TextCompound,TextCompound, TextCollection>
public class TextCompound
extends Object
implements ITextInstance<TextCompound,TextCompound,TextCollection>
Helper class to allow simple appending of siblings to a text collection.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface forestry.api.core.tooltips.ITextInstance
add, add, add, addAll, addAll, apply, applyFormatting, style, style, style, style, text, translated
-
Constructor Details
-
TextCompound
-
-
Method Details
-
lastComponent
@Nullable public net.minecraft.network.chat.Component lastComponent()- Specified by:
lastComponentin interfaceITextInstance<TextCompound,TextCompound, TextCollection>
-
add
- Specified by:
addin interfaceITextInstance<TextCompound,TextCompound, TextCollection>
-
singleLine
- Specified by:
singleLinein interfaceITextInstance<TextCompound,TextCompound, TextCollection>
-
cast
- Specified by:
castin interfaceITextInstance<TextCompound,TextCompound, TextCollection>
-
create
- Specified by:
createin interfaceITextInstance<TextCompound,TextCompound, TextCollection>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceITextInstance<TextCompound,TextCompound, TextCollection>
-