forked from virt-mirrors/Sit
optimized lang file
This commit is contained in:
parent
21b567697a
commit
885929294e
3 changed files with 13 additions and 18 deletions
|
@ -71,12 +71,16 @@ public class ModMenu implements ModMenuApi {
|
|||
.name(lang("general.sittable_blocks"))
|
||||
.description(OptionDescription.of(
|
||||
lang("general.sittable_blocks.description")
|
||||
.append("\n\n").append(lang("general.sittable_blocks.description_2"))
|
||||
.append(lang("general.sittable_blocks.description_3",
|
||||
lang("general.sittable_blocks.description_3_2").styled(style -> style.withColor(TextColor.fromFormatting(Formatting.AQUA))),
|
||||
lang("general.sittable_blocks.description_3_3").styled(style -> style.withColor(TextColor.fromFormatting(Formatting.RED))),
|
||||
lang("general.sittable_blocks.description_3_4").styled(style -> style.withColor(TextColor.fromFormatting(Formatting.GREEN))),
|
||||
lang("general.sittable_blocks.description_3_5").styled(style -> style.withColor(TextColor.fromFormatting(Formatting.GOLD)))).styled(style -> style.withItalic(true).withColor(TextColor.fromFormatting(Formatting.GRAY))))
|
||||
.append("\n\n").append(lang("general.sittable_blocks.description_2",
|
||||
Text.literal("\"")
|
||||
.append(Text.literal("minecraft:campfire").styled(style -> style.withColor(TextColor.fromFormatting(Formatting.AQUA))))
|
||||
.append("|")
|
||||
.append(Text.literal("0.255").styled(style -> style.withColor(TextColor.fromFormatting(Formatting.RED))))
|
||||
.append("|")
|
||||
.append(Text.literal("1").styled(style -> style.withColor(TextColor.fromFormatting(Formatting.GREEN))))
|
||||
.append("|")
|
||||
.append(Text.literal("lit=false").styled(style -> style.withColor(TextColor.fromFormatting(Formatting.GOLD))))
|
||||
.append("\"").styled(style -> style.withItalic(true).withColor(TextColor.fromFormatting(Formatting.GRAY)))))
|
||||
.append("\n\n").append(lang("general.sittable_blocks.description_4").styled(style -> style.withColor(TextColor.fromFormatting(Formatting.AQUA))))
|
||||
.append("\n").append(lang("general.sittable_blocks.description_5").styled(style -> style.withColor(TextColor.fromFormatting(Formatting.RED))))
|
||||
.append("\n").append(lang("general.sittable_blocks.description_6").styled(style -> style.withColor(TextColor.fromFormatting(Formatting.GREEN))))
|
||||
|
|
|
@ -149,12 +149,8 @@ public class config {
|
|||
file.write("\ncustom=" + customOn);
|
||||
file.write("\n# "+Sit.lang("config.sit."+
|
||||
"general.sittable_blocks.description")
|
||||
.append("\n# ").append(lang("general.sittable_blocks.description_2"))
|
||||
.append(lang("general.sittable_blocks.description_3",
|
||||
lang("general.sittable_blocks.description_3_2"),
|
||||
lang("general.sittable_blocks.description_3_3"),
|
||||
lang("general.sittable_blocks.description_3_4"),
|
||||
lang("general.sittable_blocks.description_3_5")))
|
||||
.append("\n# ").append(lang("general.sittable_blocks.description_2",
|
||||
"\"minecraft:campfire|0.255|1|lit=false\""))
|
||||
.append("\n# ").append(lang("general.sittable_blocks.description_4"))
|
||||
.append("\n# ").append(lang("general.sittable_blocks.description_5"))
|
||||
.append("\n# ").append(lang("general.sittable_blocks.description_6"))
|
||||
|
|
|
@ -22,12 +22,7 @@
|
|||
"config.sit.general.sittable.custom.description": "Enables adding custom blocks to sit on.",
|
||||
"config.sit.general.sittable_blocks": "Custom Sittable Blocks",
|
||||
"config.sit.general.sittable_blocks.description": "Add custom sittable blocks!",
|
||||
"config.sit.general.sittable_blocks.description_2": "Example: ",
|
||||
"config.sit.general.sittable_blocks.description_3": "\"%s|%s|%s|%s\"",
|
||||
"config.sit.general.sittable_blocks.description_3_2": "minecraft:campfire",
|
||||
"config.sit.general.sittable_blocks.description_3_3": ".255",
|
||||
"config.sit.general.sittable_blocks.description_3_4": "1",
|
||||
"config.sit.general.sittable_blocks.description_3_5": "lit=false",
|
||||
"config.sit.general.sittable_blocks.description_2": "Example: %s",
|
||||
"config.sit.general.sittable_blocks.description_4": "First entry: custom block",
|
||||
"config.sit.general.sittable_blocks.description_5": "Second entry: sitting height (number from 0-1 eg 0.52)",
|
||||
"config.sit.general.sittable_blocks.description_6": "Third entry: hitbox size (where the player spawns above the entity when dismounting)",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue