Uses of Class
net.minecraft.util.Formatting
-
Uses of Formatting in net.minecraft.advancement
Fields in net.minecraft.advancement declared as Formatting Modifier and Type Field Description private Formatting
AdvancementFrame. titleFormat
Methods in net.minecraft.advancement that return Formatting Modifier and Type Method Description Formatting
AdvancementFrame. getTitleFormat()
Constructors in net.minecraft.advancement with parameters of type Formatting Constructor Description AdvancementFrame(String id, int texV, Formatting titleFormat)
-
Uses of Formatting in net.minecraft.client.gui.screen
Methods in net.minecraft.client.gui.screen with parameters of type Formatting Modifier and Type Method Description private void
CommandSuggestor. showUsages(Formatting formatting)
-
Uses of Formatting in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return Formatting Modifier and Type Method Description static Formatting
ColorArgumentType. getColor(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
Formatting
ColorArgumentType. parse(com.mojang.brigadier.StringReader stringReader)
-
Uses of Formatting in net.minecraft.entity.boss
Fields in net.minecraft.entity.boss declared as Formatting Modifier and Type Field Description private Formatting
BossBar.Color. format
Methods in net.minecraft.entity.boss that return Formatting Modifier and Type Method Description Formatting
BossBar.Color. getTextFormat()
Constructors in net.minecraft.entity.boss with parameters of type Formatting Constructor Description Color(String name, Formatting format)
-
Uses of Formatting in net.minecraft.entity.effect
Fields in net.minecraft.entity.effect declared as Formatting Modifier and Type Field Description private Formatting
StatusEffectType. formatting
Methods in net.minecraft.entity.effect that return Formatting Modifier and Type Method Description Formatting
StatusEffectType. getFormatting()
Constructors in net.minecraft.entity.effect with parameters of type Formatting Constructor Description StatusEffectType(Formatting format)
-
Uses of Formatting in net.minecraft.nbt.visitor
Fields in net.minecraft.nbt.visitor declared as Formatting Modifier and Type Field Description private static Formatting
NbtTextFormatter. NAME_COLOR
private static Formatting
NbtTextFormatter. NUMBER_COLOR
private static Formatting
NbtTextFormatter. STRING_COLOR
private static Formatting
NbtTextFormatter. TYPE_SUFFIX_COLOR
-
Uses of Formatting in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as Formatting Modifier and Type Field Description private Formatting
TeamS2CPacket.SerializableTeam. color
Methods in net.minecraft.network.packet.s2c.play that return Formatting Modifier and Type Method Description Formatting
TeamS2CPacket.SerializableTeam. getColor()
-
Uses of Formatting in net.minecraft.scoreboard
Fields in net.minecraft.scoreboard declared as Formatting Modifier and Type Field Description private Formatting
Team. color
Methods in net.minecraft.scoreboard that return Formatting Modifier and Type Method Description abstract Formatting
AbstractTeam. getColor()
Formatting
Team. getColor()
Methods in net.minecraft.scoreboard with parameters of type Formatting Modifier and Type Method Description void
Team. setColor(Formatting color)
-
Uses of Formatting in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type Formatting Modifier and Type Method Description private static int
TeamCommand. executeModifyColor(ServerCommandSource source, Team team, Formatting color)
private static void
TestCommand. sendMessage(ServerWorld world, String message, Formatting formatting)
-
Uses of Formatting in net.minecraft.test
Methods in net.minecraft.test with parameters of type Formatting Modifier and Type Method Description protected static void
StructureTestListener. sendMessageToAllPlayers(ServerWorld world, Formatting formatting, String message)
-
Uses of Formatting in net.minecraft.text
Fields in net.minecraft.text with type parameters of type Formatting Modifier and Type Field Description private static Map<Formatting,TextColor>
TextColor. FORMATTING_TO_COLOR
Methods in net.minecraft.text with parameters of type Formatting Modifier and Type Method Description default MutableText
MutableText. formatted(Formatting formatting)
Add a formatting to this text's style.default MutableText
MutableText. formatted(Formatting[] formattings)
Adds some formattings to this text's style.static @Nullable TextColor
TextColor. fromFormatting(Formatting formatting)
Obtains a text color from a formatting.Style
Style. withColor(@Nullable Formatting color)
Returns a new style with the color provided and all other attributes of this style.Style
Style. withExclusiveFormatting(Formatting formatting)
Returns a new style with the formatting provided and some applicable attributes of this style.Style
Style. withFormatting(Formatting formatting)
Returns a new style with the formatting provided and all other attributes of this style.Style
Style. withFormatting(Formatting[] formattings)
Returns a new style with the formattings provided and all other attributes of this style. -
Uses of Formatting in net.minecraft.util
Fields in net.minecraft.util declared as Formatting Modifier and Type Field Description Formatting
Rarity. formatting
Fields in net.minecraft.util with type parameters of type Formatting Modifier and Type Field Description private static Map<String,Formatting>
Formatting. BY_NAME
Methods in net.minecraft.util that return Formatting Modifier and Type Method Description static @Nullable Formatting
Formatting. byCode(char code)
static @Nullable Formatting
Formatting. byColorIndex(int colorIndex)
static @Nullable Formatting
Formatting. byName(@Nullable String name)
static Formatting
Formatting. valueOf(String name)
Returns the enum constant of this type with the specified name.static Formatting[]
Formatting. values()
Returns an array containing the constants of this enum type, in the order they are declared.Constructors in net.minecraft.util with parameters of type Formatting Constructor Description Rarity(Formatting formatting)