类的使用
net.minecraft.util.Formatting
-
-
net.minecraft.advancement中Formatting的使用
声明为Formatting的net.minecraft.advancement中的字段 修饰符和类型 字段 说明 private FormattingAdvancementFrame. titleFormat返回Formatting的net.minecraft.advancement中的方法 修饰符和类型 方法 说明 FormattingAdvancementFrame. getTitleFormat()参数类型为Formatting的net.minecraft.advancement中的构造器 构造器 说明 AdvancementFrame(String id, int texV, Formatting titleFormat) -
net.minecraft.client.gui.screen中Formatting的使用
参数类型为Formatting的net.minecraft.client.gui.screen中的方法 修饰符和类型 方法 说明 private voidCommandSuggestor. showUsages(Formatting formatting) -
net.minecraft.command.argument中Formatting的使用
返回Formatting的net.minecraft.command.argument中的方法 修饰符和类型 方法 说明 static FormattingColorArgumentType. getColor(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)FormattingColorArgumentType. parse(com.mojang.brigadier.StringReader stringReader) -
net.minecraft.entity.boss中Formatting的使用
声明为Formatting的net.minecraft.entity.boss中的字段 修饰符和类型 字段 说明 private FormattingBossBar.Color. format返回Formatting的net.minecraft.entity.boss中的方法 修饰符和类型 方法 说明 FormattingBossBar.Color. getTextFormat()参数类型为Formatting的net.minecraft.entity.boss中的构造器 构造器 说明 Color(String name, Formatting format) -
net.minecraft.entity.effect中Formatting的使用
声明为Formatting的net.minecraft.entity.effect中的字段 修饰符和类型 字段 说明 private FormattingStatusEffectType. formatting返回Formatting的net.minecraft.entity.effect中的方法 修饰符和类型 方法 说明 FormattingStatusEffectType. getFormatting()参数类型为Formatting的net.minecraft.entity.effect中的构造器 构造器 说明 StatusEffectType(Formatting format) -
net.minecraft.nbt.visitor中Formatting的使用
声明为Formatting的net.minecraft.nbt.visitor中的字段 修饰符和类型 字段 说明 private static FormattingNbtTextFormatter. NAME_COLORprivate static FormattingNbtTextFormatter. NUMBER_COLORprivate static FormattingNbtTextFormatter. STRING_COLORprivate static FormattingNbtTextFormatter. TYPE_SUFFIX_COLOR -
net.minecraft.network.packet.s2c.play中Formatting的使用
声明为Formatting的net.minecraft.network.packet.s2c.play中的字段 修饰符和类型 字段 说明 private FormattingTeamS2CPacket.SerializableTeam. color返回Formatting的net.minecraft.network.packet.s2c.play中的方法 修饰符和类型 方法 说明 FormattingTeamS2CPacket.SerializableTeam. getColor() -
net.minecraft.scoreboard中Formatting的使用
声明为Formatting的net.minecraft.scoreboard中的字段 修饰符和类型 字段 说明 private FormattingTeam. color返回Formatting的net.minecraft.scoreboard中的方法 修饰符和类型 方法 说明 abstract FormattingAbstractTeam. getColor()FormattingTeam. getColor()参数类型为Formatting的net.minecraft.scoreboard中的方法 修饰符和类型 方法 说明 voidTeam. setColor(Formatting color) -
net.minecraft.server.command中Formatting的使用
参数类型为Formatting的net.minecraft.server.command中的方法 修饰符和类型 方法 说明 private static intTeamCommand. executeModifyColor(ServerCommandSource source, Team team, Formatting color)private static voidTestCommand. sendMessage(ServerWorld world, String message, Formatting formatting) -
net.minecraft.test中Formatting的使用
参数类型为Formatting的net.minecraft.test中的方法 修饰符和类型 方法 说明 protected static voidStructureTestListener. sendMessageToAllPlayers(ServerWorld world, Formatting formatting, String message) -
net.minecraft.text中Formatting的使用
类型参数类型为Formatting的net.minecraft.text中的字段 修饰符和类型 字段 说明 private static Map<Formatting,TextColor>TextColor. FORMATTING_TO_COLOR参数类型为Formatting的net.minecraft.text中的方法 修饰符和类型 方法 说明 default MutableTextMutableText. formatted(Formatting formatting)Add a formatting to this text's style.default MutableTextMutableText. formatted(Formatting[] formattings)Adds some formattings to this text's style.static @Nullable TextColorTextColor. fromFormatting(Formatting formatting)Obtains a text color from a formatting.StyleStyle. withColor(@Nullable Formatting color)Returns a new style with the color provided and all other attributes of this style.StyleStyle. withExclusiveFormatting(Formatting formatting)Returns a new style with the formatting provided and some applicable attributes of this style.StyleStyle. withFormatting(Formatting formatting)Returns a new style with the formatting provided and all other attributes of this style.StyleStyle. withFormatting(Formatting[] formattings)Returns a new style with the formattings provided and all other attributes of this style. -
net.minecraft.util中Formatting的使用
声明为Formatting的net.minecraft.util中的字段 修饰符和类型 字段 说明 FormattingRarity. formatting类型参数类型为Formatting的net.minecraft.util中的字段 修饰符和类型 字段 说明 private static Map<String,Formatting>Formatting. BY_NAME返回Formatting的net.minecraft.util中的方法 修饰符和类型 方法 说明 static @Nullable FormattingFormatting. byCode(char code)static @Nullable FormattingFormatting. byColorIndex(int colorIndex)static @Nullable FormattingFormatting. byName(@Nullable String name)static FormattingFormatting. valueOf(String name)返回带有指定名称的该类型的枚举常量。static Formatting[]Formatting. values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。参数类型为Formatting的net.minecraft.util中的构造器 构造器 说明 Rarity(Formatting formatting)
-