Package net.minecraft.text
Class Style
java.lang.Object
net.minecraft.text.Style
- Mappings:
Namespace Name official hnintermediary net/minecraft/class_1986named net/minecraft/text/Style
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Booleanprivate ClickEventprivate Formattingprivate HoverEventprivate Stringprivate Booleanprivate Booleanprivate Styleprivate static final Styleprivate Booleanprivate Boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()copy()deepCopy()booleangetColor()private StyleinthashCode()booleanisBold()booleanisEmpty()booleanisItalic()booleanbooleanbooleansetClickEvent(ClickEvent clickEvent) setFormatting(Formatting formatting) setHoverEvent(HoverEvent hoverEvent) setInsertion(String insertion) setObfuscated(Boolean obfuscated) setStrikethrough(Boolean strikethrough) setUnderline(Boolean underline) toString()
-
Field Details
-
ROOT
- Mappings:
Namespace Name Mixin selector official kLhn;k:Lhn;intermediary field_8504Lnet/minecraft/class_1986;field_8504:Lnet/minecraft/class_1986;named ROOTLnet/minecraft/text/Style;ROOT:Lnet/minecraft/text/Style;
-
parent
- Mappings:
Namespace Name Mixin selector official aLhn;a:Lhn;intermediary field_8495Lnet/minecraft/class_1986;field_8495:Lnet/minecraft/class_1986;named parentLnet/minecraft/text/Style;parent:Lnet/minecraft/text/Style;
-
formatting
- Mappings:
Namespace Name Mixin selector official bLhn;b:La;intermediary field_8496Lnet/minecraft/class_1986;field_8496:Lnet/minecraft/class_1442;named formattingLnet/minecraft/text/Style;formatting:Lnet/minecraft/util/Formatting;
-
bold
- Mappings:
Namespace Name Mixin selector official cLhn;c:Ljava/lang/Boolean;intermediary field_8497Lnet/minecraft/class_1986;field_8497:Ljava/lang/Boolean;named boldLnet/minecraft/text/Style;bold:Ljava/lang/Boolean;
-
italic
- Mappings:
Namespace Name Mixin selector official dLhn;d:Ljava/lang/Boolean;intermediary field_8498Lnet/minecraft/class_1986;field_8498:Ljava/lang/Boolean;named italicLnet/minecraft/text/Style;italic:Ljava/lang/Boolean;
-
underline
- Mappings:
Namespace Name Mixin selector official eLhn;e:Ljava/lang/Boolean;intermediary field_8499Lnet/minecraft/class_1986;field_8499:Ljava/lang/Boolean;named underlineLnet/minecraft/text/Style;underline:Ljava/lang/Boolean;
-
strikethrough
- Mappings:
Namespace Name Mixin selector official fLhn;f:Ljava/lang/Boolean;intermediary field_8500Lnet/minecraft/class_1986;field_8500:Ljava/lang/Boolean;named strikethroughLnet/minecraft/text/Style;strikethrough:Ljava/lang/Boolean;
-
obfuscated
- Mappings:
Namespace Name Mixin selector official gLhn;g:Ljava/lang/Boolean;intermediary field_8501Lnet/minecraft/class_1986;field_8501:Ljava/lang/Boolean;named obfuscatedLnet/minecraft/text/Style;obfuscated:Ljava/lang/Boolean;
-
clickEvent
- Mappings:
Namespace Name Mixin selector official hLhn;h:Lhg;intermediary field_8502Lnet/minecraft/class_1986;field_8502:Lnet/minecraft/class_1980;named clickEventLnet/minecraft/text/Style;clickEvent:Lnet/minecraft/text/ClickEvent;
-
hoverEvent
- Mappings:
Namespace Name Mixin selector official iLhn;i:Lhj;intermediary field_8503Lnet/minecraft/class_1986;field_8503:Lnet/minecraft/class_1984;named hoverEventLnet/minecraft/text/Style;hoverEvent:Lnet/minecraft/text/HoverEvent;
-
insertion
- Mappings:
Namespace Name Mixin selector official jLhn;j:Ljava/lang/String;intermediary field_11576Lnet/minecraft/class_1986;field_11576:Ljava/lang/String;named insertionLnet/minecraft/text/Style;insertion:Ljava/lang/String;
-
-
Constructor Details
-
Style
public Style()
-
-
Method Details
-
getColor
- Mappings:
Namespace Name Mixin selector official aLhn;a()La;intermediary method_7485Lnet/minecraft/class_1986;method_7485()Lnet/minecraft/class_1442;named getColorLnet/minecraft/text/Style;getColor()Lnet/minecraft/util/Formatting;
-
isBold
public boolean isBold()- Mappings:
Namespace Name Mixin selector official bLhn;b()Zintermediary method_7495Lnet/minecraft/class_1986;method_7495()Znamed isBoldLnet/minecraft/text/Style;isBold()Z
-
isItalic
public boolean isItalic()- Mappings:
Namespace Name Mixin selector official cLhn;c()Zintermediary method_7499Lnet/minecraft/class_1986;method_7499()Znamed isItalicLnet/minecraft/text/Style;isItalic()Z
-
isStrikethrough
public boolean isStrikethrough()- Mappings:
Namespace Name Mixin selector official dLhn;d()Zintermediary method_7503Lnet/minecraft/class_1986;method_7503()Znamed isStrikethroughLnet/minecraft/text/Style;isStrikethrough()Z
-
isUnderlined
public boolean isUnderlined()- Mappings:
Namespace Name Mixin selector official eLhn;e()Zintermediary method_7507Lnet/minecraft/class_1986;method_7507()Znamed isUnderlinedLnet/minecraft/text/Style;isUnderlined()Z
-
isObfuscated
public boolean isObfuscated()- Mappings:
Namespace Name Mixin selector official fLhn;f()Zintermediary method_7511Lnet/minecraft/class_1986;method_7511()Znamed isObfuscatedLnet/minecraft/text/Style;isObfuscated()Z
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector official gLhn;g()Zintermediary method_7513Lnet/minecraft/class_1986;method_7513()Znamed isEmptyLnet/minecraft/text/Style;isEmpty()Z
-
getClickEvent
- Mappings:
Namespace Name Mixin selector official hLhn;h()Lhg;intermediary method_7515Lnet/minecraft/class_1986;method_7515()Lnet/minecraft/class_1980;named getClickEventLnet/minecraft/text/Style;getClickEvent()Lnet/minecraft/text/ClickEvent;
-
getHoverEvent
- Mappings:
Namespace Name Mixin selector official iLhn;i()Lhj;intermediary method_7517Lnet/minecraft/class_1986;method_7517()Lnet/minecraft/class_1984;named getHoverEventLnet/minecraft/text/Style;getHoverEvent()Lnet/minecraft/text/HoverEvent;
-
getInsertion
- Mappings:
Namespace Name Mixin selector official jLhn;j()Ljava/lang/String;intermediary method_10623Lnet/minecraft/class_1986;method_10623()Ljava/lang/String;named getInsertionLnet/minecraft/text/Style;getInsertion()Ljava/lang/String;
-
setFormatting
- Mappings:
Namespace Name Mixin selector official aLhn;a(La;)Lhn;intermediary method_7486Lnet/minecraft/class_1986;method_7486(Lnet/minecraft/class_1442;)Lnet/minecraft/class_1986;named setFormattingLnet/minecraft/text/Style;setFormatting(Lnet/minecraft/util/Formatting;)Lnet/minecraft/text/Style;
-
setBold
- Mappings:
Namespace Name Mixin selector official aLhn;a(Ljava/lang/Boolean;)Lhn;intermediary method_7494Lnet/minecraft/class_1986;method_7494(Ljava/lang/Boolean;)Lnet/minecraft/class_1986;named setBoldLnet/minecraft/text/Style;setBold(Ljava/lang/Boolean;)Lnet/minecraft/text/Style;
-
setItalic
- Mappings:
Namespace Name Mixin selector official bLhn;b(Ljava/lang/Boolean;)Lhn;intermediary method_7498Lnet/minecraft/class_1986;method_7498(Ljava/lang/Boolean;)Lnet/minecraft/class_1986;named setItalicLnet/minecraft/text/Style;setItalic(Ljava/lang/Boolean;)Lnet/minecraft/text/Style;
-
setStrikethrough
- Mappings:
Namespace Name Mixin selector official cLhn;c(Ljava/lang/Boolean;)Lhn;intermediary method_7502Lnet/minecraft/class_1986;method_7502(Ljava/lang/Boolean;)Lnet/minecraft/class_1986;named setStrikethroughLnet/minecraft/text/Style;setStrikethrough(Ljava/lang/Boolean;)Lnet/minecraft/text/Style;
-
setUnderline
- Mappings:
Namespace Name Mixin selector official dLhn;d(Ljava/lang/Boolean;)Lhn;intermediary method_7506Lnet/minecraft/class_1986;method_7506(Ljava/lang/Boolean;)Lnet/minecraft/class_1986;named setUnderlineLnet/minecraft/text/Style;setUnderline(Ljava/lang/Boolean;)Lnet/minecraft/text/Style;
-
setObfuscated
- Mappings:
Namespace Name Mixin selector official eLhn;e(Ljava/lang/Boolean;)Lhn;intermediary method_7510Lnet/minecraft/class_1986;method_7510(Ljava/lang/Boolean;)Lnet/minecraft/class_1986;named setObfuscatedLnet/minecraft/text/Style;setObfuscated(Ljava/lang/Boolean;)Lnet/minecraft/text/Style;
-
setClickEvent
- Mappings:
Namespace Name Mixin selector official aLhn;a(Lhg;)Lhn;intermediary method_7487Lnet/minecraft/class_1986;method_7487(Lnet/minecraft/class_1980;)Lnet/minecraft/class_1986;named setClickEventLnet/minecraft/text/Style;setClickEvent(Lnet/minecraft/text/ClickEvent;)Lnet/minecraft/text/Style;
-
setHoverEvent
- Mappings:
Namespace Name Mixin selector official aLhn;a(Lhj;)Lhn;intermediary method_7488Lnet/minecraft/class_1986;method_7488(Lnet/minecraft/class_1984;)Lnet/minecraft/class_1986;named setHoverEventLnet/minecraft/text/Style;setHoverEvent(Lnet/minecraft/text/HoverEvent;)Lnet/minecraft/text/Style;
-
setInsertion
- Mappings:
Namespace Name Mixin selector official aLhn;a(Ljava/lang/String;)Lhn;intermediary method_10621Lnet/minecraft/class_1986;method_10621(Ljava/lang/String;)Lnet/minecraft/class_1986;named setInsertionLnet/minecraft/text/Style;setInsertion(Ljava/lang/String;)Lnet/minecraft/text/Style;
-
setParent
- Mappings:
Namespace Name Mixin selector official aLhn;a(Lhn;)Lhn;intermediary method_7489Lnet/minecraft/class_1986;method_7489(Lnet/minecraft/class_1986;)Lnet/minecraft/class_1986;named setParentLnet/minecraft/text/Style;setParent(Lnet/minecraft/text/Style;)Lnet/minecraft/text/Style;
-
asString
- Mappings:
Namespace Name Mixin selector official kLhn;k()Ljava/lang/String;intermediary method_7519Lnet/minecraft/class_1986;method_7519()Ljava/lang/String;named asStringLnet/minecraft/text/Style;asString()Ljava/lang/String;
-
getParent
- Mappings:
Namespace Name Mixin selector official oLhn;o()Lhn;intermediary method_7522Lnet/minecraft/class_1986;method_7522()Lnet/minecraft/class_1986;named getParentLnet/minecraft/text/Style;getParent()Lnet/minecraft/text/Style;
-
toString
-
equals
-
hashCode
public int hashCode() -
deepCopy
- Mappings:
Namespace Name Mixin selector official mLhn;m()Lhn;intermediary method_7520Lnet/minecraft/class_1986;method_7520()Lnet/minecraft/class_1986;named deepCopyLnet/minecraft/text/Style;deepCopy()Lnet/minecraft/text/Style;
-
copy
- Mappings:
Namespace Name Mixin selector official nLhn;n()Lhn;intermediary method_7521Lnet/minecraft/class_1986;method_7521()Lnet/minecraft/class_1986;named copyLnet/minecraft/text/Style;copy()Lnet/minecraft/text/Style;
-