Package net.minecraft.util.text
Class CharacterManager.StyleOverridingTextComponent
- java.lang.Object
-
- net.minecraft.util.text.CharacterManager.StyleOverridingTextComponent
-
- All Implemented Interfaces:
ITextProperties
- Enclosing class:
- CharacterManager
static class CharacterManager.StyleOverridingTextComponent extends java.lang.Object implements ITextProperties
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.minecraft.util.text.ITextProperties
ITextProperties.IStyledTextAcceptor<T>, ITextProperties.ITextAcceptor<T>
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
contents
private Style
style
-
Fields inherited from interface net.minecraft.util.text.ITextProperties
EMPTY, STOP_ITERATION
-
-
Constructor Summary
Constructors Constructor Description StyleOverridingTextComponent(java.lang.String p_i232247_1_, Style p_i232247_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> java.util.Optional<T>
visit(ITextProperties.IStyledTextAcceptor<T> p_230439_1_, Style p_230439_2_)
<T> java.util.Optional<T>
visit(ITextProperties.ITextAcceptor<T> p_230438_1_)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.util.text.ITextProperties
getString
-
-
-
-
Field Detail
-
contents
private final java.lang.String contents
-
style
private final Style style
-
-
Constructor Detail
-
StyleOverridingTextComponent
public StyleOverridingTextComponent(java.lang.String p_i232247_1_, Style p_i232247_2_)
-
-
Method Detail
-
visit
public <T> java.util.Optional<T> visit(ITextProperties.ITextAcceptor<T> p_230438_1_)
- Specified by:
visit
in interfaceITextProperties
-
visit
public <T> java.util.Optional<T> visit(ITextProperties.IStyledTextAcceptor<T> p_230439_1_, Style p_230439_2_)
- Specified by:
visit
in interfaceITextProperties
-
-