Add tooltips for most worldgen settings

This commit is contained in:
Misode
2020-05-23 13:26:30 +02:00
parent 24178dadf7
commit 6cf3809d48
4 changed files with 59 additions and 26 deletions

View File

@@ -3,13 +3,13 @@
<div class="input-group-prepend">
<span class="input-group-text" data-name></span>
</div>
<input type="text" class="form-control" onchange="updateField(this)" onfocus="this.select()">
<input type="text" class="form-control rounded-right" onchange="updateField(this)" onfocus="this.select()">
</div>
<div class="input-group mt-3" data-type="enum">
<div class="input-group-prepend">
<span class="input-group-text" data-name></span>
</div>
<select class="form-control" onchange="updateField(this)">
<select class="form-control rounded-right" onchange="updateField(this)">
</select>
</div>
<div class="input-group mt-3" data-type="random">

View File

@@ -39,6 +39,7 @@
"biome_source.biomes": "Biomes",
"biome_source.large_biomes": "Large Biomes",
"biome_source.preset": "Biomes Preset",
"biome_source.preset.nether": "Nether",
"biome_source.seed": "Biomes Seed",
"biome_source.type": "Biome Source",
"biome_source.type.fixed": "Fixed",
@@ -167,8 +168,6 @@
"dimension.overworld": "Overworld",
"dimension.the_end": "The End",
"dimension.the_nether": "The Nether",
"dimension.nether": "Nether",
"dimension.end": "End",
"dimension.type": "Dimension Options",
"dimension.type.ultrawarm": "Ultrawarm",
"dimension.type.natural": "Natural",
@@ -341,7 +340,7 @@
"gamemode.creative": "Creative",
"gamemode.spectator": "Spectator",
"gamemode.survival": "Survival",
"generator.type": "Type",
"generator.type": "Generator Type",
"generator.type.noise": "Default",
"generator.type.flat": "Superflat",
"generator.type.debug": "Debug World",
@@ -388,11 +387,20 @@
"generator.settings.structures": "Structures",
"generator.settings.structures_add": "Add Structure",
"generator.settings.structures_remove": "Remove Structure",
"help.biome.parameters.altitude": "These parameters determine the placement of the biome. Every biome must have a unique combination of them. Biomes with similar values will generate next to each other.",
"help.biome_source.type.fixed": "One biome fro the whole world",
"help.biome_source.type.multi_noise": "Custom biome distribution with configurable parameters",
"help.biome_source.type.checkerboard": "Biomes generating in a checkerboard chunk pattern",
"help.biome_source.type.vanilla_layered": "Biome distribution for the overworld",
"help.biome_source.type.the_end": "Biome distrubution for the end",
"help.condition.time_period": "If present, time will be modulo-divided by this value. For example, if set to 24000, value will operate on a time period of days.",
"help.dimension": "The identifier used for \"/execute in\". Must be all lowercase.",
"help.dimension.type.ultrawarm": "If true, water cannot exist and sponges will dry.",
"help.dimension.type.shrunk": "Whether coordinates should be scaled down by a factor of 8.",
"help.display": "If present, advancement will be visible in the advancement tabs.",
"help.dimension.type.ultrawarm": "If true, water will evaporate and sponges will dry",
"help.dimension.type.natural": "If true, piglins will shake and portals will spawn zombified pigmen. If false, compasses will spin and beds will explode.",
"help.dimension.type.shrunk": "Whether coordinates should be scaled down by a factor of 8",
"help.dimension.type.ambient_light": "Value between 0 and 1",
"help.dimension.type.fixed_time": "Setting this value will keep the sun in a fixed position",
"help.display": "If present, advancement will be visible in the advancement tabs",
"help.entry.expand": "If false, entry will return all contents of tag, otherwise entry will behave as multiple item entries",
"help.entry.type.alternatives": "Tests conditions of the child entries and executes the first that can run",
"help.entry.type.dynamic": "Gets block specific drops",
@@ -402,8 +410,18 @@
"help.entry.type.loot_table": "Adds the contents of another loot table",
"help.entry.type.sequence": "Executes child entries until the first one that can't run due to conditions",
"help.entry.type.tag": "Adds the contents of an item tag",
"help.generator.settings.structures": "Not specifying a structure will cause it to spawn extremely frequently.",
"help.generator.settings.bedrock_roof_position": "Relative position of the bedrock roof starting at the world height. Higher numbers move the roof down.",
"help.generator.settings.bedrock_floor_position": "Position of the bedrock floor. Higher numbers move the floor up.",
"help.generator.settings.disable_mob_generation": "If true, mobs will not spawn during generation",
"help.generator.settings.noise.density_factor": "When set to 0, islands will generate",
"help.generator.settings.noise.density_offset": "Used to offset the terrain height. Use the following formula: \"terrain height = ((density_offset / density_factor) + 1) * height / 2\"",
"help.generator.settings.noise.size_horizontal": "Value must be either 1, 2 or 4. Values greater than 4 result in no terrain. Higher values result in smoother terrain.",
"help.generator.settings.noise.size_vertical": "Value between 1 and 4",
"help.generator.settings.noise.island_noise_override": "When true, the terrain will generate like the end with one larger island in the center and more islands further out",
"help.generator.settings.structures": "Not specifying a structure will cause it to spawn extremely frequently",
"help.pool.rolls": "The amount of entries that are randomly chosen",
"help.structure.spacing": "The maximum distance in chunks between two structures",
"help.structure.separation": "The minumum distance in chunks between two structures. Must be smaller than spacing.",
"hide_source": "Hide Source",
"item.count": "Count",
"item.durability": "Durability",
@@ -536,7 +554,7 @@
"title.loot-table": "Loot Table Generator",
"title.predicate": "Predicate Generator",
"title.advancement": "Advancement Generator",
"title.worldgen": "Worldgen Settings Generator",
"title.worldgen": "World Settings Generator",
"trigger.bee_nest_destroyed": "Bee Nest Destroyed",
"trigger.bred_animals": "Bred Animals",
"trigger.brewed_potion": "Brewed Potion",

