Class ExpandStyle
java.lang.Object
com.blamejared.crafttweaker.natives.text.ExpandStyle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.network.chat.StyleapplyFormat(net.minecraft.network.chat.Style internal, net.minecraft.ChatFormatting format) static net.minecraft.network.chat.StyleapplyFormats(net.minecraft.network.chat.Style internal, net.minecraft.ChatFormatting... formattings) static net.minecraft.network.chat.StyleapplyLegacyFormat(net.minecraft.network.chat.Style internal, net.minecraft.ChatFormatting format) static net.minecraft.network.chat.StyleapplyTo(net.minecraft.network.chat.Style internal, net.minecraft.network.chat.Style style) static net.minecraft.network.chat.Styleempty()static net.minecraft.network.chat.TextColorgetColor(net.minecraft.network.chat.Style internal) static net.minecraft.resources.ResourceLocationgetFont(net.minecraft.network.chat.Style internal) static StringgetInsertion(net.minecraft.network.chat.Style internal) static booleanisBold(net.minecraft.network.chat.Style internal) static booleanisEmpty(net.minecraft.network.chat.Style internal) static booleanisItalic(net.minecraft.network.chat.Style internal) static booleanisObfuscated(net.minecraft.network.chat.Style internal) static booleanisStrikethrough(net.minecraft.network.chat.Style internal) static booleanisUnderlined(net.minecraft.network.chat.Style internal) static net.minecraft.network.chat.StylesetBold(net.minecraft.network.chat.Style internal) static net.minecraft.network.chat.StylesetItalic(net.minecraft.network.chat.Style internal) static net.minecraft.network.chat.StylesetObfuscated(net.minecraft.network.chat.Style internal) static net.minecraft.network.chat.StylesetStrikethrough(net.minecraft.network.chat.Style internal) static net.minecraft.network.chat.StylesetUnderlined(net.minecraft.network.chat.Style internal) static net.minecraft.network.chat.Stylestatic net.minecraft.network.chat.StylewithColor(net.minecraft.network.chat.Style internal, int color) static net.minecraft.network.chat.StylewithColor(net.minecraft.network.chat.Style internal, net.minecraft.ChatFormatting formatting) static net.minecraft.network.chat.StylewithColor(net.minecraft.network.chat.Style internal, net.minecraft.network.chat.TextColor textColor) static net.minecraft.network.chat.StylewithFont(net.minecraft.network.chat.Style internal, net.minecraft.resources.ResourceLocation fontId) static net.minecraft.network.chat.StylewithInsertion(net.minecraft.network.chat.Style internal, String content) static net.minecraft.network.chat.StylewithItalic(net.minecraft.network.chat.Style internal, Boolean value) static net.minecraft.network.chat.StylewithObfuscated(net.minecraft.network.chat.Style internal, Boolean value) static net.minecraft.network.chat.StylewithStrikethrough(net.minecraft.network.chat.Style internal, Boolean value) static net.minecraft.network.chat.StylewithUnderlined(net.minecraft.network.chat.Style internal, Boolean value)
-
Constructor Details
-
ExpandStyle
public ExpandStyle()
-
-
Method Details
-
empty
public static net.minecraft.network.chat.Style empty() -
getColor
public static net.minecraft.network.chat.TextColor getColor(net.minecraft.network.chat.Style internal) -
isBold
public static boolean isBold(net.minecraft.network.chat.Style internal) -
isItalic
public static boolean isItalic(net.minecraft.network.chat.Style internal) -
isStrikethrough
public static boolean isStrikethrough(net.minecraft.network.chat.Style internal) -
isUnderlined
public static boolean isUnderlined(net.minecraft.network.chat.Style internal) -
isObfuscated
public static boolean isObfuscated(net.minecraft.network.chat.Style internal) -
isEmpty
public static boolean isEmpty(net.minecraft.network.chat.Style internal) -
getInsertion
-
getFont
public static net.minecraft.resources.ResourceLocation getFont(net.minecraft.network.chat.Style internal) -
withColor
public static net.minecraft.network.chat.Style withColor(net.minecraft.network.chat.Style internal, net.minecraft.network.chat.TextColor textColor) -
withColor
public static net.minecraft.network.chat.Style withColor(net.minecraft.network.chat.Style internal, net.minecraft.ChatFormatting formatting) -
withColor
public static net.minecraft.network.chat.Style withColor(net.minecraft.network.chat.Style internal, int color) -
withBold
public static net.minecraft.network.chat.Style withBold(net.minecraft.network.chat.Style internal, Boolean value) -
setBold
public static net.minecraft.network.chat.Style setBold(net.minecraft.network.chat.Style internal) -
withItalic
public static net.minecraft.network.chat.Style withItalic(net.minecraft.network.chat.Style internal, Boolean value) -
setItalic
public static net.minecraft.network.chat.Style setItalic(net.minecraft.network.chat.Style internal) -
withUnderlined
public static net.minecraft.network.chat.Style withUnderlined(net.minecraft.network.chat.Style internal, Boolean value) -
setUnderlined
public static net.minecraft.network.chat.Style setUnderlined(net.minecraft.network.chat.Style internal) -
withStrikethrough
public static net.minecraft.network.chat.Style withStrikethrough(net.minecraft.network.chat.Style internal, Boolean value) -
setStrikethrough
public static net.minecraft.network.chat.Style setStrikethrough(net.minecraft.network.chat.Style internal) -
withObfuscated
public static net.minecraft.network.chat.Style withObfuscated(net.minecraft.network.chat.Style internal, Boolean value) -
setObfuscated
public static net.minecraft.network.chat.Style setObfuscated(net.minecraft.network.chat.Style internal) -
withInsertion
public static net.minecraft.network.chat.Style withInsertion(net.minecraft.network.chat.Style internal, String content) -
withFont
public static net.minecraft.network.chat.Style withFont(net.minecraft.network.chat.Style internal, net.minecraft.resources.ResourceLocation fontId) -
applyFormat
public static net.minecraft.network.chat.Style applyFormat(net.minecraft.network.chat.Style internal, net.minecraft.ChatFormatting format) -
applyLegacyFormat
public static net.minecraft.network.chat.Style applyLegacyFormat(net.minecraft.network.chat.Style internal, net.minecraft.ChatFormatting format) -
applyFormats
public static net.minecraft.network.chat.Style applyFormats(net.minecraft.network.chat.Style internal, net.minecraft.ChatFormatting... formattings) -
applyTo
public static net.minecraft.network.chat.Style applyTo(net.minecraft.network.chat.Style internal, net.minecraft.network.chat.Style style)
-