View File

@@ -119,6 +119,7 @@
"translate": "biome_source.type",
"translateValue": "biome_source.type",
"type": "enum",
"help": true,
"filter": true,
"default": "minecraft:multi_noise",
"values": [
@@ -141,7 +142,7 @@
{
"id": "preset",
"translate": "biome_source.preset",
"translateValue": "dimension",
"translateValue": "biome_source.preset",
"type": "enum",
"unset": true,
"values": [
@@ -216,13 +217,15 @@
"id": "bedrock_roof_position",
"translate": "generator.settings.bedrock_roof_position",
"type": "int",
"default": -10
"default": -10,
"help": true
},
{
"id": "bedrock_floor_position",
"translate": "generator.settings.bedrock_floor_position",
"type": "int",
"default": 0
"default": 0,
"help": true
},
{
"id": "sea_level",
@@ -234,7 +237,8 @@
"id": "disable_mob_generation",
"translate": "generator.settings.disable_mob_generation",
"type": "boolean",
"default": false
"default": false,
"help": true
},
{
"id": "default_block",
@@ -298,13 +302,15 @@
"id": "density_factor",
"translate": "generator.settings.noise.density_factor",
"type": "float",
"default": 1
"default": 1,
"help": true
},
{
"id": "density_offset",
"translate": "generator.settings.noise.density_offset",
"type": "float",
"default": -0.46875
"default": -0.46875,
"help": true
},
{
"id": "simplex_surface_noise",
@@ -322,7 +328,8 @@
"id": "island_noise_override",
"translate": "generator.settings.noise.island_noise_override",
"type": "boolean",
"default": false
"default": false,
"help": true
},
{
"id": "amplified",
@@ -334,13 +341,15 @@
"id": "size_horizontal",
"translate": "generator.settings.noise.size_horizontal",
"type": "int",
"default": 2
"default": 2,
"help": true
},
{
"id": "size_vertical",
"translate": "generator.settings.noise.size_vertical",
"type": "int",
"default": 2
"default": 2,
"help": true
},
{
"id": "height",
@@ -534,7 +543,8 @@
"id": "natural",
"translate": "dimension.type.natural",
"type": "boolean",
"default": true
"default": true,
"help": true
},
{
"id": "shrunk",
@@ -547,12 +557,14 @@
"id": "ambient_light",
"translate": "dimension.type.ambient_light",
"type": "float",
"default": 0
"default": 0,
"help": true
},
{
"id": "fixed_time",
"translate": "dimension.type.fixed_time",
"type": "int"
"type": "int",
"help": true
},
{
"id": "has_skylight",
@@ -593,7 +605,8 @@
"id": "altitude",
"translate": "biome.parameters.altitude",
"type": "float",
"default": 0
"default": 0,
"help": true
},
{
"id": "weirdness",
@@ -632,13 +645,15 @@
"id": "spacing",
"translate": "structure.spacing",
"type": "int",
"default": 10
"default": 10,
"help": true
},
{
"id": "separation",
"translate": "structure.separation",
"type": "int",
"default": 10
"default": 8,
"help": true
},
{
"id": "salt",

View File

@@ -13,7 +13,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
<link rel="stylesheet" href="../css/custom.css">
<title data-i18n="title.worldgen">Worldgen Settings Generator Minecraft</title>
<title data-i18n="title.worldgen">World Settings Generator Minecraft</title>
</head>
<body>
<nav class="navbar navbar-expand-md navbar-dark bg-dark">