├── .gitignore ├── .gitmodules ├── COMPILING.md ├── Grid.xcf ├── LICENSE ├── README.md ├── build.gradle ├── settings.gradle └── src └── main ├── java └── de │ └── guntram │ └── mcmod │ └── grid │ ├── BiomeDisplayEntry.java │ ├── ConfigurationHandler.java │ ├── Grid.java │ ├── MMConfigurationHandler.java │ ├── SpawnDisplayEntry.java │ └── mixin │ └── MixinWorldRenderer.java └── resources ├── assets └── grid │ └── lang │ ├── cs_cz.json │ ├── de_de.json │ ├── el_gr.json │ ├── en_us.json │ ├── es_ar.json │ ├── es_cl.json │ ├── es_ec.json │ ├── es_es.json │ ├── es_mx.json │ ├── es_uy.json │ ├── es_ve.json │ ├── fi_fi.json │ ├── fr_fr.json │ ├── it_it.json │ ├── ja_jp.json │ ├── ko_kr.json │ ├── nl_nl.json │ ├── no_no.json │ ├── pl_pl.json │ ├── pt_br.json │ ├── pt_pt.json │ ├── ro_ro.json │ ├── ru_ru.json │ ├── sr_sp.json │ ├── sv_se.json │ ├── tr_tr.json │ ├── zh_cn.json │ └── zh_tw.json ├── fabric.mod.json ├── icon.png ├── logo.png └── mixins.grid.json /.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | gradle 3 | .gradle 4 | .nb-gradle 5 | gradlew 6 | mcsrc/ 7 | mcsrc.1.14.4/ 8 | mcsrc.1.15pre6/ 9 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "Versionfiles"] 2 | path = Versionfiles 3 | url = https://github.com/gbl/Versionfiles.git 4 | -------------------------------------------------------------------------------- /COMPILING.md: -------------------------------------------------------------------------------- 1 | # TL;DR 2 | 3 | - Get a version of gradle that's at least 4.10.2 4 | - `git clone ` 5 | - `git branch -r` to see available branches 6 | - `git checkout fabric_1_16` to select your branch 7 | - `git submodule init` 8 | - `git submodule update` 9 | - `/path/to/gradle build` 10 | 11 | # How to compile this mod 12 | 13 | Because I created several mods, which have some things in common, the structure of my mods is a bit different from the example mod that Fabric or Forge provide. 14 | 15 | In particular, I don't want the gradle files to be duplicated into every single mod repository, and some common files that contain version info for Fabric, its tools, and some library mods, have been moved to a (common) submodule. 16 | 17 | # Prerequisites 18 | 19 | You need a gradle installation which does not come with the mod. At the time of this writing, the version of gradle used is 4.10.2. Gradle 6.5 has been tested to work too, so versions between those *should* as well. 20 | 21 | You might already have gradle installed, especially when you're running Linux - if so, make sure it's new enough. For example, Ubuntu 18.04 has gradle 4.4.1 which is not. Run `gradle -version` to check. 22 | 23 | If you have the Fabric example mod installed, you can use the gradle installation from there. Else, download a release from https://gradle.org/releases/ (binary only is sufficient) and unpack it somewhere. 24 | 25 | # Versionfiles submodule 26 | 27 | All my mods use the same repository of files that match MineCraft, Fabric, and common libraries versions. This is included in the mod repository as a Versionfiles submodule, and you should get it when cloning the repo. Run `git submodule init`, then `git submodule update` to get the current version of the files. Do this after selecting your branch, see below. 28 | 29 | # Compiling the mod 30 | 31 | There are branches for the various versions of MineCraft that are supported by the mod. Run `git branch -r` to see which branches there are, then `git checkout branchname` without the `origin/` part, for example, `git checkout fabric_1_16`. 32 | 33 | -------------------------------------------------------------------------------- /Grid.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbl/Grid/ced193ea2f5308973ed41411bd1586c9205df01b/Grid.xcf -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Guntram Blohm 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ![](https://minecraft.guntram.de/buttonmaker/?Fabric+Status:/Works/00ff00/ "This mod works with Fabric right now") ![](https://minecraft.guntram.de/buttonmaker/?Forge+Status:/Works/00ff00/ "This mod works with Forge right now") ![](https://minecraft.guntram.de/buttonmaker/?Client+side+mod/No+server+installation/19bfef/ "No need to install on servers") 2 | 3 | **When downloading, please make sure to go to the Files tab, and download the version for your modloader. The files have "fabric" or "forge" in their name. Curseforge doesn't always show the correct versions on the main page.** 4 | 5 | Want to help translate this mod to your language? 6 | ====================================== 7 | You can help me translate this mod on https://crowdin.com/project/grid. 8 | 9 | Mod description 10 | =============== 11 | 12 | [For a quick overview, see the screenshots!](https://www.curseforge.com/minecraft/mc-mods/grid/screenshots "screenshots") 13 | 14 | Sometimes you want to place blocks in a regular pattern, so you need to count blocks, and if you mess up once, the error propagates to all subsequent blocks. 15 | 16 | This mod displays a grid-like overlay over the world, with configurable spacing, so the blocks you're interested in get highlighted automatically. 17 | 18 | For example, you're building a railroad and want to place a powered rail ever 20th block. Type /grid 20, walk to the first powered rail, type /grid here (or press the c button, can be configured), and the mod will highlight every 20th block from where you're standing. 19 | 20 | Or, if you want to place torches in an area to prevent spawns, type /grid 5 - this highlights every 5th block; placing torches on each of them will light everything up enough. 21 | 22 | You can switch between block mode (to highlight blocks to place stuff on) or line mode (to display borders; for example /grid chunks followed by grid lines will turn Grid into a chunk border highlighter), have the y-coordinate of the display floating with the player or fixed, and choose different X and Z spacings if you want that. 23 | 24 | Commands: 25 | --------- 26 | 27 |   28 | 29 | /grid show and /grid hide: show/hide the grid, bound to the B key. 30 | 31 | /grid here: set the origin of the grid to where the player is standing. Bound to C (for center) 32 | 33 | /grid blocks: set Block mode: show blue squares above marked blocks 34 | 35 | /grid lines: set Line mode: show yellow lines to the N/W of marked blocks 36 | 37 | /grid chunks: set X and Y spacing to 16 and the origin to chunk borders. Use together with /grid lines to get a chunk border display that's less intrusive than F3-G 38 | 39 | /grid <n> <m>: <n> and <m> are numbers; set the grid spacing to n in X direction and m in Y direction 40 | 41 | /grid <n>: set the grid spacing to n in both horizontal directions 42 | 43 | /grid fixy: toggle between floating the y coordinate of the grid with the player, or fixing it to where the player stands when you use the command. Bound to the Y key. 44 | 45 | /grid spawns: show possible mob spawn locations 46 | 47 | /grid circles: shows circle overlays. In line mode, this shows regular circles; in block mode, it tries to find and mark the blocks you should build on to get a circle. Obviously, this can't work well with very small diameters, for example, trying to mark a 3x3 circle will give you a square. 48 | 49 | /grid distance <n>: sets the range in blocks, that the grid is rendered around you. If you use very large spacings/circle diameters, you need to adjust this too. Be careful though, high values for distance absolutely kill your framerate when you turn spawn locations on. 50 | 51 | /grid biome <name>: draw a marker on all blocks in a certain biome. For example, /grid biome river helps when you want to build a drowned or squid farm. (Only with Grid version 1.5+). 52 | 53 | /grid hex: Draw a hex grid. In block mode, you get the corners of each hex; in line mode, you get lines around the hexes. (Only with Grid version 1.6+) 54 | 55 |   56 | 57 | All keys can be reconfigured using the standard Controls UI. 58 | 59 | Fabulous Graphics Warning 60 | ===================== 61 | 62 | In the 1.16.x versions, Grid has a [bug](https://github.com/gbl/Grid/issues/15 "bug") where things get drawn, even when they should be invisible behind blocks. This doesn't happen with Fast or Fancy graphics, it's just Fabulous that has this bug. 63 | The bug is fixed in the Fabric version, but the fix makes Grid incompatible 64 | to Canvas. In the Forge version, there seems to be no way to fix this, 65 | currently. 66 | -------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | dependencies { 3 | classpath 'de.guntram.mcmod:crowdin-translate:1.2' 4 | } 5 | repositories { 6 | maven { 7 | name = 'CrowdinTranslate source' 8 | url = "https://minecraft.guntram.de/maven/" 9 | } 10 | } 11 | } 12 | 13 | plugins { 14 | id 'fabric-loom' version '0.5-SNAPSHOT' 15 | id "com.modrinth.minotaur" version "1.1.0" 16 | id "com.matthewprenger.cursegradle" version "1.4.0" 17 | } 18 | 19 | apply plugin: 'de.guntram.mcmod.crowdin-translate' 20 | crowdintranslate.crowdinProjectName = 'grid' 21 | 22 | repositories { 23 | maven { 24 | url = "https://maven.fabricmc.net" 25 | } 26 | maven { 27 | url = "https://minecraft.guntram.de/maven/" 28 | } 29 | maven { 30 | name = 'CottonMC' 31 | url = 'https://server.bbkr.space/artifactory/libs-release' 32 | } 33 | } 34 | 35 | sourceCompatibility = 1.8 36 | targetCompatibility = 1.8 37 | 38 | ext.Versions = new Properties() 39 | Versions.load(file("Versionfiles/mcversion-1.16.5.properties").newReader()) 40 | 41 | archivesBaseName = "grid" 42 | ext.projectVersion = "1.6.4" 43 | 44 | version = "${Versions['minecraft_version']}-fabric${Versions['fabric_versiononly']}-${project.projectVersion}" 45 | 46 | minecraft { 47 | refmapName = "Grid-refmap.json"; 48 | } 49 | 50 | processResources { 51 | inputs.property "version", project.version 52 | 53 | from(sourceSets.main.resources.srcDirs) { 54 | include "fabric.mod.json" 55 | expand "version": project.version 56 | } 57 | from(sourceSets.main.resources.srcDirs) { 58 | exclude "fabric.mod.json" 59 | } 60 | } 61 | 62 | dependencies { 63 | minecraft "com.mojang:minecraft:${Versions['minecraft_version']}" 64 | mappings "net.fabricmc:yarn:${Versions['yarn_mappings']}:v2" 65 | modImplementation "net.fabricmc:fabric-loader:${Versions['loader_version']}" 66 | modImplementation "net.fabricmc.fabric-api:fabric-api:${Versions['fabric_version']}" 67 | modImplementation "io.github.prospector:modmenu:${Versions['modmenu_version']}" 68 | modImplementation "io.github.cottonmc:cotton-client-commands:${Versions['ccc_version']}" 69 | include "io.github.cottonmc:cotton-client-commands:${Versions['ccc_version']}" 70 | modImplementation "de.guntram.mcmod:GBfabrictools:${Versions['gbfabrictools_version']}" 71 | include "de.guntram.mcmod:GBfabrictools:${Versions['gbfabrictools_version']}" 72 | modImplementation "de.guntram.mcmod:crowdin-translate:1.2" 73 | include "de.guntram.mcmod:crowdin-translate:1.2" 74 | } 75 | 76 | // Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task 77 | // if it is present. 78 | // If you remove this task, sources will not be generated. 79 | task sourcesJar(type: Jar, dependsOn: classes) { 80 | classifier = 'sources' 81 | from sourceSets.main.allSource 82 | } 83 | 84 | jar { 85 | from "LICENSE" 86 | } 87 | 88 | build { 89 | dependsOn downloadTranslations 90 | } 91 | 92 | import com.modrinth.minotaur.TaskModrinthUpload 93 | 94 | task publishModrinth (type: TaskModrinthUpload){ 95 | 96 | token = System.getenv("MODRINTH_TOKEN") 97 | projectId = 'ebxDDOKt' 98 | versionNumber = project.version 99 | versionName = project.archivesBaseName 100 | releaseType = 'release' 101 | uploadFile = remapJar // This is the java jar task 102 | addGameVersion("${Versions['minecraft_version']}") 103 | addLoader('fabric') 104 | } 105 | 106 | curseforge { 107 | apiKey = System.getenv("CURSEFORGE_TOKEN") 108 | project { 109 | id = '310560' 110 | releaseType = 'release' 111 | addGameVersion("${Versions['minecraft_version']}") 112 | addGameVersion("Java 8") 113 | addGameVersion("Fabric") 114 | 115 | mainArtifact(remapJar) 116 | } 117 | options { 118 | forgeGradleIntegration = false 119 | } 120 | } 121 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | jcenter() 4 | maven { 5 | name = 'Fabric' 6 | url = 'https://maven.fabricmc.net/' 7 | } 8 | gradlePluginPortal() 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/de/guntram/mcmod/grid/BiomeDisplayEntry.java: -------------------------------------------------------------------------------- 1 | package de.guntram.mcmod.grid; 2 | 3 | public class BiomeDisplayEntry { 4 | 5 | public int x, z; 6 | public boolean display; 7 | public int displayHeight; 8 | public long generated; 9 | 10 | public BiomeDisplayEntry(int x, int z, boolean display, int height, long time) { 11 | this.x=x; 12 | this.z=z; 13 | this.display=display; 14 | this.displayHeight=height; 15 | this.generated = time; 16 | } 17 | 18 | @Override 19 | public int hashCode() { 20 | return x << 16 + z; 21 | } 22 | 23 | @Override 24 | public boolean equals(Object obj) { 25 | if (this == obj) { 26 | return true; 27 | } 28 | if (obj == null) { 29 | return false; 30 | } 31 | if (getClass() != obj.getClass()) { 32 | return false; 33 | } 34 | final BiomeDisplayEntry other = (BiomeDisplayEntry) obj; 35 | return this.x == other.x && this.z == other.z; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/de/guntram/mcmod/grid/ConfigurationHandler.java: -------------------------------------------------------------------------------- 1 | package de.guntram.mcmod.grid; 2 | 3 | import de.guntram.mcmod.fabrictools.ConfigChangedEvent; 4 | import de.guntram.mcmod.fabrictools.Configuration; 5 | import de.guntram.mcmod.fabrictools.ModConfigurationHandler; 6 | import java.io.File; 7 | 8 | public class ConfigurationHandler implements ModConfigurationHandler { 9 | 10 | private static ConfigurationHandler instance; 11 | 12 | private Configuration config; 13 | private String configFileName; 14 | 15 | public static ConfigurationHandler getInstance() { 16 | if (instance==null) 17 | instance=new ConfigurationHandler(); 18 | return instance; 19 | } 20 | int blockColor, lineColor, circleColor, spawnNightColor, spawnDayColor, biomeColor; 21 | boolean useCache; 22 | 23 | public void load(final File configFile) { 24 | if (config == null) { 25 | config = new Configuration(configFile); 26 | configFileName=configFile.getPath(); 27 | loadConfig(); 28 | } 29 | } 30 | 31 | @Override 32 | public void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent event) { 33 | // System.out.println("OnConfigChanged for "+event.getModID()); 34 | if (event.getModID().equalsIgnoreCase(Grid.MODID)) { 35 | loadConfig(); 36 | } 37 | } 38 | 39 | @Override 40 | public void onConfigChanging(ConfigChangedEvent.OnConfigChangingEvent event) { 41 | switch (event.getItem()) { 42 | case "grid.config.colorblock" : blockColor = (int) event.getNewValue(); break; 43 | case "grid.config.colorline" : lineColor = (int) event.getNewValue(); break; 44 | case "grid.config.colorcircle" : circleColor = (int) event.getNewValue(); break; 45 | case "grid.config.colorspawnnight" : spawnNightColor = (int) event.getNewValue(); break; 46 | case "grid.config.colorspawnday" : spawnDayColor = (int) event.getNewValue(); break; 47 | case "grid.config.colorbiome" : biomeColor = (int) event.getNewValue(); break; 48 | } 49 | } 50 | 51 | private void loadConfig() { 52 | 53 | config.forget("grid.config.blockcolor"); 54 | config.forget("grid.config.linecolor"); 55 | config.forget("grid.config.circlecolor"); 56 | config.forget("grid.config.spawnNightcolor"); 57 | config.forget("grid.config.spawnDaycolor"); 58 | config.forget("grid.config.biomecolor"); 59 | config.forget("grid.config.cacheupdateseconds"); 60 | 61 | blockColor = config.getInt("grid.config.colorblock", Configuration.CATEGORY_CLIENT, 0x8080ff, 0, 0xffffff, "grid.config.tt.colorblock"); 62 | lineColor = config.getInt("grid.config.colorline", Configuration.CATEGORY_CLIENT, 0xff8000, 0, 0xffffff, "grid.config.tt.colorline"); 63 | circleColor = config.getInt("grid.config.colorcircle", Configuration.CATEGORY_CLIENT, 0x00e480, 0, 0xffffff, "grid.config.tt.colorcircle"); 64 | spawnNightColor = config.getInt("grid.config.colorspawnnight",Configuration.CATEGORY_CLIENT, 0xffff00, 0, 0xffffff, "grid.config.tt.colorspawnnight"); 65 | spawnDayColor = config.getInt("grid.config.colorspawnday", Configuration.CATEGORY_CLIENT, 0xff0000, 0, 0xffffff, "grid.config.tt.colorspawnday"); 66 | biomeColor = config.getInt("grid.config.colorbiome", Configuration.CATEGORY_CLIENT, 0xff00ff, 0, 0xffffff, "grid.config.tt.colorbiome"); 67 | 68 | useCache = config.getBoolean("grid.config.usecache", Configuration.CATEGORY_CLIENT, true, "grid.config.tt.usecache"); 69 | 70 | if (config.hasChanged()) 71 | config.save(); 72 | } 73 | 74 | @Override 75 | public Configuration getConfig() { 76 | return config; 77 | } 78 | 79 | public static String getConfigFileName() { 80 | return getInstance().configFileName; 81 | } 82 | 83 | public static boolean getUseCache() { 84 | return getInstance().useCache; 85 | } 86 | } -------------------------------------------------------------------------------- /src/main/java/de/guntram/mcmod/grid/Grid.java: -------------------------------------------------------------------------------- 1 | package de.guntram.mcmod.grid; 2 | 3 | import com.mojang.brigadier.CommandDispatcher; 4 | import static com.mojang.brigadier.arguments.IntegerArgumentType.getInteger; 5 | import static com.mojang.brigadier.arguments.IntegerArgumentType.integer; 6 | import static com.mojang.brigadier.arguments.StringArgumentType.getString; 7 | import static com.mojang.brigadier.arguments.StringArgumentType.string; 8 | import de.guntram.mcmod.crowdintranslate.CrowdinTranslate; 9 | import de.guntram.mcmod.fabrictools.ConfigChangedEvent; 10 | import de.guntram.mcmod.fabrictools.Configuration; 11 | import de.guntram.mcmod.fabrictools.ConfigurationItem; 12 | import de.guntram.mcmod.fabrictools.ConfigurationProvider; 13 | import de.guntram.mcmod.fabrictools.GuiModOptions; 14 | import de.guntram.mcmod.fabrictools.IConfiguration; 15 | import de.guntram.mcmod.fabrictools.ModConfigurationHandler; 16 | import de.guntram.mcmod.fabrictools.Types.ConfigurationSelectList; 17 | import de.guntram.mcmod.fabrictools.VolatileConfiguration; 18 | import static io.github.cottonmc.clientcommands.ArgumentBuilders.argument; 19 | import static io.github.cottonmc.clientcommands.ArgumentBuilders.literal; 20 | import io.github.cottonmc.clientcommands.ClientCommandPlugin; 21 | import io.github.cottonmc.clientcommands.CottonClientCommandSource; 22 | import java.util.regex.Pattern; 23 | import java.util.regex.PatternSyntaxException; 24 | import net.fabricmc.api.ClientModInitializer; 25 | import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents; 26 | import net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper; 27 | import net.minecraft.block.Block; 28 | import net.minecraft.block.BlockState; 29 | import net.minecraft.block.Blocks; 30 | import net.minecraft.client.MinecraftClient; 31 | import net.minecraft.client.network.ClientPlayerEntity; 32 | import net.minecraft.client.options.KeyBinding; 33 | import net.minecraft.client.render.VertexConsumer; 34 | import net.minecraft.client.resource.language.I18n; 35 | import net.minecraft.client.util.InputUtil; 36 | import net.minecraft.client.util.math.MatrixStack; 37 | import net.minecraft.entity.Entity; 38 | import net.minecraft.entity.EntityType; 39 | import net.minecraft.entity.SpawnRestriction; 40 | import net.minecraft.text.LiteralText; 41 | import net.minecraft.util.math.BlockPos; 42 | import net.minecraft.util.math.Matrix4f; 43 | import net.minecraft.util.registry.MutableRegistry; 44 | import net.minecraft.util.registry.Registry; 45 | import net.minecraft.world.LightType; 46 | import net.minecraft.world.SpawnHelper; 47 | import net.minecraft.world.biome.Biome; 48 | import net.minecraft.world.chunk.ChunkSection; 49 | import net.minecraft.world.chunk.WorldChunk; 50 | import org.apache.logging.log4j.LogManager; 51 | import org.apache.logging.log4j.Logger; 52 | import static org.lwjgl.glfw.GLFW.GLFW_KEY_B; 53 | import static org.lwjgl.glfw.GLFW.GLFW_KEY_C; 54 | import static org.lwjgl.glfw.GLFW.GLFW_KEY_G; 55 | import static org.lwjgl.glfw.GLFW.GLFW_KEY_L; 56 | import static org.lwjgl.glfw.GLFW.GLFW_KEY_Y; 57 | 58 | public class Grid implements ClientModInitializer, ClientCommandPlugin, ModConfigurationHandler 59 | { 60 | static final String MODID="grid"; 61 | static final String MODNAME="Grid"; 62 | static final String VERSION="@VERSION@"; 63 | public static Grid instance; 64 | 65 | private int gridX=16; 66 | private int gridZ=16; 67 | private int fixY=-1; 68 | private int offsetX=0; 69 | private int offsetZ=0; 70 | private int distance=30; 71 | private int lightLevel=8; 72 | private boolean showGrid=false; 73 | private boolean isBlocks=true; 74 | private boolean isCircles=false; 75 | private boolean isHexes = false; 76 | private boolean showSpawns=false; 77 | private Pattern showBiomes=null; 78 | private Logger LOGGER; 79 | 80 | private float[] blockColor = colorToRgb(0x8080ff); 81 | private float[] lineColor = colorToRgb(0xff8000); 82 | private float[] circleColor = colorToRgb(0x00e480); 83 | private float[] spawnNightColor = colorToRgb(0xffff00); 84 | private float[] spawnDayColor = colorToRgb(0xff0000); 85 | private float[] biomeColor = colorToRgb(0xff00ff); 86 | 87 | private static final String modes[] = { "grid.displaymode.rectangle", "grid.displaymode.circle", "grid.displaymode.hex" }; 88 | VolatileConfiguration runtimeSettings; 89 | private boolean settingsRequested; 90 | 91 | KeyBinding showHide, gridHere, gridFixY, gridSpawns, gridSettings; 92 | 93 | private boolean dump; 94 | private long lastDumpTime, thisDumpTime; 95 | 96 | private int[][] biomeCache; 97 | private int[][] spawnCache; 98 | int biomeUpdateX, spawnUpdateX; 99 | 100 | @Override 101 | public void onInitializeClient() { 102 | CrowdinTranslate.downloadTranslations(MODID); 103 | instance=this; 104 | ConfigurationHandler confHandler = ConfigurationHandler.getInstance(); 105 | ConfigurationProvider.register(MODNAME, confHandler); 106 | confHandler.load(ConfigurationProvider.getSuggestedFile(MODID)); 107 | 108 | biomeCache = new int[256][]; 109 | spawnCache = new int[256][]; 110 | for (int i=0; i<256; i++) { 111 | spawnCache[i]=new int[256]; 112 | biomeCache[i]=new int[256]; 113 | } 114 | 115 | setKeyBindings(); 116 | LOGGER = LogManager.getLogger(MODNAME); 117 | } 118 | 119 | private float[] colorToRgb(int color) { 120 | float[] result = new float[3]; 121 | result[0] = ((color>>16)&0xff) / 255f; 122 | result[1] = ((color>> 8)&0xff) / 255f; 123 | result[2] = ((color>> 0)&0xff) / 255f; 124 | return result; 125 | } 126 | 127 | public void renderOverlay(float partialTicks, MatrixStack stack, VertexConsumer consumer, double cameraX, double cameraY, double cameraZ) { 128 | 129 | if (!showGrid && !showSpawns && showBiomes == null) 130 | return; 131 | 132 | ConfigurationHandler confHandler = ConfigurationHandler.getInstance(); 133 | blockColor = colorToRgb(confHandler.blockColor); 134 | lineColor = colorToRgb(confHandler.lineColor); 135 | circleColor= colorToRgb(confHandler.circleColor); 136 | spawnNightColor = colorToRgb(confHandler.spawnNightColor); 137 | spawnDayColor = colorToRgb(confHandler.spawnDayColor); 138 | biomeColor = colorToRgb(confHandler.biomeColor); 139 | 140 | Entity player = MinecraftClient.getInstance().getCameraEntity(); 141 | stack.push(); 142 | stack.translate(-cameraX, -cameraY, -cameraZ); 143 | 144 | int playerX=(int) Math.floor(player.getX()); 145 | int playerZ=(int) Math.floor(player.getZ()); 146 | int playerXShift=Math.floorMod(playerX, gridX); 147 | int playerZShift=Math.floorMod(playerZ, gridZ); 148 | int baseX=playerX-playerXShift; 149 | int baseZ=playerZ-playerZShift; 150 | int sizeX=Math.max((distance/gridX)*gridX, 2*gridX); 151 | int sizeZ=Math.max((distance/gridZ)*gridZ, 2*gridZ); 152 | if (playerXShift > sizeX/2) { baseX += gridX; } 153 | if (playerZShift > sizeZ/2) { baseZ += gridZ; } 154 | 155 | thisDumpTime=System.currentTimeMillis(); 156 | dump=false; 157 | if (thisDumpTime > lastDumpTime + 50000) { 158 | dump=false; // set this to true to get line info from time to time 159 | lastDumpTime=thisDumpTime; 160 | } 161 | 162 | if (showGrid) { 163 | float tempy=((float)(fixY==-1 ? player.lastRenderY + (player.getY() - player.lastRenderY) * (double)partialTicks : fixY)); 164 | final float y; 165 | if (player.getY()+player.getEyeHeight(player.getPose()) > tempy) { 166 | y=tempy+0.05f; 167 | } else { 168 | y=tempy-0.05f; 169 | } 170 | 171 | stack.push(); 172 | stack.translate(offsetX, 0, offsetZ); 173 | int circRadSquare=(gridX/2)*(gridX/2); 174 | if (isBlocks) { 175 | for (int x=baseX-sizeX; x<=baseX+sizeX; x+=gridX) { 176 | for (int z=baseZ-sizeZ; z<=baseZ+sizeZ; z+=gridZ) { 177 | if (isHexes) { 178 | if (gridX >= gridZ) { 179 | drawXTriangleVertex(consumer, stack, x, y, z, true, blockColor[0], blockColor[1], blockColor[2]); // dot itself 180 | drawXTriangleVertex(consumer, stack, x-gridZ/4f, y, z-gridZ/2f, false, blockColor[0], blockColor[1], blockColor[2]); // left bottom of myself red 181 | drawXTriangleVertex(consumer, stack, x+gridX/2f-gridZ/4f, y, z, false, blockColor[0], blockColor[1], blockColor[2]); // node right orange 182 | drawXTriangleVertex(consumer, stack, x+gridX/2f, y, z-gridZ/2f, true, blockColor[0], blockColor[1], blockColor[2]); // right bottom of right node yellowgreenish 183 | } else { 184 | drawYTriangleVertex(consumer, stack, x, y, z, true, blockColor[0], blockColor[1], blockColor[2]); // dot itself 185 | drawYTriangleVertex(consumer, stack, x-gridX/2f, y, z-gridX/4f, false, blockColor[0], blockColor[1], blockColor[2]); // left bottom of myself red 186 | drawYTriangleVertex(consumer, stack, x, y, z+gridZ/2f-gridX/4f, false, blockColor[0], blockColor[1], blockColor[2]); // node right orange 187 | drawYTriangleVertex(consumer, stack, x-gridX/2f, y, z+gridZ/2f, true, blockColor[0], blockColor[1], blockColor[2]); // right bottom of right node yellowgreenish 188 | } 189 | } else { 190 | drawSquare(consumer, stack, x, y, z, blockColor[0], blockColor[1], blockColor[2]); 191 | } 192 | if (isCircles) { 193 | int dx=0; 194 | int dz=gridX/2; 195 | for (;;) { 196 | int nextx=dx+1; 197 | int nextz=dz; 198 | int toomuch=(nextx*nextx)+(nextz*nextz)-circRadSquare; 199 | if (nextz>0 && (nextz-1)*(nextz-1)+(nextx*nextx)>circRadSquare-toomuch) 200 | nextz--; 201 | if (nextz= gridZ) { 227 | drawLine(consumer, stack, x+0.5f, x+0.5f-gridZ/4f, y, y, z+0.5f, z+0.5f-gridZ/2f, lineColor[0], lineColor[1], lineColor[2]); // to LB 228 | drawLine(consumer, stack, x+0.5f, x+0.5f-gridZ/4f, y, y, z+0.5f, z+0.5f+gridZ/2f, lineColor[0], lineColor[1], lineColor[2]); // to LT 229 | drawLine(consumer, stack, x+0.5f, x+0.5f+gridX/2f-gridZ/4f, y, y, z+0.5f, z+0.5f, lineColor[0], lineColor[1], lineColor[2]); // to R 230 | drawLine(consumer, stack, x+0.5f+gridX/2f-gridZ/4f, x+0.5f+gridX/2f, y, y, z+0.5f, z+0.5f-gridZ/2f, lineColor[0], lineColor[1], lineColor[2]); // to RB 231 | drawLine(consumer, stack, x+0.5f+gridX/2f-gridZ/4f, x+0.5f+gridX/2f, y, y, z+0.5f, z+0.5f+gridZ/2f, lineColor[0], lineColor[1], lineColor[2]); // to RT 232 | 233 | drawLine(consumer, stack, x+0.5f+gridX/2f, x+0.5f+gridX-gridZ/4f, y, y, z+0.5f+gridZ/2f, z+0.5f+gridZ/2f, lineColor[0], lineColor[1], lineColor[2]); // left stump out 234 | drawLine(consumer, stack, x+0.5f-gridZ/4f, x+0.5f-gridX/2f, y, y, z+0.5f+gridZ/2f, z+0.5f+gridZ/2f, lineColor[0], lineColor[1], lineColor[2]); // right stump out 235 | } else { 236 | drawLine(consumer, stack, x+0.5f, x+0.5f-gridX/2f, y, y, z+0.5f, z+0.5f-gridX/4f, lineColor[0], lineColor[1], lineColor[2]); // to LT 237 | drawLine(consumer, stack, x+0.5f, x+0.5f+gridX/2f, y, y, z+0.5f, z+0.5f-gridX/4f, lineColor[0], lineColor[1], lineColor[2]); // to RT 238 | drawLine(consumer, stack, x+0.5f, x+0.5f, y, y, z+0.5f, z+0.5f+gridZ/2f-gridX/4f, lineColor[0], lineColor[1], lineColor[2]); // to B 239 | drawLine(consumer, stack, x+0.5f, x+0.5f-gridX/2f, y, y, z+0.5f+gridZ/2f-gridX/4f, z+0.5f+gridZ/2f, lineColor[0], lineColor[1], lineColor[2]); // to LB 240 | drawLine(consumer, stack, x+0.5f, x+0.5f+gridX/2f, y, y, z+0.5f+gridZ/2f-gridX/4f, z+0.5f+gridZ/2f, lineColor[0], lineColor[1], lineColor[2]); // to RB 241 | 242 | drawLine(consumer, stack, x+0.5f+gridX/2f, x+0.5f+gridX/2f, y, y, z+0.5f+gridZ/2f, z+0.5f+gridZ-gridX/4f, lineColor[0], lineColor[1], lineColor[2]); // stump up 243 | drawLine(consumer, stack, x+0.5f+gridX/2f, x+0.5f+gridX/2f, y, y, z+0.5f-gridX/4f, z+0.5f-gridZ/2f, lineColor[0], lineColor[1], lineColor[2]); // stump down 244 | } 245 | } 246 | } 247 | } else if (isCircles) { 248 | for (int x=baseX-sizeX; x<=baseX+sizeX; x+=gridX) { 249 | for (int z=baseZ-sizeZ; z<=baseZ+sizeZ; z+=gridZ) { 250 | float dx=0; 251 | float dz=gridX/2.0f; 252 | for (float nextx=0.1f; nextx255) { maxy=255; } 286 | 287 | WorldChunk cachedChunk = null; 288 | 289 | spawnUpdateX++; 290 | if (spawnUpdateX < (baseX-distance) || spawnUpdateX > baseX+distance) { 291 | spawnUpdateX = baseX-distance; 292 | } 293 | boolean alwaysUpdate = !ConfigurationHandler.getUseCache(); 294 | 295 | for (int x=baseX-distance; x<=baseX+distance; x++) { 296 | for (int z=baseZ-distance; z<=baseZ+distance; z++) { 297 | 298 | int display = 0; 299 | if (alwaysUpdate || x == spawnUpdateX) { 300 | if (cachedChunk == null || cachedChunk.getPos().x != (x>>4) || cachedChunk.getPos().z != (z>>4)) { 301 | cachedChunk=player.world.getChunk(x>>4, z>>4); 302 | } 303 | boolean foundAir = false; 304 | for (int y=maxy; y>=miny; y--) { 305 | 306 | BlockState state; 307 | BlockPos pos=new BlockPos(x, y, z); 308 | 309 | ChunkSection section = cachedChunk.getSectionArray()[y>>4]; 310 | if (section == null || section.isEmpty()) { 311 | //if (x==baseX && z==baseZ) System.out.println("section is empty for "+y); 312 | continue; 313 | } else { 314 | state = section.getBlockState(x & 15, y & 15, z & 15); 315 | } 316 | if (state.isSolidBlock(player.world, pos)) { 317 | if (foundAir && y != maxy) { 318 | BlockPos up = pos.up(); 319 | if (SpawnHelper.canSpawn(SpawnRestriction.Location.ON_GROUND, player.world, up, EntityType.COD)) { 320 | if (player.world.getLightLevel(LightType.BLOCK, up)>=lightLevel) 321 | display = 0x0000 | y; 322 | else if (player.world.getLightLevel(LightType.SKY, up)>=lightLevel) 323 | display = 0x1000 | y; 324 | else 325 | display = 0x2000 | y; 326 | } 327 | } 328 | if (foundAir) { 329 | break; 330 | } 331 | } else { 332 | foundAir = true; 333 | } 334 | } 335 | spawnCache[x&0xff][z&0xff] = display; 336 | } else { 337 | display = spawnCache[x&0xff][z&0xff]; 338 | } 339 | 340 | if ((display & 0xf000) == 0x1000) { 341 | drawCross(consumer, stack, x, (display&0xfff)+1.05f, z, spawnNightColor[0], spawnNightColor[1], spawnNightColor[2], false ); 342 | } else if ((display & 0xf000) == 0x2000) { 343 | drawCross(consumer, stack, x, (display&0xfff)+1.05f, z, spawnDayColor[0], spawnDayColor[1], spawnDayColor[2], true ); 344 | } 345 | } 346 | } 347 | } 348 | 349 | private void showBiomes(VertexConsumer consumer, MatrixStack stack, Entity player, int baseX, int baseZ) { 350 | int miny=(int)(player.getY())-16; 351 | int maxy=(int)(player.getY()); 352 | if (miny<0) { miny=0; } 353 | if (maxy>255) { maxy=255; } 354 | MutableRegistry registry = player.world.getRegistryManager().get(Registry.BIOME_KEY); 355 | 356 | biomeUpdateX++; 357 | if (biomeUpdateX < (baseX-distance) || biomeUpdateX > baseX+distance) { 358 | biomeUpdateX = baseX-distance; 359 | } 360 | boolean alwaysUpdate = !ConfigurationHandler.getUseCache(); 361 | 362 | for (int x=baseX-distance; x<=baseX+distance; x++) { 363 | for (int z=baseZ-distance; z<=baseZ+distance; z++) { 364 | int display = 0; 365 | if (alwaysUpdate || x == biomeUpdateX) { 366 | boolean match = showBiomes.matcher(registry.getId(player.world.getBiome(new BlockPos(x, 64, z))).getPath()).find(); 367 | if (match) { 368 | int y=(int)(player.getY()); 369 | while (y>=miny && isAir(player.world.getBlockState(new BlockPos(x, y, z)).getBlock())) { 370 | y--; 371 | } 372 | display = 0x1000 + y; 373 | } else { 374 | display = 0; 375 | } 376 | biomeCache[x&0xff][z&0xff] = display; 377 | } else { 378 | display = biomeCache[x&0xff][z&0xff]; 379 | } 380 | if ((display & 0x1000) != 0) { 381 | int y; 382 | if (fixY == -1) { 383 | y=display & 0xfff; 384 | } else { 385 | y=fixY-1; 386 | } 387 | drawDiamond(consumer, stack, x, y+1, z, biomeColor[0], biomeColor[1], biomeColor[2]); 388 | } 389 | } 390 | } 391 | } 392 | 393 | static private boolean isAir(Block block) { 394 | return block == Blocks.AIR || block == Blocks.CAVE_AIR || block == Blocks.VOID_AIR; 395 | } 396 | 397 | private void drawLineGrid(VertexConsumer consumer, MatrixStack stack, int baseX, int baseZ, float y, int sizeX, int sizeZ) { 398 | for (int x=baseX-sizeX; x<=baseX+sizeX; x+=gridX) { 399 | drawLine(consumer, stack, x, x, y, y, baseZ-distance, baseZ+distance, lineColor[0], lineColor[1], lineColor[2]); 400 | } 401 | for (int z=baseZ-sizeZ; z<=baseZ+sizeZ; z+=gridZ) { 402 | drawLine(consumer, stack, baseX-distance, baseX+distance, y, y, z, z, lineColor[0], lineColor[1], lineColor[2]); 403 | } 404 | } 405 | 406 | private void drawSquare(VertexConsumer consumer, MatrixStack stack, float x, float y, float z, float r, float g, float b) { 407 | drawLine (consumer, stack, x+0.3f, x+0.7f, y, y, z+0.3f, z+0.3f, r, g, b); 408 | drawLine (consumer, stack, x+0.7f, x+0.7f, y, y, z+0.3f, z+0.7f, r, g, b); 409 | drawLine (consumer, stack, x+0.7f, x+0.3f, y, y, z+0.7f, z+0.7f, r, g, b); 410 | drawLine (consumer, stack, x+0.3f, x+0.3f, y, y, z+0.7f, z+0.3f, r, g, b); 411 | } 412 | 413 | private void drawXTriangleVertex(VertexConsumer consumer, MatrixStack stack, float x, float y, float z, boolean inverted, float r, float g, float b) { 414 | float xMult = (inverted ? 1 : -1); 415 | drawLine(consumer, stack, x+0.5f, x+0.5f+ 0.5f*xMult, y, y, z+0.5f, z+0.5f, r, g, b); 416 | drawLine(consumer, stack, x+0.5f, x+0.5f-0.25f*xMult, y, y, z+0.5f, z+1.0f, r, g, b); 417 | drawLine(consumer, stack, x+0.5f, x+0.5f-0.25f*xMult, y, y, z+0.5f, z+0.0f, r, g, b); 418 | } 419 | 420 | private void drawYTriangleVertex(VertexConsumer consumer, MatrixStack stack, float x, float y, float z, boolean inverted, float r, float g, float b) { 421 | float xMult = (inverted ? 1 : -1); 422 | drawLine(consumer, stack, x+0.5f, x+0.5f, y, y, z+0.5f, z+0.5f+ 0.5f*xMult, r, g, b); 423 | drawLine(consumer, stack, x+0.5f, x+1.0f, y, y, z+0.5f, z+0.5f-0.25f*xMult, r, g, b); 424 | drawLine(consumer, stack, x+0.5f, x+0.0f, y, y, z+0.5f, z+0.5f-0.25f*xMult, r, g, b); 425 | } 426 | 427 | 428 | private void drawCircleSegment(VertexConsumer consumer, MatrixStack stack, float xc, float x1, float x2, float y, float zc, float z1, float z2, float red, float green, float blue) { 429 | drawLine(consumer, stack, xc+x1+0.5f, xc+x2+0.5f, y, y, zc+z1+0.5f, zc+z2+0.5f, red, green, blue); 430 | drawLine(consumer, stack, xc-x1+0.5f, xc-x2+0.5f, y, y, zc+z1+0.5f, zc+z2+0.5f, red, green, blue); 431 | drawLine(consumer, stack, xc+x1+0.5f, xc+x2+0.5f, y, y, zc-z1+0.5f, zc-z2+0.5f, red, green, blue); 432 | drawLine(consumer, stack, xc-x1+0.5f, xc-x2+0.5f, y, y, zc-z1+0.5f, zc-z2+0.5f, red, green, blue); 433 | drawLine(consumer, stack, xc+z1+0.5f, xc+z2+0.5f, y, y, zc+x1+0.5f, zc+x2+0.5f, red, green, blue); 434 | drawLine(consumer, stack, xc-z1+0.5f, xc-z2+0.5f, y, y, zc+x1+0.5f, zc+x2+0.5f, red, green, blue); 435 | drawLine(consumer, stack, xc+z1+0.5f, xc+z2+0.5f, y, y, zc-x1+0.5f, zc-x2+0.5f, red, green, blue); 436 | drawLine(consumer, stack, xc-z1+0.5f, xc-z2+0.5f, y, y, zc-x1+0.5f, zc-x2+0.5f, red, green, blue); 437 | } 438 | 439 | private void drawLine(VertexConsumer consumer, MatrixStack stack, float x1, float x2, float y1, float y2, float z1, float z2, float red, float green, float blue) { 440 | if (dump) { 441 | System.out.println("line from "+x1+","+y1+","+z1+" to "+x2+","+y2+","+z2); 442 | } 443 | Matrix4f model = stack.peek().getModel(); 444 | consumer.vertex(model, x1, y1, z1).color(red, green, blue, 1.0f).next(); 445 | consumer.vertex(model, x2, y2, z2).color(red, green, blue, 1.0f).next(); 446 | } 447 | 448 | private void drawCross(VertexConsumer consumer, MatrixStack stack, float x, float y, float z, float red, float green, float blue, boolean twoLegs) { 449 | drawLine(consumer, stack, x+0.3f, x+0.7f, y, y, z+0.3f, z+0.7f, red, green, blue); 450 | if (twoLegs) { 451 | drawLine(consumer, stack, x+0.3f, x+0.7f, y, y, z+0.7f, z+0.3f, red, green, blue); 452 | } 453 | } 454 | 455 | private void drawDiamond(VertexConsumer consumer, MatrixStack stack, int x, int y, int z, float red, float green, float blue) { 456 | Matrix4f model = stack.peek().getModel(); 457 | float x1 = x+0.3f; 458 | float x2 = x+0.5f; 459 | float x3 = x+0.7f; 460 | float z1 = z+0.3f; 461 | float z2 = z+0.5f; 462 | float z3 = z+0.7f; 463 | float y1 = y+0.05f; 464 | 465 | consumer.vertex(model, x1, y1, z2).color(red, green, blue, 1.0f).next(); 466 | consumer.vertex(model, x2, y1, z1).color(red, green, blue, 1.0f).next(); 467 | 468 | consumer.vertex(model, x2, y1, z1).color(red, green, blue, 1.0f).next(); 469 | consumer.vertex(model, x3, y1, z2).color(red, green, blue, 1.0f).next(); 470 | 471 | consumer.vertex(model, x3, y1, z2).color(red, green, blue, 1.0f).next(); 472 | consumer.vertex(model, x2, y1, z3).color(red, green, blue, 1.0f).next(); 473 | 474 | consumer.vertex(model, x2, y1, z3).color(red, green, blue, 1.0f).next(); 475 | consumer.vertex(model, x1, y1, z2).color(red, green, blue, 1.0f).next(); 476 | } 477 | 478 | private void cmdShow(ClientPlayerEntity sender) { 479 | showGrid = true; 480 | sender.sendMessage(new LiteralText(I18n.translate("msg.gridshown", (Object[]) null)), false); 481 | } 482 | 483 | private void cmdHide(ClientPlayerEntity sender) { 484 | showGrid = false; 485 | sender.sendMessage(new LiteralText(I18n.translate("msg.gridhidden", (Object[]) null)), false); 486 | } 487 | 488 | private void cmdSpawns(ClientPlayerEntity sender, String newLevel) { 489 | int level=8; 490 | try { 491 | level=Integer.parseInt(newLevel); 492 | } catch (NumberFormatException | NullPointerException ex) { 493 | ; 494 | } 495 | if (level<=0 || level>15) 496 | level=8; 497 | this.lightLevel=level; 498 | if (showSpawns && newLevel==null) { 499 | 500 | sender.sendMessage(new LiteralText(I18n.translate("msg.spawnshidden")), false); 501 | showSpawns=false; 502 | } else { 503 | sender.sendMessage(new LiteralText(I18n.translate("msg.spawnsshown", level)), false); 504 | showSpawns=true; 505 | } 506 | } 507 | 508 | private void cmdLines(ClientPlayerEntity sender) { 509 | showGrid = true; isBlocks = false; 510 | sender.sendMessage(new LiteralText(I18n.translate("msg.gridlines", (Object[]) null)), false); 511 | } 512 | 513 | private void cmdBlocks(ClientPlayerEntity sender) { 514 | showGrid = true; isBlocks = true; 515 | sender.sendMessage(new LiteralText(I18n.translate("msg.gridblocks", (Object[]) null)), false); 516 | } 517 | 518 | private void cmdCircles(ClientPlayerEntity sender) { 519 | if (isCircles) { 520 | isCircles = false; 521 | sender.sendMessage(new LiteralText(I18n.translate("msg.gridnomorecircles", (Object[]) null)), false); 522 | } else { 523 | isCircles = true; 524 | isHexes = false; 525 | showGrid = true; 526 | sender.sendMessage(new LiteralText(I18n.translate("msg.gridcircles", (Object[]) null)), false); 527 | } 528 | } 529 | 530 | private void cmdHere(ClientPlayerEntity sender) { 531 | int playerX=(int) Math.floor(sender.getX()); 532 | int playerZ=(int) Math.floor(sender.getZ()); 533 | int playerXShift=Math.floorMod(playerX, gridX); 534 | int playerZShift=Math.floorMod(playerZ, gridZ); 535 | offsetX=playerXShift; 536 | offsetZ=playerZShift; 537 | showGrid=true; 538 | sender.sendMessage(new LiteralText(I18n.translate("msg.gridaligned", (Object[]) null)), false); 539 | } 540 | 541 | private void cmdHex(ClientPlayerEntity sender) { 542 | if (isHexes) { 543 | isHexes = false; 544 | } else { 545 | isHexes = true; 546 | isCircles = false; 547 | showGrid = true; 548 | } 549 | } 550 | 551 | private void cmdFixy(ClientPlayerEntity sender) { 552 | if (fixY==-1) { 553 | cmdFixy(sender, (int)Math.floor(sender.getY())); 554 | } else { 555 | fixY=-1; 556 | sender.sendMessage(new LiteralText(I18n.translate("msg.gridheightfloat")), false); 557 | } 558 | } 559 | 560 | private void cmdFixy(ClientPlayerEntity sender, int level) { 561 | fixY=level; 562 | sender.sendMessage(new LiteralText(I18n.translate("msg.gridheightfixed", fixY)), false); 563 | } 564 | 565 | private void cmdChunks(ClientPlayerEntity sender) { 566 | offsetX=offsetZ=0; 567 | gridX=gridZ=16; 568 | showGrid=true; 569 | sender.sendMessage(new LiteralText(I18n.translate("msg.gridchunks")), false); 570 | } 571 | 572 | private void cmdDistance(ClientPlayerEntity sender, int distance) { 573 | this.distance=distance; 574 | sender.sendMessage(new LiteralText(I18n.translate("msg.griddistance", distance)), false); 575 | } 576 | 577 | private void cmdX(ClientPlayerEntity sender, int coord) { 578 | cmdXZ(sender, coord, gridZ); 579 | } 580 | 581 | private void cmdZ(ClientPlayerEntity sender, int coord) { 582 | cmdXZ(sender, gridX, coord); 583 | } 584 | 585 | private void cmdXZ(ClientPlayerEntity sender, int newX, int newZ) { 586 | if (newX>0 && newZ>0) { 587 | gridX=newX; 588 | gridZ=newZ; 589 | showGrid=true; 590 | sender.sendMessage(new LiteralText(I18n.translate("msg.gridpattern", gridX, gridZ)), false); 591 | } else { 592 | sender.sendMessage(new LiteralText(I18n.translate("msg.gridcoordspositive")), false); 593 | } 594 | } 595 | 596 | private void cmdBiome(ClientPlayerEntity sender, String biome) { 597 | if (biome == null || biome.isEmpty()) { 598 | showBiomes = null; 599 | } else { 600 | try { 601 | this.showBiomes=Pattern.compile(biome, Pattern.CASE_INSENSITIVE); 602 | sender.sendMessage(new LiteralText(I18n.translate("msg.biomesearching", biome)), false); 603 | } catch (PatternSyntaxException ex) { 604 | showBiomes = null; 605 | sender.sendMessage(new LiteralText(I18n.translate("msg.biomepatternbad", biome)), false); 606 | } 607 | } 608 | } 609 | 610 | private void cmdSettings() { 611 | 612 | runtimeSettings = new VolatileConfiguration(); 613 | runtimeSettings.addItem(new ConfigurationItem("grid.settings.x", "", gridX, gridX, 1, 64, (val) -> gridX=(int) val)); 614 | runtimeSettings.addItem(new ConfigurationItem("grid.settings.z", "", gridZ, gridZ, 1, 64, (val) -> gridZ=(int) val)); 615 | runtimeSettings.addItem(new ConfigurationItem("grid.settings.y", "", fixY, fixY, -2, 255, (val) -> fixY =(int) val)); // Min is actually -1 but due to how rounding negatives work we need -2 to have -1 shown. 616 | runtimeSettings.addItem(new ConfigurationItem("grid.settings.distance", "", distance, 30, 16, 255, (val) -> distance=(int) val)); 617 | runtimeSettings.addItem(new ConfigurationItem("grid.settings.lightlevel", "", lightLevel, 8, 1, 15, (val) -> lightLevel=(int) val)); 618 | runtimeSettings.addItem(new ConfigurationItem("grid.settings.showgrid", "", showGrid, false, null, null, (val) -> showGrid=(boolean) val)); 619 | runtimeSettings.addItem(new ConfigurationItem("grid.settings.isblocks", "", isBlocks, true, null, null, (val) -> isBlocks=(boolean) val)); 620 | runtimeSettings.addItem(new ConfigurationSelectList("grid.settings.displaymode", "", modes, 0 + (isCircles ? 1 : 0) + (isHexes ? 2 : 0), 0, (val) -> { 621 | isCircles = ((int)val == 1); isHexes = ((int)val == 2); 622 | })); 623 | runtimeSettings.addItem(new ConfigurationItem("grid.settings.showspawn", "", showSpawns, false, null, null, (val) -> showSpawns = (boolean) val)); 624 | runtimeSettings.addItem(new ConfigurationItem("grid.settings.showbiomes", "", (showBiomes != null ? showBiomes.pattern() : ""), "", null, null, 625 | (val) -> instance.cmdBiome(MinecraftClient.getInstance().player, (String) val))); 626 | 627 | GuiModOptions screen = new GuiModOptions(null, "Grid Settings", this) { 628 | @Override 629 | public void renderBackground(MatrixStack matrices, int vOffset) { 630 | if (this.client.world == null) { 631 | super.renderBackground(matrices, vOffset); 632 | } 633 | } 634 | }; 635 | MinecraftClient.getInstance().openScreen(screen); 636 | } 637 | 638 | @Override 639 | public void registerCommands(CommandDispatcher cd) { 640 | cd.register( 641 | literal("grid") 642 | .then( 643 | literal("show").executes(c->{ 644 | instance.cmdShow(MinecraftClient.getInstance().player); 645 | return 1; 646 | }) 647 | ) 648 | .then( 649 | literal("hide").executes(c->{ 650 | instance.cmdHide(MinecraftClient.getInstance().player); 651 | return 1; 652 | }) 653 | ) 654 | .then( 655 | literal("lines").executes(c->{ 656 | instance.cmdLines(MinecraftClient.getInstance().player); 657 | return 1; 658 | }) 659 | ) 660 | .then( 661 | literal("blocks").executes(c->{ 662 | instance.cmdBlocks(MinecraftClient.getInstance().player); 663 | return 1; 664 | }) 665 | ) 666 | .then( 667 | literal("circles").executes(c->{ 668 | instance.cmdCircles(MinecraftClient.getInstance().player); 669 | return 1; 670 | }) 671 | ) 672 | .then( 673 | literal("here").executes(c->{ 674 | instance.cmdHere(MinecraftClient.getInstance().player); 675 | return 1; 676 | }) 677 | ) 678 | .then( 679 | literal("hex").executes(c->{ 680 | instance.cmdHex(MinecraftClient.getInstance().player); 681 | return 1; 682 | }) 683 | ) 684 | .then( 685 | literal("fixy").then( 686 | argument("y", integer()).executes(c->{ 687 | instance.cmdFixy(MinecraftClient.getInstance().player, getInteger(c, "y")); 688 | return 1; 689 | }) 690 | ).executes(c->{ 691 | instance.cmdFixy(MinecraftClient.getInstance().player); 692 | return 1; 693 | }) 694 | ) 695 | .then( 696 | literal("chunks").executes(c->{ 697 | instance.cmdChunks(MinecraftClient.getInstance().player); 698 | return 1; 699 | }) 700 | ) 701 | .then( 702 | literal("spawns").then( 703 | argument("lightlevel", integer()).executes(c->{ 704 | instance.cmdSpawns(MinecraftClient.getInstance().player, ""+getInteger(c, "lightlevel")); 705 | return 1; 706 | }) 707 | ).executes(c->{ 708 | instance.cmdSpawns(MinecraftClient.getInstance().player, null); 709 | return 1; 710 | }) 711 | ) 712 | .then( 713 | literal("distance").then ( 714 | argument("distance", integer()).executes(c->{ 715 | instance.cmdDistance(MinecraftClient.getInstance().player, getInteger(c, "distance")); 716 | return 1; 717 | }) 718 | ) 719 | ) 720 | .then( 721 | argument("x", integer()).then ( 722 | argument("z", integer()).executes(c->{ 723 | instance.cmdXZ(MinecraftClient.getInstance().player, getInteger(c, "x"), getInteger(c, "z")); 724 | return 1; 725 | }) 726 | ).executes(c->{ 727 | instance.cmdXZ(MinecraftClient.getInstance().player, getInteger(c, "x"), getInteger(c, "x")); 728 | return 1; 729 | }) 730 | ) 731 | .then( 732 | literal("biome").then( 733 | argument("pattern", string()).executes(c->{ 734 | instance.cmdBiome(MinecraftClient.getInstance().player, ""+getString(c, "pattern")); 735 | return 1; 736 | }) 737 | ).executes(c->{ 738 | instance.cmdBiome(MinecraftClient.getInstance().player, null); 739 | return 1; 740 | }) 741 | ) 742 | .then ( 743 | literal("settings").executes(c->{ 744 | // This can't open the settings screen directly because 745 | // MC will call closeScreen to close the chat hud. 746 | instance.settingsRequested = true; 747 | return 1; 748 | }) 749 | ) 750 | ); 751 | } 752 | 753 | public void setKeyBindings() { 754 | final String category="key.categories.grid"; 755 | KeyBindingHelper.registerKeyBinding(showHide = new KeyBinding("key.grid.showhide", InputUtil.Type.KEYSYM, GLFW_KEY_B, category)); 756 | KeyBindingHelper.registerKeyBinding(gridHere = new KeyBinding("key.grid.here", InputUtil.Type.KEYSYM, GLFW_KEY_C, category)); 757 | KeyBindingHelper.registerKeyBinding(gridFixY = new KeyBinding("key.grid.fixy", InputUtil.Type.KEYSYM, GLFW_KEY_Y, category)); 758 | KeyBindingHelper.registerKeyBinding(gridSpawns = new KeyBinding("key.grid.spawns", InputUtil.Type.KEYSYM, GLFW_KEY_L, category)); 759 | KeyBindingHelper.registerKeyBinding(gridSettings = new KeyBinding("key.grid.settings", InputUtil.Type.KEYSYM, GLFW_KEY_G, category)); 760 | ClientTickEvents.END_CLIENT_TICK.register(e->processKeyBinds()); 761 | } 762 | 763 | public void processKeyBinds() { 764 | ClientPlayerEntity player = MinecraftClient.getInstance().player; 765 | if (showHide.wasPressed()) { 766 | showGrid=!showGrid; 767 | } 768 | if (gridFixY.wasPressed()) { 769 | cmdFixy(player); 770 | } 771 | if (gridHere.wasPressed()) { 772 | cmdHere(player); 773 | } 774 | if (gridSpawns.wasPressed()) { 775 | cmdSpawns(player, null); 776 | } 777 | if (settingsRequested || gridSettings.wasPressed()) { 778 | settingsRequested = false; 779 | cmdSettings(); 780 | } 781 | } 782 | 783 | @Override 784 | public void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent occe) { 785 | } 786 | 787 | @Override 788 | public IConfiguration getIConfig() { 789 | return runtimeSettings; 790 | } 791 | 792 | @Override 793 | public Configuration getConfig() { 794 | // This is only for compatibility with older GBFabricTools versions 795 | throw new UnsupportedOperationException("Not supported yet."); 796 | } 797 | } 798 | -------------------------------------------------------------------------------- /src/main/java/de/guntram/mcmod/grid/MMConfigurationHandler.java: -------------------------------------------------------------------------------- 1 | package de.guntram.mcmod.grid; 2 | 3 | import de.guntram.mcmod.fabrictools.ConfigurationProvider; 4 | import de.guntram.mcmod.fabrictools.GuiModOptions; 5 | import io.github.prospector.modmenu.api.ConfigScreenFactory; 6 | import io.github.prospector.modmenu.api.ModMenuApi; 7 | 8 | public class MMConfigurationHandler implements ModMenuApi 9 | { 10 | @Override 11 | public String getModId() { 12 | return Grid.MODID; 13 | } 14 | 15 | @Override 16 | public ConfigScreenFactory getModConfigScreenFactory() { 17 | return screen -> new GuiModOptions(screen, Grid.MODNAME, ConfigurationProvider.getHandler(Grid.MODNAME)); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/de/guntram/mcmod/grid/SpawnDisplayEntry.java: -------------------------------------------------------------------------------- 1 | package de.guntram.mcmod.grid; 2 | 3 | public class SpawnDisplayEntry { 4 | 5 | public int x, y, z; 6 | public int display; 7 | public long generated; 8 | 9 | public SpawnDisplayEntry(int x, int y, int z, int display, long time) { 10 | this.x=x; 11 | this.y=y; 12 | this.z=z; 13 | this.display=display; 14 | this.generated = time; 15 | } 16 | 17 | @Override 18 | public String toString() { 19 | return "SpawnDisplayEntry at "+x+"/"+y+"/"+z+", display="+display+" generated at "+generated; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/de/guntram/mcmod/grid/mixin/MixinWorldRenderer.java: -------------------------------------------------------------------------------- 1 | package de.guntram.mcmod.grid.mixin; 2 | 3 | import de.guntram.mcmod.grid.Grid; 4 | import net.minecraft.client.render.BufferBuilderStorage; 5 | import net.minecraft.client.render.Camera; 6 | import net.minecraft.client.render.GameRenderer; 7 | import net.minecraft.client.render.LightmapTextureManager; 8 | import net.minecraft.client.render.RenderLayer; 9 | import net.minecraft.client.render.VertexConsumerProvider; 10 | import net.minecraft.client.render.WorldRenderer; 11 | import net.minecraft.client.util.math.MatrixStack; 12 | import net.minecraft.util.math.Matrix4f; 13 | import net.minecraft.util.math.Vec3d; 14 | import org.spongepowered.asm.mixin.Final; 15 | import org.spongepowered.asm.mixin.Mixin; 16 | import org.spongepowered.asm.mixin.Shadow; 17 | import org.spongepowered.asm.mixin.injection.At; 18 | import org.spongepowered.asm.mixin.injection.Inject; 19 | import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; 20 | 21 | @Mixin(WorldRenderer.class) 22 | public class MixinWorldRenderer { 23 | 24 | @Shadow @Final private BufferBuilderStorage bufferBuilders; 25 | 26 | @Inject(method="render", 27 | at=@At(value="INVOKE_STRING", 28 | target="Lnet/minecraft/util/profiler/Profiler;swap(Ljava/lang/String;)V", 29 | args= { "ldc=destroyProgress" } 30 | )) 31 | 32 | public void renderGrid(MatrixStack stack, float tickDelta, long limitTime, boolean renderBlockOutline, 33 | Camera camera, GameRenderer gameRenderer, LightmapTextureManager lightmapTextureManager, 34 | Matrix4f matrix4f, CallbackInfo ci) { 35 | Vec3d vec3d = camera.getPos(); 36 | double x = vec3d.getX(); 37 | double y = vec3d.getY(); 38 | double z = vec3d.getZ(); 39 | VertexConsumerProvider.Immediate immediate = this.bufferBuilders.getEntityVertexConsumers(); 40 | Grid.instance.renderOverlay(tickDelta, stack, immediate.getBuffer(RenderLayer.getLines()), x, y, z); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/cs_cz.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Grid", 3 | "key.grid.showhide": "Show/Hide Grid", 4 | "key.grid.here": "Align Grid around player", 5 | "key.grid.fixy": "Fix Grid height to player", 6 | "key.grid.spawns": "Show/Hide spawn blocks", 7 | "key.grid.settings": "Change ingame settings", 8 | "msg.gridshown": "Grid shown.", 9 | "msg.gridhidden": "Grid hidden.", 10 | "msg.gridlines": "Grid showing lines.", 11 | "msg.gridblocks": "Grid showing blocks.", 12 | "msg.gridcircles": "Grid showing circles.", 13 | "msg.gridnomorecircles": "Grid hiding circles.", 14 | "msg.gridaligned": "Grid centered around player.", 15 | "msg.gridheightfixed": "Grid fixed to height %.1f.", 16 | "msg.gridheightfloat": "Grid height floating.", 17 | "msg.gridchunks": "Grid showing chunk borders.", 18 | "msg.gridpattern": "Grid set to %d X blocks, %d Z blocks.", 19 | "msg.gridcoordspositive": "Grid coordinates must be > 0!", 20 | "msg.griddistance": "Grid distance is now %d blocks.", 21 | "msg.griddistusage": "Grid distance is %d blocks.", 22 | "msg.badnumber": "Parameters not recognized as integers.", 23 | "msg.spawnsshown": "Mob spawn locations shown (light level < %d)", 24 | "msg.spawnshidden": "Mob spawn locations hidden", 25 | "msg.biomesearching": "Marking biome %s", 26 | "msg.biomepatternbad": "'%s' ist not a valid search pattern", 27 | "grid.config.colorblock": "Block color", 28 | "grid.config.tt.colorblock": "The color that square /grid blocks markers will be shown in", 29 | "grid.config.colorline": "Line color", 30 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 31 | "grid.config.colorcircle": "Circle color", 32 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 33 | "grid.config.colorspawnnight": "Night spawn color", 34 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 35 | "grid.config.colorspawnday": "Everytime spawn color", 36 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 37 | "grid.config.colorbiome": "Biome marker color", 38 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 39 | "grid.config.usecache": "Use biome / spawn cache", 40 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 41 | "grid.settings.x": "X distance", 42 | "grid.settings.z": "Z distance", 43 | "grid.settings.y": "Y level (-1 to float)", 44 | "grid.settings.distance": "Distance to show overlay", 45 | "grid.settings.lightlevel": "Lightlevel to show spawns", 46 | "grid.settings.isblocks": "Show blocks?", 47 | "grid.settings.showgrid": "Show grid?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Show spawn blocks?", 50 | "grid.settings.showbiomes": "Biome search string", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Circles", 53 | "grid.displaymode.hex": "Hexes" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/de_de.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Gitter", 3 | "key.grid.showhide": "Gitter zeigen/verstecken", 4 | "key.grid.here": "Gitter auf Spieler zentrieren", 5 | "key.grid.fixy": "Gitterhöhe fixieren", 6 | "key.grid.spawns": "Spawnblöcke zeigen/verstecken", 7 | "key.grid.settings": "HUD-Einstellungen ändern", 8 | "msg.gridshown": "Gitter angezeigt.", 9 | "msg.gridhidden": "Gitter versteckt.", 10 | "msg.gridlines": "Gitter zeigt Linien.", 11 | "msg.gridblocks": "Gitter zeigt Blöcke.", 12 | "msg.gridcircles": "Gitter zeigt Kreise.", 13 | "msg.gridnomorecircles": "Gitter versteckt Kreise.", 14 | "msg.gridaligned": "Gitter um Spieler zentriert.", 15 | "msg.gridheightfixed": "Gitter auf Höhe %.1f fixiert.", 16 | "msg.gridheightfloat": "Gitterhöhe fließend.", 17 | "msg.gridchunks": "Gitter zeigt Chunkgrenzen.", 18 | "msg.gridpattern": "Gitter auf %d X-Blöcke, %d Z-Blöcke gesetzt.", 19 | "msg.gridcoordspositive": "Gitterkoordinaten müssen > 0 sein!", 20 | "msg.griddistance": "Gitterdistanz ist jetzt %d Blöcke", 21 | "msg.griddistusage": "Gitterdistanz ist %d Blöcke.", 22 | "msg.badnumber": "Parameter sind keine ganzen Zahlen.", 23 | "msg.spawnsshown": "Spawnblöcke angezeigt (Licht < %d)", 24 | "msg.spawnshidden": "Spawnblöcke versteckt", 25 | "msg.biomesearching": "Markiere Biome %s", 26 | "msg.biomepatternbad": "'%s' ist keine gültige Suche", 27 | "grid.config.colorblock": "Blockfarbe", 28 | "grid.config.tt.colorblock": "Die Farbe, in der Blöcke markiert werden (/grid blocks)", 29 | "grid.config.colorline": "Linienfarbe", 30 | "grid.config.tt.colorline": "Die Farbe, in der /grid lines Linien und Sechsecke angezeigt werden", 31 | "grid.config.colorcircle": "Kreisfarbe", 32 | "grid.config.tt.colorcircle": "Die Farbe, in der Kreise gezeichnet werden", 33 | "grid.config.colorspawnnight": "Farbe für Nachtspawns", 34 | "grid.config.tt.colorspawnnight": "Die Farbe, in der nächtliche Spawns markiert werden", 35 | "grid.config.colorspawnday": "Dauerspawn Farbe", 36 | "grid.config.tt.colorspawnday": "Dir Farbe, in der Jederzeit-Spawns markiert werden", 37 | "grid.config.colorbiome": "Farbe der Biom-Marker", 38 | "grid.config.tt.colorbiome": "Die Farbe, in der Biom-Marker angezeigt werden", 39 | "grid.config.usecache": "Biom/Spawn-Cache verwenden", 40 | "grid.config.tt.usecache": "Wenn dies ausgeschaltet wird, werden Änderungen sofort angezeigt, auf Kosten der Framerate.", 41 | "grid.settings.x": "X-Distanz", 42 | "grid.settings.z": "Z-Distanz", 43 | "grid.settings.y": "Y-Level (-1 für Automatismus)", 44 | "grid.settings.distance": "Entfernung, bis zu der der Overlay angezeigt wird", 45 | "grid.settings.lightlevel": "Lightlevel um Spawns anzuzeigen", 46 | "grid.settings.isblocks": "Blöcke anzeigen?", 47 | "grid.settings.showgrid": "Raster anzeigen?", 48 | "grid.settings.displaymode": "Anzeigemodus", 49 | "grid.settings.showspawn": "Spawnblöcke anzeigen?", 50 | "grid.settings.showbiomes": "Biom-Suchstring", 51 | "grid.displaymode.rectangle": "Rechtecke", 52 | "grid.displaymode.circle": "Kreise", 53 | "grid.displaymode.hex": "Sechsecke" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/el_gr.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Grid", 3 | "key.grid.showhide": "Show/Hide Grid", 4 | "key.grid.here": "Align Grid around player", 5 | "key.grid.fixy": "Fix Grid height to player", 6 | "key.grid.spawns": "Show/Hide spawn blocks", 7 | "key.grid.settings": "Change ingame settings", 8 | "msg.gridshown": "Grid shown.", 9 | "msg.gridhidden": "Grid hidden.", 10 | "msg.gridlines": "Grid showing lines.", 11 | "msg.gridblocks": "Grid showing blocks.", 12 | "msg.gridcircles": "Grid showing circles.", 13 | "msg.gridnomorecircles": "Grid hiding circles.", 14 | "msg.gridaligned": "Grid centered around player.", 15 | "msg.gridheightfixed": "Grid fixed to height %.1f.", 16 | "msg.gridheightfloat": "Grid height floating.", 17 | "msg.gridchunks": "Grid showing chunk borders.", 18 | "msg.gridpattern": "Grid set to %d X blocks, %d Z blocks.", 19 | "msg.gridcoordspositive": "Grid coordinates must be > 0!", 20 | "msg.griddistance": "Grid distance is now %d blocks.", 21 | "msg.griddistusage": "Grid distance is %d blocks.", 22 | "msg.badnumber": "Parameters not recognized as integers.", 23 | "msg.spawnsshown": "Mob spawn locations shown (light level < %d)", 24 | "msg.spawnshidden": "Mob spawn locations hidden", 25 | "msg.biomesearching": "Marking biome %s", 26 | "msg.biomepatternbad": "'%s' ist not a valid search pattern", 27 | "grid.config.colorblock": "Block color", 28 | "grid.config.tt.colorblock": "The color that square /grid blocks markers will be shown in", 29 | "grid.config.colorline": "Line color", 30 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 31 | "grid.config.colorcircle": "Circle color", 32 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 33 | "grid.config.colorspawnnight": "Night spawn color", 34 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 35 | "grid.config.colorspawnday": "Everytime spawn color", 36 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 37 | "grid.config.colorbiome": "Biome marker color", 38 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 39 | "grid.config.usecache": "Use biome / spawn cache", 40 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 41 | "grid.settings.x": "X distance", 42 | "grid.settings.z": "Z distance", 43 | "grid.settings.y": "Y level (-1 to float)", 44 | "grid.settings.distance": "Distance to show overlay", 45 | "grid.settings.lightlevel": "Lightlevel to show spawns", 46 | "grid.settings.isblocks": "Show blocks?", 47 | "grid.settings.showgrid": "Show grid?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Show spawn blocks?", 50 | "grid.settings.showbiomes": "Biome search string", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Circles", 53 | "grid.displaymode.hex": "Hexes" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/en_us.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Grid", 3 | "key.grid.showhide": "Show/Hide Grid", 4 | "key.grid.here": "Align Grid around player", 5 | "key.grid.fixy": "Fix Grid height to player", 6 | "key.grid.spawns": "Show/Hide spawn blocks", 7 | "key.grid.settings": "Change ingame settings", 8 | 9 | "msg.gridshown": "Grid shown.", 10 | "msg.gridhidden": "Grid hidden.", 11 | "msg.gridlines": "Grid showing lines.", 12 | "msg.gridblocks": "Grid showing blocks.", 13 | "msg.gridcircles": "Grid showing circles.", 14 | "msg.gridnomorecircles": "Grid hiding circles.", 15 | "msg.gridaligned": "Grid centered around player.", 16 | "msg.gridheightfixed": "Grid fixed to height %.1f.", 17 | "msg.gridheightfloat": "Grid height floating.", 18 | "msg.gridchunks": "Grid showing chunk borders.", 19 | "msg.gridpattern": "Grid set to %d X blocks, %d Z blocks.", 20 | "msg.gridcoordspositive": "Grid coordinates must be > 0!", 21 | "msg.griddistance": "Grid distance is now %d blocks.", 22 | "msg.griddistusage": "Grid distance is %d blocks.", 23 | "msg.badnumber": "Parameters not recognized as integers.", 24 | "msg.spawnsshown": "Mob spawn locations shown (light level < %d)", 25 | "msg.spawnshidden": "Mob spawn locations hidden", 26 | "msg.biomesearching": "Marking biome %s", 27 | "msg.biomepatternbad": "'%s' ist not a valid search pattern", 28 | 29 | "grid.config.colorblock": "Block color", 30 | "grid.config.tt.colorblock": "The color that square /grid blocks markers will be shown in", 31 | "grid.config.colorline": "Line color", 32 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 33 | "grid.config.colorcircle": "Circle color", 34 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 35 | "grid.config.colorspawnnight": "Night spawn color", 36 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 37 | "grid.config.colorspawnday": "Everytime spawn color", 38 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 39 | "grid.config.colorbiome": "Biome marker color", 40 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 41 | "grid.config.usecache": "Use biome / spawn cache", 42 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 43 | 44 | "grid.settings.x": "X distance", 45 | "grid.settings.z": "Z distance", 46 | "grid.settings.y": "Y level (-1 to float)", 47 | "grid.settings.distance": "Distance to show overlay", 48 | "grid.settings.lightlevel": "Lightlevel to show spawns", 49 | "grid.settings.isblocks": "Show blocks?", 50 | "grid.settings.showgrid": "Show grid?", 51 | "grid.settings.displaymode": "Overlay type", 52 | "grid.settings.showspawn": "Show spawn blocks?", 53 | "grid.settings.showbiomes": "Biome search string", 54 | "grid.displaymode.rectangle": "Rectangles", 55 | "grid.displaymode.circle": "Circles", 56 | "grid.displaymode.hex": "Hexes" 57 | 58 | } 59 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/es_ar.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Grid", 3 | "key.grid.showhide": "Show/Hide Grid", 4 | "key.grid.here": "Align Grid around player", 5 | "key.grid.fixy": "Fix Grid height to player", 6 | "key.grid.spawns": "Show/Hide spawn blocks", 7 | "key.grid.settings": "Change ingame settings", 8 | "msg.gridshown": "Grid shown.", 9 | "msg.gridhidden": "Grid hidden.", 10 | "msg.gridlines": "Grid showing lines.", 11 | "msg.gridblocks": "Grid showing blocks.", 12 | "msg.gridcircles": "Grid showing circles.", 13 | "msg.gridnomorecircles": "Grid hiding circles.", 14 | "msg.gridaligned": "Grid centered around player.", 15 | "msg.gridheightfixed": "Grid fixed to height %.1f.", 16 | "msg.gridheightfloat": "Grid height floating.", 17 | "msg.gridchunks": "Grid showing chunk borders.", 18 | "msg.gridpattern": "Grid set to %d X blocks, %d Z blocks.", 19 | "msg.gridcoordspositive": "Grid coordinates must be > 0!", 20 | "msg.griddistance": "Grid distance is now %d blocks.", 21 | "msg.griddistusage": "Grid distance is %d blocks.", 22 | "msg.badnumber": "Parameters not recognized as integers.", 23 | "msg.spawnsshown": "Mob spawn locations shown (light level < %d)", 24 | "msg.spawnshidden": "Mob spawn locations hidden", 25 | "msg.biomesearching": "Marking biome %s", 26 | "msg.biomepatternbad": "'%s' ist not a valid search pattern", 27 | "grid.config.colorblock": "Block color", 28 | "grid.config.tt.colorblock": "The color that square /grid blocks markers will be shown in", 29 | "grid.config.colorline": "Line color", 30 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 31 | "grid.config.colorcircle": "Circle color", 32 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 33 | "grid.config.colorspawnnight": "Night spawn color", 34 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 35 | "grid.config.colorspawnday": "Everytime spawn color", 36 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 37 | "grid.config.colorbiome": "Biome marker color", 38 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 39 | "grid.config.usecache": "Use biome / spawn cache", 40 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 41 | "grid.settings.x": "X distance", 42 | "grid.settings.z": "Z distance", 43 | "grid.settings.y": "Y level (-1 to float)", 44 | "grid.settings.distance": "Distance to show overlay", 45 | "grid.settings.lightlevel": "Lightlevel to show spawns", 46 | "grid.settings.isblocks": "Show blocks?", 47 | "grid.settings.showgrid": "Show grid?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Show spawn blocks?", 50 | "grid.settings.showbiomes": "Biome search string", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Circles", 53 | "grid.displaymode.hex": "Hexes" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/es_cl.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Grid", 3 | "key.grid.showhide": "Show/Hide Grid", 4 | "key.grid.here": "Align Grid around player", 5 | "key.grid.fixy": "Fix Grid height to player", 6 | "key.grid.spawns": "Show/Hide spawn blocks", 7 | "key.grid.settings": "Change ingame settings", 8 | "msg.gridshown": "Grid shown.", 9 | "msg.gridhidden": "Grid hidden.", 10 | "msg.gridlines": "Grid showing lines.", 11 | "msg.gridblocks": "Grid showing blocks.", 12 | "msg.gridcircles": "Grid showing circles.", 13 | "msg.gridnomorecircles": "Grid hiding circles.", 14 | "msg.gridaligned": "Grid centered around player.", 15 | "msg.gridheightfixed": "Grid fixed to height %.1f.", 16 | "msg.gridheightfloat": "Grid height floating.", 17 | "msg.gridchunks": "Grid showing chunk borders.", 18 | "msg.gridpattern": "Grid set to %d X blocks, %d Z blocks.", 19 | "msg.gridcoordspositive": "Grid coordinates must be > 0!", 20 | "msg.griddistance": "Grid distance is now %d blocks.", 21 | "msg.griddistusage": "Grid distance is %d blocks.", 22 | "msg.badnumber": "Parameters not recognized as integers.", 23 | "msg.spawnsshown": "Mob spawn locations shown (light level < %d)", 24 | "msg.spawnshidden": "Mob spawn locations hidden", 25 | "msg.biomesearching": "Marking biome %s", 26 | "msg.biomepatternbad": "'%s' ist not a valid search pattern", 27 | "grid.config.colorblock": "Block color", 28 | "grid.config.tt.colorblock": "The color that square /grid blocks markers will be shown in", 29 | "grid.config.colorline": "Line color", 30 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 31 | "grid.config.colorcircle": "Circle color", 32 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 33 | "grid.config.colorspawnnight": "Night spawn color", 34 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 35 | "grid.config.colorspawnday": "Everytime spawn color", 36 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 37 | "grid.config.colorbiome": "Biome marker color", 38 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 39 | "grid.config.usecache": "Use biome / spawn cache", 40 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 41 | "grid.settings.x": "X distance", 42 | "grid.settings.z": "Z distance", 43 | "grid.settings.y": "Y level (-1 to float)", 44 | "grid.settings.distance": "Distance to show overlay", 45 | "grid.settings.lightlevel": "Lightlevel to show spawns", 46 | "grid.settings.isblocks": "Show blocks?", 47 | "grid.settings.showgrid": "Show grid?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Show spawn blocks?", 50 | "grid.settings.showbiomes": "Biome search string", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Circles", 53 | "grid.displaymode.hex": "Hexes" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/es_ec.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Grid", 3 | "key.grid.showhide": "Show/Hide Grid", 4 | "key.grid.here": "Align Grid around player", 5 | "key.grid.fixy": "Fix Grid height to player", 6 | "key.grid.spawns": "Show/Hide spawn blocks", 7 | "key.grid.settings": "Change ingame settings", 8 | "msg.gridshown": "Grid shown.", 9 | "msg.gridhidden": "Grid hidden.", 10 | "msg.gridlines": "Grid showing lines.", 11 | "msg.gridblocks": "Grid showing blocks.", 12 | "msg.gridcircles": "Grid showing circles.", 13 | "msg.gridnomorecircles": "Grid hiding circles.", 14 | "msg.gridaligned": "Grid centered around player.", 15 | "msg.gridheightfixed": "Grid fixed to height %.1f.", 16 | "msg.gridheightfloat": "Grid height floating.", 17 | "msg.gridchunks": "Grid showing chunk borders.", 18 | "msg.gridpattern": "Grid set to %d X blocks, %d Z blocks.", 19 | "msg.gridcoordspositive": "Grid coordinates must be > 0!", 20 | "msg.griddistance": "Grid distance is now %d blocks.", 21 | "msg.griddistusage": "Grid distance is %d blocks.", 22 | "msg.badnumber": "Parameters not recognized as integers.", 23 | "msg.spawnsshown": "Mob spawn locations shown (light level < %d)", 24 | "msg.spawnshidden": "Mob spawn locations hidden", 25 | "msg.biomesearching": "Marking biome %s", 26 | "msg.biomepatternbad": "'%s' ist not a valid search pattern", 27 | "grid.config.colorblock": "Block color", 28 | "grid.config.tt.colorblock": "The color that square /grid blocks markers will be shown in", 29 | "grid.config.colorline": "Line color", 30 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 31 | "grid.config.colorcircle": "Circle color", 32 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 33 | "grid.config.colorspawnnight": "Night spawn color", 34 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 35 | "grid.config.colorspawnday": "Everytime spawn color", 36 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 37 | "grid.config.colorbiome": "Biome marker color", 38 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 39 | "grid.config.usecache": "Use biome / spawn cache", 40 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 41 | "grid.settings.x": "X distance", 42 | "grid.settings.z": "Z distance", 43 | "grid.settings.y": "Y level (-1 to float)", 44 | "grid.settings.distance": "Distance to show overlay", 45 | "grid.settings.lightlevel": "Lightlevel to show spawns", 46 | "grid.settings.isblocks": "Show blocks?", 47 | "grid.settings.showgrid": "Show grid?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Show spawn blocks?", 50 | "grid.settings.showbiomes": "Biome search string", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Circles", 53 | "grid.displaymode.hex": "Hexes" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/es_es.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Grid", 3 | "key.grid.showhide": "Show/Hide Grid", 4 | "key.grid.here": "Align Grid around player", 5 | "key.grid.fixy": "Fix Grid height to player", 6 | "key.grid.spawns": "Show/Hide spawn blocks", 7 | "key.grid.settings": "Change ingame settings", 8 | "msg.gridshown": "Grid shown.", 9 | "msg.gridhidden": "Grid hidden.", 10 | "msg.gridlines": "Grid showing lines.", 11 | "msg.gridblocks": "Grid showing blocks.", 12 | "msg.gridcircles": "Grid showing circles.", 13 | "msg.gridnomorecircles": "Grid hiding circles.", 14 | "msg.gridaligned": "Grid centered around player.", 15 | "msg.gridheightfixed": "Grid fixed to height %.1f.", 16 | "msg.gridheightfloat": "Grid height floating.", 17 | "msg.gridchunks": "Grid showing chunk borders.", 18 | "msg.gridpattern": "Grid set to %d X blocks, %d Z blocks.", 19 | "msg.gridcoordspositive": "Grid coordinates must be > 0!", 20 | "msg.griddistance": "Grid distance is now %d blocks.", 21 | "msg.griddistusage": "Grid distance is %d blocks.", 22 | "msg.badnumber": "Parameters not recognized as integers.", 23 | "msg.spawnsshown": "Mob spawn locations shown (light level < %d)", 24 | "msg.spawnshidden": "Mob spawn locations hidden", 25 | "msg.biomesearching": "Marking biome %s", 26 | "msg.biomepatternbad": "'%s' ist not a valid search pattern", 27 | "grid.config.colorblock": "Block color", 28 | "grid.config.tt.colorblock": "The color that square /grid blocks markers will be shown in", 29 | "grid.config.colorline": "Line color", 30 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 31 | "grid.config.colorcircle": "Circle color", 32 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 33 | "grid.config.colorspawnnight": "Night spawn color", 34 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 35 | "grid.config.colorspawnday": "Everytime spawn color", 36 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 37 | "grid.config.colorbiome": "Biome marker color", 38 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 39 | "grid.config.usecache": "Use biome / spawn cache", 40 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 41 | "grid.settings.x": "X distance", 42 | "grid.settings.z": "Z distance", 43 | "grid.settings.y": "Y level (-1 to float)", 44 | "grid.settings.distance": "Distance to show overlay", 45 | "grid.settings.lightlevel": "Lightlevel to show spawns", 46 | "grid.settings.isblocks": "Show blocks?", 47 | "grid.settings.showgrid": "Show grid?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Show spawn blocks?", 50 | "grid.settings.showbiomes": "Biome search string", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Circles", 53 | "grid.displaymode.hex": "Hexes" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/es_mx.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Grid", 3 | "key.grid.showhide": "Show/Hide Grid", 4 | "key.grid.here": "Align Grid around player", 5 | "key.grid.fixy": "Fix Grid height to player", 6 | "key.grid.spawns": "Show/Hide spawn blocks", 7 | "key.grid.settings": "Change ingame settings", 8 | "msg.gridshown": "Grid shown.", 9 | "msg.gridhidden": "Grid hidden.", 10 | "msg.gridlines": "Grid showing lines.", 11 | "msg.gridblocks": "Grid showing blocks.", 12 | "msg.gridcircles": "Grid showing circles.", 13 | "msg.gridnomorecircles": "Grid hiding circles.", 14 | "msg.gridaligned": "Grid centered around player.", 15 | "msg.gridheightfixed": "Grid fixed to height %.1f.", 16 | "msg.gridheightfloat": "Grid height floating.", 17 | "msg.gridchunks": "Grid showing chunk borders.", 18 | "msg.gridpattern": "Grid set to %d X blocks, %d Z blocks.", 19 | "msg.gridcoordspositive": "Grid coordinates must be > 0!", 20 | "msg.griddistance": "Grid distance is now %d blocks.", 21 | "msg.griddistusage": "Grid distance is %d blocks.", 22 | "msg.badnumber": "Parameters not recognized as integers.", 23 | "msg.spawnsshown": "Mob spawn locations shown (light level < %d)", 24 | "msg.spawnshidden": "Mob spawn locations hidden", 25 | "msg.biomesearching": "Marking biome %s", 26 | "msg.biomepatternbad": "'%s' ist not a valid search pattern", 27 | "grid.config.colorblock": "Block color", 28 | "grid.config.tt.colorblock": "The color that square /grid blocks markers will be shown in", 29 | "grid.config.colorline": "Line color", 30 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 31 | "grid.config.colorcircle": "Circle color", 32 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 33 | "grid.config.colorspawnnight": "Night spawn color", 34 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 35 | "grid.config.colorspawnday": "Everytime spawn color", 36 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 37 | "grid.config.colorbiome": "Biome marker color", 38 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 39 | "grid.config.usecache": "Use biome / spawn cache", 40 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 41 | "grid.settings.x": "X distance", 42 | "grid.settings.z": "Z distance", 43 | "grid.settings.y": "Y level (-1 to float)", 44 | "grid.settings.distance": "Distance to show overlay", 45 | "grid.settings.lightlevel": "Lightlevel to show spawns", 46 | "grid.settings.isblocks": "Show blocks?", 47 | "grid.settings.showgrid": "Show grid?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Show spawn blocks?", 50 | "grid.settings.showbiomes": "Biome search string", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Circles", 53 | "grid.displaymode.hex": "Hexes" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/es_uy.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Grid", 3 | "key.grid.showhide": "Show/Hide Grid", 4 | "key.grid.here": "Align Grid around player", 5 | "key.grid.fixy": "Fix Grid height to player", 6 | "key.grid.spawns": "Show/Hide spawn blocks", 7 | "key.grid.settings": "Change ingame settings", 8 | "msg.gridshown": "Grid shown.", 9 | "msg.gridhidden": "Grid hidden.", 10 | "msg.gridlines": "Grid showing lines.", 11 | "msg.gridblocks": "Grid showing blocks.", 12 | "msg.gridcircles": "Grid showing circles.", 13 | "msg.gridnomorecircles": "Grid hiding circles.", 14 | "msg.gridaligned": "Grid centered around player.", 15 | "msg.gridheightfixed": "Grid fixed to height %.1f.", 16 | "msg.gridheightfloat": "Grid height floating.", 17 | "msg.gridchunks": "Grid showing chunk borders.", 18 | "msg.gridpattern": "Grid set to %d X blocks, %d Z blocks.", 19 | "msg.gridcoordspositive": "Grid coordinates must be > 0!", 20 | "msg.griddistance": "Grid distance is now %d blocks.", 21 | "msg.griddistusage": "Grid distance is %d blocks.", 22 | "msg.badnumber": "Parameters not recognized as integers.", 23 | "msg.spawnsshown": "Mob spawn locations shown (light level < %d)", 24 | "msg.spawnshidden": "Mob spawn locations hidden", 25 | "msg.biomesearching": "Marking biome %s", 26 | "msg.biomepatternbad": "'%s' ist not a valid search pattern", 27 | "grid.config.colorblock": "Block color", 28 | "grid.config.tt.colorblock": "The color that square /grid blocks markers will be shown in", 29 | "grid.config.colorline": "Line color", 30 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 31 | "grid.config.colorcircle": "Circle color", 32 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 33 | "grid.config.colorspawnnight": "Night spawn color", 34 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 35 | "grid.config.colorspawnday": "Everytime spawn color", 36 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 37 | "grid.config.colorbiome": "Biome marker color", 38 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 39 | "grid.config.usecache": "Use biome / spawn cache", 40 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 41 | "grid.settings.x": "X distance", 42 | "grid.settings.z": "Z distance", 43 | "grid.settings.y": "Y level (-1 to float)", 44 | "grid.settings.distance": "Distance to show overlay", 45 | "grid.settings.lightlevel": "Lightlevel to show spawns", 46 | "grid.settings.isblocks": "Show blocks?", 47 | "grid.settings.showgrid": "Show grid?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Show spawn blocks?", 50 | "grid.settings.showbiomes": "Biome search string", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Circles", 53 | "grid.displaymode.hex": "Hexes" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/es_ve.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Grid", 3 | "key.grid.showhide": "Show/Hide Grid", 4 | "key.grid.here": "Align Grid around player", 5 | "key.grid.fixy": "Fix Grid height to player", 6 | "key.grid.spawns": "Show/Hide spawn blocks", 7 | "key.grid.settings": "Change ingame settings", 8 | "msg.gridshown": "Grid shown.", 9 | "msg.gridhidden": "Grid hidden.", 10 | "msg.gridlines": "Grid showing lines.", 11 | "msg.gridblocks": "Grid showing blocks.", 12 | "msg.gridcircles": "Grid showing circles.", 13 | "msg.gridnomorecircles": "Grid hiding circles.", 14 | "msg.gridaligned": "Grid centered around player.", 15 | "msg.gridheightfixed": "Grid fixed to height %.1f.", 16 | "msg.gridheightfloat": "Grid height floating.", 17 | "msg.gridchunks": "Grid showing chunk borders.", 18 | "msg.gridpattern": "Grid set to %d X blocks, %d Z blocks.", 19 | "msg.gridcoordspositive": "Grid coordinates must be > 0!", 20 | "msg.griddistance": "Grid distance is now %d blocks.", 21 | "msg.griddistusage": "Grid distance is %d blocks.", 22 | "msg.badnumber": "Parameters not recognized as integers.", 23 | "msg.spawnsshown": "Mob spawn locations shown (light level < %d)", 24 | "msg.spawnshidden": "Mob spawn locations hidden", 25 | "msg.biomesearching": "Marking biome %s", 26 | "msg.biomepatternbad": "'%s' ist not a valid search pattern", 27 | "grid.config.colorblock": "Block color", 28 | "grid.config.tt.colorblock": "The color that square /grid blocks markers will be shown in", 29 | "grid.config.colorline": "Line color", 30 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 31 | "grid.config.colorcircle": "Circle color", 32 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 33 | "grid.config.colorspawnnight": "Night spawn color", 34 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 35 | "grid.config.colorspawnday": "Everytime spawn color", 36 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 37 | "grid.config.colorbiome": "Biome marker color", 38 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 39 | "grid.config.usecache": "Use biome / spawn cache", 40 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 41 | "grid.settings.x": "X distance", 42 | "grid.settings.z": "Z distance", 43 | "grid.settings.y": "Y level (-1 to float)", 44 | "grid.settings.distance": "Distance to show overlay", 45 | "grid.settings.lightlevel": "Lightlevel to show spawns", 46 | "grid.settings.isblocks": "Show blocks?", 47 | "grid.settings.showgrid": "Show grid?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Show spawn blocks?", 50 | "grid.settings.showbiomes": "Biome search string", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Circles", 53 | "grid.displaymode.hex": "Hexes" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/fi_fi.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Grid", 3 | "key.grid.showhide": "Show/Hide Grid", 4 | "key.grid.here": "Align Grid around player", 5 | "key.grid.fixy": "Fix Grid height to player", 6 | "key.grid.spawns": "Show/Hide spawn blocks", 7 | "key.grid.settings": "Change ingame settings", 8 | "msg.gridshown": "Grid shown.", 9 | "msg.gridhidden": "Grid hidden.", 10 | "msg.gridlines": "Grid showing lines.", 11 | "msg.gridblocks": "Grid showing blocks.", 12 | "msg.gridcircles": "Grid showing circles.", 13 | "msg.gridnomorecircles": "Grid hiding circles.", 14 | "msg.gridaligned": "Grid centered around player.", 15 | "msg.gridheightfixed": "Grid fixed to height %.1f.", 16 | "msg.gridheightfloat": "Grid height floating.", 17 | "msg.gridchunks": "Grid showing chunk borders.", 18 | "msg.gridpattern": "Grid set to %d X blocks, %d Z blocks.", 19 | "msg.gridcoordspositive": "Grid coordinates must be > 0!", 20 | "msg.griddistance": "Grid distance is now %d blocks.", 21 | "msg.griddistusage": "Grid distance is %d blocks.", 22 | "msg.badnumber": "Parameters not recognized as integers.", 23 | "msg.spawnsshown": "Mob spawn locations shown (light level < %d)", 24 | "msg.spawnshidden": "Mob spawn locations hidden", 25 | "msg.biomesearching": "Marking biome %s", 26 | "msg.biomepatternbad": "'%s' ist not a valid search pattern", 27 | "grid.config.colorblock": "Block color", 28 | "grid.config.tt.colorblock": "The color that square /grid blocks markers will be shown in", 29 | "grid.config.colorline": "Line color", 30 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 31 | "grid.config.colorcircle": "Circle color", 32 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 33 | "grid.config.colorspawnnight": "Night spawn color", 34 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 35 | "grid.config.colorspawnday": "Everytime spawn color", 36 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 37 | "grid.config.colorbiome": "Biome marker color", 38 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 39 | "grid.config.usecache": "Use biome / spawn cache", 40 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 41 | "grid.settings.x": "X distance", 42 | "grid.settings.z": "Z distance", 43 | "grid.settings.y": "Y level (-1 to float)", 44 | "grid.settings.distance": "Distance to show overlay", 45 | "grid.settings.lightlevel": "Lightlevel to show spawns", 46 | "grid.settings.isblocks": "Show blocks?", 47 | "grid.settings.showgrid": "Show grid?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Show spawn blocks?", 50 | "grid.settings.showbiomes": "Biome search string", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Circles", 53 | "grid.displaymode.hex": "Hexes" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/fr_fr.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Grille", 3 | "key.grid.showhide": "Afficher/Masquer la grille", 4 | "key.grid.here": "Aligner la grille autour du joueur", 5 | "key.grid.fixy": "Aligner la hauteur de la grille au joueur", 6 | "key.grid.spawns": "Afficher/Masquer les blocs d'apparition", 7 | "key.grid.settings": "Change ingame settings", 8 | "msg.gridshown": "Grille affichée.", 9 | "msg.gridhidden": "Grille cachée.", 10 | "msg.gridlines": "Grille affichant les lignes.", 11 | "msg.gridblocks": "Grille affichant les blocs.", 12 | "msg.gridcircles": "Grille affichant les cercles.", 13 | "msg.gridnomorecircles": "Cercles cachés de la Grille.", 14 | "msg.gridaligned": "Grille centrée sur le joueur.", 15 | "msg.gridheightfixed": "Grille fixée à la hauteur %.1f.", 16 | "msg.gridheightfloat": "Hauteur de la Grille variante.", 17 | "msg.gridchunks": "Grille affichant les bordures des chunks.", 18 | "msg.gridpattern": "Grille définie à %d blocs X, %d blocs Z.", 19 | "msg.gridcoordspositive": "Les coordonnées de Grille doivent être > 0 !", 20 | "msg.griddistance": "La distance de la Grille est maintenant de %d blocs.", 21 | "msg.griddistusage": "La distance de la Grille est de %d blocs.", 22 | "msg.badnumber": "Paramètres non reconnus comme entiers.", 23 | "msg.spawnsshown": "Emplacements d'apparition des créatures affichés (niveau de lumière < %d)", 24 | "msg.spawnshidden": "Emplacements d'apparition des créatures masqués", 25 | "msg.biomesearching": "Marquage du biome %s", 26 | "msg.biomepatternbad": "'%s' n'est pas un motif de recherche valide", 27 | "grid.config.colorblock": "Couleur du bloc", 28 | "grid.config.tt.colorblock": "La couleur dans laquelle les marqueur de blocs/grid seront affichées", 29 | "grid.config.colorline": "Couleur de la ligne", 30 | "grid.config.tt.colorline": "La couleur dans laquelle les marqueur d'hexagone /grid seront affichées", 31 | "grid.config.colorcircle": "Couleur du cercle", 32 | "grid.config.tt.colorcircle": "La couleur dans laquelle les cercles /grid seront affichés", 33 | "grid.config.colorspawnnight": "Couleur des blocs de spawn de nuit", 34 | "grid.config.tt.colorspawnnight": "La couleur dans laquelle les blocs d'apparition de nuits seront affichés", 35 | "grid.config.colorspawnday": "Couleur des blocs de spawn de jour", 36 | "grid.config.tt.colorspawnday": "La couleur dans laquelle les blocs de spawn de jour seront affichés", 37 | "grid.config.colorbiome": "Couleur des marqueurs de biome", 38 | "grid.config.tt.colorbiome": "La couleur dans laquelle les marqueurs de biomes seront affichés", 39 | "grid.config.usecache": "Utiliser le cache de biome / spawn", 40 | "grid.config.tt.usecache": "Mettez sur \"false\" pour voir les changements immédiatement, au détriment des Images Par Secondes (IPS).", 41 | "grid.settings.x": "Distance X", 42 | "grid.settings.z": "Distance Z", 43 | "grid.settings.y": "Niveau Y (-1 pour flotter)", 44 | "grid.settings.distance": "Distance à laquelle afficher la superposition", 45 | "grid.settings.lightlevel": "Niveau de lumière pour afficher les spawn", 46 | "grid.settings.isblocks": "Afficher les blocs ?", 47 | "grid.settings.showgrid": "Afficher la grille ?", 48 | "grid.settings.displaymode": "Type d'interface", 49 | "grid.settings.showspawn": "Afficher les blocs de spawn ?", 50 | "grid.settings.showbiomes": "Critères de recherche de biome", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Cercles", 53 | "grid.displaymode.hex": "Hexagones" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/it_it.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Grid", 3 | "key.grid.showhide": "Show/Hide Grid", 4 | "key.grid.here": "Align Grid around player", 5 | "key.grid.fixy": "Fix Grid height to player", 6 | "key.grid.spawns": "Show/Hide spawn blocks", 7 | "key.grid.settings": "Change ingame settings", 8 | "msg.gridshown": "Grid shown.", 9 | "msg.gridhidden": "Grid hidden.", 10 | "msg.gridlines": "Grid showing lines.", 11 | "msg.gridblocks": "Grid showing blocks.", 12 | "msg.gridcircles": "Grid showing circles.", 13 | "msg.gridnomorecircles": "Grid hiding circles.", 14 | "msg.gridaligned": "Grid centered around player.", 15 | "msg.gridheightfixed": "Grid fixed to height %.1f.", 16 | "msg.gridheightfloat": "Grid height floating.", 17 | "msg.gridchunks": "Grid showing chunk borders.", 18 | "msg.gridpattern": "Grid set to %d X blocks, %d Z blocks.", 19 | "msg.gridcoordspositive": "Grid coordinates must be > 0!", 20 | "msg.griddistance": "Grid distance is now %d blocks.", 21 | "msg.griddistusage": "Grid distance is %d blocks.", 22 | "msg.badnumber": "Parameters not recognized as integers.", 23 | "msg.spawnsshown": "Mob spawn locations shown (light level < %d)", 24 | "msg.spawnshidden": "Mob spawn locations hidden", 25 | "msg.biomesearching": "Marking biome %s", 26 | "msg.biomepatternbad": "'%s' ist not a valid search pattern", 27 | "grid.config.colorblock": "Block color", 28 | "grid.config.tt.colorblock": "The color that square /grid blocks markers will be shown in", 29 | "grid.config.colorline": "Line color", 30 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 31 | "grid.config.colorcircle": "Circle color", 32 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 33 | "grid.config.colorspawnnight": "Night spawn color", 34 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 35 | "grid.config.colorspawnday": "Everytime spawn color", 36 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 37 | "grid.config.colorbiome": "Biome marker color", 38 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 39 | "grid.config.usecache": "Use biome / spawn cache", 40 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 41 | "grid.settings.x": "X distance", 42 | "grid.settings.z": "Z distance", 43 | "grid.settings.y": "Y level (-1 to float)", 44 | "grid.settings.distance": "Distance to show overlay", 45 | "grid.settings.lightlevel": "Lightlevel to show spawns", 46 | "grid.settings.isblocks": "Show blocks?", 47 | "grid.settings.showgrid": "Show grid?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Show spawn blocks?", 50 | "grid.settings.showbiomes": "Biome search string", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Circles", 53 | "grid.displaymode.hex": "Hexes" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/ja_jp.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Grid", 3 | "key.grid.showhide": "Show/Hide Grid", 4 | "key.grid.here": "Align Grid around player", 5 | "key.grid.fixy": "Fix Grid height to player", 6 | "key.grid.spawns": "Show/Hide spawn blocks", 7 | "key.grid.settings": "Change ingame settings", 8 | "msg.gridshown": "Grid shown.", 9 | "msg.gridhidden": "Grid hidden.", 10 | "msg.gridlines": "Grid showing lines.", 11 | "msg.gridblocks": "Grid showing blocks.", 12 | "msg.gridcircles": "Grid showing circles.", 13 | "msg.gridnomorecircles": "Grid hiding circles.", 14 | "msg.gridaligned": "Grid centered around player.", 15 | "msg.gridheightfixed": "Grid fixed to height %.1f.", 16 | "msg.gridheightfloat": "Grid height floating.", 17 | "msg.gridchunks": "Grid showing chunk borders.", 18 | "msg.gridpattern": "Grid set to %d X blocks, %d Z blocks.", 19 | "msg.gridcoordspositive": "Grid coordinates must be > 0!", 20 | "msg.griddistance": "Grid distance is now %d blocks.", 21 | "msg.griddistusage": "Grid distance is %d blocks.", 22 | "msg.badnumber": "Parameters not recognized as integers.", 23 | "msg.spawnsshown": "Mob spawn locations shown (light level < %d)", 24 | "msg.spawnshidden": "Mob spawn locations hidden", 25 | "msg.biomesearching": "Marking biome %s", 26 | "msg.biomepatternbad": "'%s' ist not a valid search pattern", 27 | "grid.config.colorblock": "Block color", 28 | "grid.config.tt.colorblock": "The color that square /grid blocks markers will be shown in", 29 | "grid.config.colorline": "Line color", 30 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 31 | "grid.config.colorcircle": "Circle color", 32 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 33 | "grid.config.colorspawnnight": "Night spawn color", 34 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 35 | "grid.config.colorspawnday": "Everytime spawn color", 36 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 37 | "grid.config.colorbiome": "Biome marker color", 38 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 39 | "grid.config.usecache": "Use biome / spawn cache", 40 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 41 | "grid.settings.x": "X distance", 42 | "grid.settings.z": "Z distance", 43 | "grid.settings.y": "Y level (-1 to float)", 44 | "grid.settings.distance": "Distance to show overlay", 45 | "grid.settings.lightlevel": "Lightlevel to show spawns", 46 | "grid.settings.isblocks": "Show blocks?", 47 | "grid.settings.showgrid": "Show grid?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Show spawn blocks?", 50 | "grid.settings.showbiomes": "Biome search string", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Circles", 53 | "grid.displaymode.hex": "Hexes" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/ko_kr.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "격자", 3 | "key.grid.showhide": "격자 표시/숨기기", 4 | "key.grid.here": "플레이어 주위에 격자 정렬", 5 | "key.grid.fixy": "플레이어에 격자 높이 수정", 6 | "key.grid.spawns": "스폰 블록 표시/숨기기", 7 | "key.grid.settings": "Change ingame settings", 8 | "msg.gridshown": "표시된 격자.", 9 | "msg.gridhidden": "숨긴 격자", 10 | "msg.gridlines": "선을 표시하는 격자.", 11 | "msg.gridblocks": "블록을 표시하는 격자.", 12 | "msg.gridcircles": "원을 보여주는 격자.", 13 | "msg.gridnomorecircles": "원을 숨기는 격자", 14 | "msg.gridaligned": "플레이어를 중심으로 격자.", 15 | "msg.gridheightfixed": "격자가 %.1f 높이에 고정됨.", 16 | "msg.gridheightfloat": "격자 높이 정지.", 17 | "msg.gridchunks": "청크 테두리를 표시하는 격자.", 18 | "msg.gridpattern": "격자가 %d X 블록, %d Z 블록으로 설정됨", 19 | "msg.gridcoordspositive": "격자 좌표는 0 이상이어야 한다!", 20 | "msg.griddistance": "격자 거리는 이제 %d 블록이다.", 21 | "msg.griddistusage": "격자 거리는 %d 블록이다.", 22 | "msg.badnumber": "정수로 인식되지 않는 매개 변수.", 23 | "msg.spawnsshown": "표시된 위치(조명 수준 < %d)", 24 | "msg.spawnshidden": "몹 스폰 숨겨진 위치", 25 | "msg.biomesearching": "바이옴 %s 표시", 26 | "msg.biomepatternbad": "'%s'는 올바른 검색 패턴이 아님", 27 | "grid.config.colorblock": "Block color", 28 | "grid.config.tt.colorblock": "The color that square /grid blocks markers will be shown in", 29 | "grid.config.colorline": "Line color", 30 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 31 | "grid.config.colorcircle": "Circle color", 32 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 33 | "grid.config.colorspawnnight": "Night spawn color", 34 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 35 | "grid.config.colorspawnday": "Everytime spawn color", 36 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 37 | "grid.config.colorbiome": "Biome marker color", 38 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 39 | "grid.config.usecache": "Use biome / spawn cache", 40 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 41 | "grid.settings.x": "X distance", 42 | "grid.settings.z": "Z distance", 43 | "grid.settings.y": "Y level (-1 to float)", 44 | "grid.settings.distance": "Distance to show overlay", 45 | "grid.settings.lightlevel": "Lightlevel to show spawns", 46 | "grid.settings.isblocks": "Show blocks?", 47 | "grid.settings.showgrid": "Show grid?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Show spawn blocks?", 50 | "grid.settings.showbiomes": "Biome search string", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Circles", 53 | "grid.displaymode.hex": "Hexes" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/nl_nl.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Raster", 3 | "key.grid.showhide": "Toon/Verberg Raster", 4 | "key.grid.here": "Raster uitlijnen rond speler", 5 | "key.grid.fixy": "Zet rasterhoogte vast op speler", 6 | "key.grid.spawns": "Toon/Verberg spawn blokken", 7 | "key.grid.settings": "Wijzig ingame instellingen", 8 | "msg.gridshown": "Raster weergegeven.", 9 | "msg.gridhidden": "Raster verborgen.", 10 | "msg.gridlines": "Raster lijnen worden getoond.", 11 | "msg.gridblocks": "Raster blokken worden getoond.", 12 | "msg.gridcircles": "Raster cirkels worden getoond.", 13 | "msg.gridnomorecircles": "Raster cirkels worden verborgen.", 14 | "msg.gridaligned": "Raster gecentreerd rond speler.", 15 | "msg.gridheightfixed": "Raster gefixeerd op hoogte %.1f.", 16 | "msg.gridheightfloat": "Rasterhoogte veranderlijk.", 17 | "msg.gridchunks": "Raster toont chunk grenzen.", 18 | "msg.gridpattern": "Raster ingesteld op %d X blokken, %d Z blokken.", 19 | "msg.gridcoordspositive": "Rastercoördinaten moeten > 0 zijn!", 20 | "msg.griddistance": "Rasterafstand is nu %d blokken.", 21 | "msg.griddistusage": "Rasterafstand is %d blokken.", 22 | "msg.badnumber": "Parameters niet herkend als gehele getallen.", 23 | "msg.spawnsshown": "Mob spawn locaties weergegeven (lichtniveau < %d)", 24 | "msg.spawnshidden": "Mob spawnlocaties verborgen", 25 | "msg.biomesearching": "Biome markeren %s", 26 | "msg.biomepatternbad": "'%s' is geen geldig zoekpatroon", 27 | "grid.config.colorblock": "Blok kleur", 28 | "grid.config.tt.colorblock": "De kleur waarin vierkante /grid blocks zullen worden weergegeven", 29 | "grid.config.colorline": "Lijnkleur", 30 | "grid.config.tt.colorline": "De kleur waarin /grid line lijnen en zeshoeken zullen worden weergegeven", 31 | "grid.config.colorcircle": "Cirkel kleur", 32 | "grid.config.tt.colorcircle": "De kleur waarin /grid circles zal worden weergegeven", 33 | "grid.config.colorspawnnight": "Nacht spawn kleur", 34 | "grid.config.tt.colorspawnnight": "De kleur waarin de nacht spawns zullen getoond worden", 35 | "grid.config.colorspawnday": "Altijd spawnend kleur", 36 | "grid.config.tt.colorspawnday": "De kleur waarin altijd spawnend getoond zal worden", 37 | "grid.config.colorbiome": "Biome aanduiding kleur", 38 | "grid.config.tt.colorbiome": "De kleur waarin biome aanduidingen zullen getoond worden", 39 | "grid.config.usecache": "Gebruik biome / spawn cache", 40 | "grid.config.tt.usecache": "Stel dit in op false om wijzigingen onmiddelijk te zien, ten koste van fps.", 41 | "grid.settings.x": "X afstand", 42 | "grid.settings.z": "Z afstand", 43 | "grid.settings.y": "Y hoogte (-1 voor veranderlijk)", 44 | "grid.settings.distance": "Afstand om overlay te tonen", 45 | "grid.settings.lightlevel": "Lichtniveau om spawns weer te geven", 46 | "grid.settings.isblocks": "Toon blokken?", 47 | "grid.settings.showgrid": "Toon raster?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Toon spawn blokken?", 50 | "grid.settings.showbiomes": "Biome zoekterm", 51 | "grid.displaymode.rectangle": "Rechthoeken", 52 | "grid.displaymode.circle": "Cirkels", 53 | "grid.displaymode.hex": "Zeshoeken" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/no_no.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Grid", 3 | "key.grid.showhide": "Show/Hide Grid", 4 | "key.grid.here": "Align Grid around player", 5 | "key.grid.fixy": "Fix Grid height to player", 6 | "key.grid.spawns": "Show/Hide spawn blocks", 7 | "key.grid.settings": "Change ingame settings", 8 | "msg.gridshown": "Grid shown.", 9 | "msg.gridhidden": "Grid hidden.", 10 | "msg.gridlines": "Grid showing lines.", 11 | "msg.gridblocks": "Grid showing blocks.", 12 | "msg.gridcircles": "Grid showing circles.", 13 | "msg.gridnomorecircles": "Grid hiding circles.", 14 | "msg.gridaligned": "Grid centered around player.", 15 | "msg.gridheightfixed": "Grid fixed to height %.1f.", 16 | "msg.gridheightfloat": "Grid height floating.", 17 | "msg.gridchunks": "Grid showing chunk borders.", 18 | "msg.gridpattern": "Grid set to %d X blocks, %d Z blocks.", 19 | "msg.gridcoordspositive": "Grid coordinates must be > 0!", 20 | "msg.griddistance": "Grid distance is now %d blocks.", 21 | "msg.griddistusage": "Grid distance is %d blocks.", 22 | "msg.badnumber": "Parameters not recognized as integers.", 23 | "msg.spawnsshown": "Mob spawn locations shown (light level < %d)", 24 | "msg.spawnshidden": "Mob spawn locations hidden", 25 | "msg.biomesearching": "Marking biome %s", 26 | "msg.biomepatternbad": "'%s' ist not a valid search pattern", 27 | "grid.config.colorblock": "Block color", 28 | "grid.config.tt.colorblock": "The color that square /grid blocks markers will be shown in", 29 | "grid.config.colorline": "Line color", 30 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 31 | "grid.config.colorcircle": "Circle color", 32 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 33 | "grid.config.colorspawnnight": "Night spawn color", 34 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 35 | "grid.config.colorspawnday": "Everytime spawn color", 36 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 37 | "grid.config.colorbiome": "Biome marker color", 38 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 39 | "grid.config.usecache": "Use biome / spawn cache", 40 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 41 | "grid.settings.x": "X distance", 42 | "grid.settings.z": "Z distance", 43 | "grid.settings.y": "Y level (-1 to float)", 44 | "grid.settings.distance": "Distance to show overlay", 45 | "grid.settings.lightlevel": "Lightlevel to show spawns", 46 | "grid.settings.isblocks": "Show blocks?", 47 | "grid.settings.showgrid": "Show grid?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Show spawn blocks?", 50 | "grid.settings.showbiomes": "Biome search string", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Circles", 53 | "grid.displaymode.hex": "Hexes" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/pl_pl.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Grid", 3 | "key.grid.showhide": "Show/Hide Grid", 4 | "key.grid.here": "Align Grid around player", 5 | "key.grid.fixy": "Fix Grid height to player", 6 | "key.grid.spawns": "Show/Hide spawn blocks", 7 | "key.grid.settings": "Change ingame settings", 8 | "msg.gridshown": "Grid shown.", 9 | "msg.gridhidden": "Grid hidden.", 10 | "msg.gridlines": "Grid showing lines.", 11 | "msg.gridblocks": "Grid showing blocks.", 12 | "msg.gridcircles": "Grid showing circles.", 13 | "msg.gridnomorecircles": "Grid hiding circles.", 14 | "msg.gridaligned": "Grid centered around player.", 15 | "msg.gridheightfixed": "Grid fixed to height %.1f.", 16 | "msg.gridheightfloat": "Grid height floating.", 17 | "msg.gridchunks": "Grid showing chunk borders.", 18 | "msg.gridpattern": "Grid set to %d X blocks, %d Z blocks.", 19 | "msg.gridcoordspositive": "Grid coordinates must be > 0!", 20 | "msg.griddistance": "Grid distance is now %d blocks.", 21 | "msg.griddistusage": "Grid distance is %d blocks.", 22 | "msg.badnumber": "Parameters not recognized as integers.", 23 | "msg.spawnsshown": "Mob spawn locations shown (light level < %d)", 24 | "msg.spawnshidden": "Mob spawn locations hidden", 25 | "msg.biomesearching": "Marking biome %s", 26 | "msg.biomepatternbad": "'%s' ist not a valid search pattern", 27 | "grid.config.colorblock": "Block color", 28 | "grid.config.tt.colorblock": "The color that square /grid blocks markers will be shown in", 29 | "grid.config.colorline": "Line color", 30 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 31 | "grid.config.colorcircle": "Circle color", 32 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 33 | "grid.config.colorspawnnight": "Night spawn color", 34 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 35 | "grid.config.colorspawnday": "Everytime spawn color", 36 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 37 | "grid.config.colorbiome": "Biome marker color", 38 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 39 | "grid.config.usecache": "Use biome / spawn cache", 40 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 41 | "grid.settings.x": "X distance", 42 | "grid.settings.z": "Z distance", 43 | "grid.settings.y": "Y level (-1 to float)", 44 | "grid.settings.distance": "Distance to show overlay", 45 | "grid.settings.lightlevel": "Lightlevel to show spawns", 46 | "grid.settings.isblocks": "Show blocks?", 47 | "grid.settings.showgrid": "Show grid?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Show spawn blocks?", 50 | "grid.settings.showbiomes": "Biome search string", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Circles", 53 | "grid.displaymode.hex": "Hexes" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/pt_br.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Grade", 3 | "key.grid.showhide": "Exibir/Ocultar grade", 4 | "key.grid.here": "Alinhar grade em volta do jogador", 5 | "key.grid.fixy": "Fixar grade na altura do jogador", 6 | "key.grid.spawns": "Exibir/Ocultar blocos do spawn", 7 | "key.grid.settings": "Change ingame settings", 8 | "msg.gridshown": "Grade exibida.", 9 | "msg.gridhidden": "Grade ocultada.", 10 | "msg.gridlines": "Grade exibindo linhas.", 11 | "msg.gridblocks": "Grade exibindo blocos.", 12 | "msg.gridcircles": "Grade exibindo círculos.", 13 | "msg.gridnomorecircles": "Grade ocultando círculos.", 14 | "msg.gridaligned": "Grade centralizada ao redor do jogador.", 15 | "msg.gridheightfixed": "Grade fixada na altura %.1f.", 16 | "msg.gridheightfloat": "Grade com altura flutuante.", 17 | "msg.gridchunks": "Grade exibindo bordas do chunk.", 18 | "msg.gridpattern": "Grade definida para %d X blocos, %d Z blocos.", 19 | "msg.gridcoordspositive": "As coordenadas da grade devem ser > 0!", 20 | "msg.griddistance": "A distância da grade agora é de %d blocos.", 21 | "msg.griddistusage": "A distância da grade é de %d blocos.", 22 | "msg.badnumber": "Parâmetros não reconhecidos como números inteiros.", 23 | "msg.spawnsshown": "Locais de spawn de monstros exibidos (Nível de luz < %d)", 24 | "msg.spawnshidden": "Locais de spawn de monstros ocultados", 25 | "msg.biomesearching": "Marcação do bioma %s", 26 | "msg.biomepatternbad": "'%s' não é um padrão de busca válido", 27 | "grid.config.colorblock": "Block color", 28 | "grid.config.tt.colorblock": "The color that square /grid blocks markers will be shown in", 29 | "grid.config.colorline": "Line color", 30 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 31 | "grid.config.colorcircle": "Circle color", 32 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 33 | "grid.config.colorspawnnight": "Night spawn color", 34 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 35 | "grid.config.colorspawnday": "Everytime spawn color", 36 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 37 | "grid.config.colorbiome": "Biome marker color", 38 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 39 | "grid.config.usecache": "Use biome / spawn cache", 40 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 41 | "grid.settings.x": "X distance", 42 | "grid.settings.z": "Z distance", 43 | "grid.settings.y": "Y level (-1 to float)", 44 | "grid.settings.distance": "Distance to show overlay", 45 | "grid.settings.lightlevel": "Lightlevel to show spawns", 46 | "grid.settings.isblocks": "Show blocks?", 47 | "grid.settings.showgrid": "Show grid?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Show spawn blocks?", 50 | "grid.settings.showbiomes": "Biome search string", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Circles", 53 | "grid.displaymode.hex": "Hexes" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/pt_pt.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Grade", 3 | "key.grid.showhide": "Exibir/Ocultar grade", 4 | "key.grid.here": "Alinhar grade em volta do jogador", 5 | "key.grid.fixy": "Fixar grade na altura do jogador", 6 | "key.grid.spawns": "Exibir/Ocultar blocos do spawn", 7 | "key.grid.settings": "Change ingame settings", 8 | "msg.gridshown": "Grade exibida.", 9 | "msg.gridhidden": "Grade ocultada.", 10 | "msg.gridlines": "Grade exibindo linhas.", 11 | "msg.gridblocks": "Grade exibindo blocos.", 12 | "msg.gridcircles": "Grade exibindo círculos.", 13 | "msg.gridnomorecircles": "Grade ocultando círculos.", 14 | "msg.gridaligned": "Grade centralizada ao redor do jogador.", 15 | "msg.gridheightfixed": "Grade fixada na altura %.1f.", 16 | "msg.gridheightfloat": "Grade com altura flutuante.", 17 | "msg.gridchunks": "Grade exibindo bordas do chunk.", 18 | "msg.gridpattern": "Grade definida para %d X blocos, %d Z blocos.", 19 | "msg.gridcoordspositive": "As coordenadas da grade devem ser > 0!", 20 | "msg.griddistance": "A distância da grade agora é de %d blocos.", 21 | "msg.griddistusage": "A distância da grade é de %d blocos.", 22 | "msg.badnumber": "Parâmetros não reconhecidos como números inteiros.", 23 | "msg.spawnsshown": "Locais de spawn de monstros exibidos (Nível de luz < %d)", 24 | "msg.spawnshidden": "Locais de spawn de monstros ocultados", 25 | "msg.biomesearching": "Marcação do bioma %s", 26 | "msg.biomepatternbad": "'%s' não é um padrão de busca válido", 27 | "grid.config.colorblock": "Block color", 28 | "grid.config.tt.colorblock": "The color that square /grid blocks markers will be shown in", 29 | "grid.config.colorline": "Line color", 30 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 31 | "grid.config.colorcircle": "Circle color", 32 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 33 | "grid.config.colorspawnnight": "Night spawn color", 34 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 35 | "grid.config.colorspawnday": "Everytime spawn color", 36 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 37 | "grid.config.colorbiome": "Biome marker color", 38 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 39 | "grid.config.usecache": "Use biome / spawn cache", 40 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 41 | "grid.settings.x": "X distance", 42 | "grid.settings.z": "Z distance", 43 | "grid.settings.y": "Y level (-1 to float)", 44 | "grid.settings.distance": "Distance to show overlay", 45 | "grid.settings.lightlevel": "Lightlevel to show spawns", 46 | "grid.settings.isblocks": "Show blocks?", 47 | "grid.settings.showgrid": "Show grid?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Show spawn blocks?", 50 | "grid.settings.showbiomes": "Biome search string", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Circles", 53 | "grid.displaymode.hex": "Hexes" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/ro_ro.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Grid", 3 | "key.grid.showhide": "Show/Hide Grid", 4 | "key.grid.here": "Align Grid around player", 5 | "key.grid.fixy": "Fix Grid height to player", 6 | "key.grid.spawns": "Show/Hide spawn blocks", 7 | "key.grid.settings": "Change ingame settings", 8 | "msg.gridshown": "Grid shown.", 9 | "msg.gridhidden": "Grid hidden.", 10 | "msg.gridlines": "Grid showing lines.", 11 | "msg.gridblocks": "Grid showing blocks.", 12 | "msg.gridcircles": "Grid showing circles.", 13 | "msg.gridnomorecircles": "Grid hiding circles.", 14 | "msg.gridaligned": "Grid centered around player.", 15 | "msg.gridheightfixed": "Grid fixed to height %.1f.", 16 | "msg.gridheightfloat": "Grid height floating.", 17 | "msg.gridchunks": "Grid showing chunk borders.", 18 | "msg.gridpattern": "Grid set to %d X blocks, %d Z blocks.", 19 | "msg.gridcoordspositive": "Grid coordinates must be > 0!", 20 | "msg.griddistance": "Grid distance is now %d blocks.", 21 | "msg.griddistusage": "Grid distance is %d blocks.", 22 | "msg.badnumber": "Parameters not recognized as integers.", 23 | "msg.spawnsshown": "Mob spawn locations shown (light level < %d)", 24 | "msg.spawnshidden": "Mob spawn locations hidden", 25 | "msg.biomesearching": "Marking biome %s", 26 | "msg.biomepatternbad": "'%s' ist not a valid search pattern", 27 | "grid.config.colorblock": "Block color", 28 | "grid.config.tt.colorblock": "The color that square /grid blocks markers will be shown in", 29 | "grid.config.colorline": "Line color", 30 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 31 | "grid.config.colorcircle": "Circle color", 32 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 33 | "grid.config.colorspawnnight": "Night spawn color", 34 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 35 | "grid.config.colorspawnday": "Everytime spawn color", 36 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 37 | "grid.config.colorbiome": "Biome marker color", 38 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 39 | "grid.config.usecache": "Use biome / spawn cache", 40 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 41 | "grid.settings.x": "X distance", 42 | "grid.settings.z": "Z distance", 43 | "grid.settings.y": "Y level (-1 to float)", 44 | "grid.settings.distance": "Distance to show overlay", 45 | "grid.settings.lightlevel": "Lightlevel to show spawns", 46 | "grid.settings.isblocks": "Show blocks?", 47 | "grid.settings.showgrid": "Show grid?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Show spawn blocks?", 50 | "grid.settings.showbiomes": "Biome search string", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Circles", 53 | "grid.displaymode.hex": "Hexes" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/ru_ru.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Сетка", 3 | "key.grid.showhide": "Показать/Скрыть сетку", 4 | "key.grid.here": "Выровнять сетку вокруг игрока", 5 | "key.grid.fixy": "Исправить высоту сетки для игрока", 6 | "key.grid.spawns": "Показать/Скрыть блоки спавна", 7 | "key.grid.settings": "Изменение настроек в игре", 8 | "msg.gridshown": "Сетка показывается.", 9 | "msg.gridhidden": "Сетка скрыта.", 10 | "msg.gridlines": "Сетка показывает линии.", 11 | "msg.gridblocks": "Сетка показывает блоки.", 12 | "msg.gridcircles": "Сетка показывает круги.", 13 | "msg.gridnomorecircles": "Сетка скрывает круги.", 14 | "msg.gridaligned": "Сетка централизованна на игроке.", 15 | "msg.gridheightfixed": "Сетка закреплена на высоте %.1f.", 16 | "msg.gridheightfloat": "Плавающая высота сетки.", 17 | "msg.gridchunks": "Сетка показывает границы чанков.", 18 | "msg.gridpattern": "Сетка установлена на %d X блоков, %d Z блоков.", 19 | "msg.gridcoordspositive": "Координаты сетки должны быть > 0!", 20 | "msg.griddistance": "Дистанция сетки сейчас %d блоков.", 21 | "msg.griddistusage": "Дистанция сетки %d блоков.", 22 | "msg.badnumber": "Параметры не распознаются как целые числа.", 23 | "msg.spawnsshown": "Показаны места появления мобов (уровень света < %d)", 24 | "msg.spawnshidden": "Места появления мобов скрыты", 25 | "msg.biomesearching": "Обозначать биомы как %s", 26 | "msg.biomepatternbad": "'%s' не является допустимым шаблоном для поиска", 27 | "grid.config.colorblock": "Цвет блока", 28 | "grid.config.tt.colorblock": "Цвет квадрата /grid блоков будет показан в", 29 | "grid.config.colorline": "Цвет линии", 30 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 31 | "grid.config.colorcircle": "Цвет круга", 32 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 33 | "grid.config.colorspawnnight": "Night spawn color", 34 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 35 | "grid.config.colorspawnday": "Everytime spawn color", 36 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 37 | "grid.config.colorbiome": "Цвет маркера биома", 38 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 39 | "grid.config.usecache": "Use biome / spawn cache", 40 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 41 | "grid.settings.x": "X distance", 42 | "grid.settings.z": "Z distance", 43 | "grid.settings.y": "Y level (-1 to float)", 44 | "grid.settings.distance": "Distance to show overlay", 45 | "grid.settings.lightlevel": "Lightlevel to show spawns", 46 | "grid.settings.isblocks": "Show blocks?", 47 | "grid.settings.showgrid": "Show grid?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Show spawn blocks?", 50 | "grid.settings.showbiomes": "Biome search string", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Circles", 53 | "grid.displaymode.hex": "Hexes" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/sr_sp.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Grid", 3 | "key.grid.showhide": "Show/Hide Grid", 4 | "key.grid.here": "Align Grid around player", 5 | "key.grid.fixy": "Fix Grid height to player", 6 | "key.grid.spawns": "Show/Hide spawn blocks", 7 | "key.grid.settings": "Change ingame settings", 8 | "msg.gridshown": "Grid shown.", 9 | "msg.gridhidden": "Grid hidden.", 10 | "msg.gridlines": "Grid showing lines.", 11 | "msg.gridblocks": "Grid showing blocks.", 12 | "msg.gridcircles": "Grid showing circles.", 13 | "msg.gridnomorecircles": "Grid hiding circles.", 14 | "msg.gridaligned": "Grid centered around player.", 15 | "msg.gridheightfixed": "Grid fixed to height %.1f.", 16 | "msg.gridheightfloat": "Grid height floating.", 17 | "msg.gridchunks": "Grid showing chunk borders.", 18 | "msg.gridpattern": "Grid set to %d X blocks, %d Z blocks.", 19 | "msg.gridcoordspositive": "Grid coordinates must be > 0!", 20 | "msg.griddistance": "Grid distance is now %d blocks.", 21 | "msg.griddistusage": "Grid distance is %d blocks.", 22 | "msg.badnumber": "Parameters not recognized as integers.", 23 | "msg.spawnsshown": "Mob spawn locations shown (light level < %d)", 24 | "msg.spawnshidden": "Mob spawn locations hidden", 25 | "msg.biomesearching": "Marking biome %s", 26 | "msg.biomepatternbad": "'%s' ist not a valid search pattern", 27 | "grid.config.colorblock": "Block color", 28 | "grid.config.tt.colorblock": "The color that square /grid blocks markers will be shown in", 29 | "grid.config.colorline": "Line color", 30 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 31 | "grid.config.colorcircle": "Circle color", 32 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 33 | "grid.config.colorspawnnight": "Night spawn color", 34 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 35 | "grid.config.colorspawnday": "Everytime spawn color", 36 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 37 | "grid.config.colorbiome": "Biome marker color", 38 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 39 | "grid.config.usecache": "Use biome / spawn cache", 40 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 41 | "grid.settings.x": "X distance", 42 | "grid.settings.z": "Z distance", 43 | "grid.settings.y": "Y level (-1 to float)", 44 | "grid.settings.distance": "Distance to show overlay", 45 | "grid.settings.lightlevel": "Lightlevel to show spawns", 46 | "grid.settings.isblocks": "Show blocks?", 47 | "grid.settings.showgrid": "Show grid?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Show spawn blocks?", 50 | "grid.settings.showbiomes": "Biome search string", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Circles", 53 | "grid.displaymode.hex": "Hexes" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/sv_se.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Grid", 3 | "key.grid.showhide": "Show/Hide Grid", 4 | "key.grid.here": "Align Grid around player", 5 | "key.grid.fixy": "Fix Grid height to player", 6 | "key.grid.spawns": "Show/Hide spawn blocks", 7 | "key.grid.settings": "Change ingame settings", 8 | "msg.gridshown": "Grid shown.", 9 | "msg.gridhidden": "Grid hidden.", 10 | "msg.gridlines": "Grid showing lines.", 11 | "msg.gridblocks": "Grid showing blocks.", 12 | "msg.gridcircles": "Grid showing circles.", 13 | "msg.gridnomorecircles": "Grid hiding circles.", 14 | "msg.gridaligned": "Grid centered around player.", 15 | "msg.gridheightfixed": "Grid fixed to height %.1f.", 16 | "msg.gridheightfloat": "Grid height floating.", 17 | "msg.gridchunks": "Grid showing chunk borders.", 18 | "msg.gridpattern": "Grid set to %d X blocks, %d Z blocks.", 19 | "msg.gridcoordspositive": "Grid coordinates must be > 0!", 20 | "msg.griddistance": "Grid distance is now %d blocks.", 21 | "msg.griddistusage": "Grid distance is %d blocks.", 22 | "msg.badnumber": "Parameters not recognized as integers.", 23 | "msg.spawnsshown": "Mob spawn locations shown (light level < %d)", 24 | "msg.spawnshidden": "Mob spawn locations hidden", 25 | "msg.biomesearching": "Marking biome %s", 26 | "msg.biomepatternbad": "'%s' ist not a valid search pattern", 27 | "grid.config.colorblock": "Block color", 28 | "grid.config.tt.colorblock": "The color that square /grid blocks markers will be shown in", 29 | "grid.config.colorline": "Line color", 30 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 31 | "grid.config.colorcircle": "Circle color", 32 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 33 | "grid.config.colorspawnnight": "Night spawn color", 34 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 35 | "grid.config.colorspawnday": "Everytime spawn color", 36 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 37 | "grid.config.colorbiome": "Biome marker color", 38 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 39 | "grid.config.usecache": "Use biome / spawn cache", 40 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 41 | "grid.settings.x": "X distance", 42 | "grid.settings.z": "Z distance", 43 | "grid.settings.y": "Y level (-1 to float)", 44 | "grid.settings.distance": "Distance to show overlay", 45 | "grid.settings.lightlevel": "Lightlevel to show spawns", 46 | "grid.settings.isblocks": "Show blocks?", 47 | "grid.settings.showgrid": "Show grid?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Show spawn blocks?", 50 | "grid.settings.showbiomes": "Biome search string", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Circles", 53 | "grid.displaymode.hex": "Hexes" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/tr_tr.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Grid (Izgara)", 3 | "key.grid.showhide": "Izgarayı göster/gizle", 4 | "key.grid.here": "Izgarayı oyuncunun yerine hizala", 5 | "key.grid.fixy": "Izgara yüksekliğini oyuncuya sabitle", 6 | "key.grid.spawns": "Doğma bloklarını göster/gizle", 7 | "key.grid.settings": "Oyun içi ayarları değiştir", 8 | "msg.gridshown": "Grid (Izgara) gösterildi.", 9 | "msg.gridhidden": "Grid (Izgara) gizlendi.", 10 | "msg.gridlines": "Grid, çizgileri gösteriyor.", 11 | "msg.gridblocks": "Grid, blokları gösteriyor.", 12 | "msg.gridcircles": "Grid, daireleri gösteriyor.", 13 | "msg.gridnomorecircles": "Grid, daireleri gizliyor.", 14 | "msg.gridaligned": "Grid (Izgara) oyuncunun yerine hizalandı.", 15 | "msg.gridheightfixed": "Grid (Izgara) %.1f yüksekliğine sabitlendi.", 16 | "msg.gridheightfloat": "Grid (Izgara) yüksekliği oyuncuya sabitlendi.", 17 | "msg.gridchunks": "Grid, chunk sınırlarını gösteriyor.", 18 | "msg.gridpattern": "Grid (Izgara) %d X bloğa %d Z blok olarak ayarlandı.", 19 | "msg.gridcoordspositive": "Grid (Izgara) koordinatları 0'dan büyük olmalı!", 20 | "msg.griddistance": "Grid (Izgara) uzaklığı artık %d blok.", 21 | "msg.griddistusage": "Grid (Izgara) uzaklığı şu an %d blok.", 22 | "msg.badnumber": "Parametreler tam sayı olarak algılanmadı.", 23 | "msg.spawnsshown": "Mob doğum yerleri gösterildi (ışık derecesi < %d)", 24 | "msg.spawnshidden": "Mob doğum yerleri gizlendi", 25 | "msg.biomesearching": "%s biyomu işaretlendi", 26 | "msg.biomepatternbad": "'%s' geçersiz bir arama terimi.", 27 | "grid.config.colorblock": "Blok rengi", 28 | "grid.config.tt.colorblock": "Kare blok olan /grid blocks işaretlerinin gözükeceği renk", 29 | "grid.config.colorline": "Çizgi rengi", 30 | "grid.config.tt.colorline": "Çizgi ve altıgen olan /grid line işaretlerinin gözükeceği renk", 31 | "grid.config.colorcircle": "Daire rengi", 32 | "grid.config.tt.colorcircle": "Daire olan /grid circles işaretlerinin gözükeceği renk", 33 | "grid.config.colorspawnnight": "Gece doğma rengi", 34 | "grid.config.tt.colorspawnnight": "Geceleyin doğma yerlerinin gösterileceği renk", 35 | "grid.config.colorspawnday": "Herzamanki doğma rengi", 36 | "grid.config.tt.colorspawnday": "Her zaman olacak doğma yerlerindeki renk", 37 | "grid.config.colorbiome": "Biyom işaret rengi", 38 | "grid.config.tt.colorbiome": "Biyom işaretlerinin görüneceği renk", 39 | "grid.config.usecache": "Biyom ve Doğma Yeri Önbelleğini Kullan", 40 | "grid.config.tt.usecache": "Kare sayısında azalma yaşadığınız müddet derhal bu ayarı false/Hayır olarak ayarlayın.", 41 | "grid.settings.x": "X menzili", 42 | "grid.settings.z": "Z menzili", 43 | "grid.settings.y": "Y seviyesi (float için -1)", 44 | "grid.settings.distance": "Arayüzü göstermek için menzil", 45 | "grid.settings.lightlevel": "Doğum yerlerini görmek için ışık derecesi", 46 | "grid.settings.isblocks": "Blokları göster?", 47 | "grid.settings.showgrid": "Izgarayı göster?", 48 | "grid.settings.displaymode": "Arayüz türü", 49 | "grid.settings.showspawn": "Doğum bloklarını göster?", 50 | "grid.settings.showbiomes": "Biyom arama dizgesi", 51 | "grid.displaymode.rectangle": "Kareler", 52 | "grid.displaymode.circle": "Daireler", 53 | "grid.displaymode.hex": "Altıgenler" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/zh_cn.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "网格 §9(Grid)", 3 | "key.grid.showhide": "显示 / 隐藏网格", 4 | "key.grid.here": "以玩家为中心对齐网格", 5 | "key.grid.fixy": "网格固定在当前高度", 6 | "key.grid.spawns": "显示 / 隐藏刷怪提示", 7 | "key.grid.settings": "Change ingame settings", 8 | "msg.gridshown": "网格已显示。", 9 | "msg.gridhidden": "网格已隐藏。", 10 | "msg.gridlines": "网格正以直线显示。", 11 | "msg.gridblocks": "网格正以格点显示。", 12 | "msg.gridcircles": "网格正以圆形显示。", 13 | "msg.gridnomorecircles": "圆形网格已隐藏。", 14 | "msg.gridaligned": "网格已就玩家为中心对齐。", 15 | "msg.gridheightfixed": "网格已固定在当前高度: %.1f。", 16 | "msg.gridheightfloat": "网格高度现已跟随玩家浮动。", 17 | "msg.gridchunks": "网格正在显示区块边界。", 18 | "msg.gridpattern": "网格单位边长已设定为 X 轴 %d 格, Z 轴 %d 格。", 19 | "msg.gridcoordspositive": "网格边长必须大于 0!", 20 | "msg.griddistance": "网格视距已设置为 %d 格。", 21 | "msg.griddistusage": "网格视距为 %d 格。", 22 | "msg.badnumber": "参数未设定为整数。", 23 | "msg.spawnsshown": "已显示刷怪提示 (光照等级 < %d)", 24 | "msg.spawnshidden": "已隐藏刷怪提示", 25 | "msg.biomesearching": "正在标记 %s 生物群系", 26 | "msg.biomepatternbad": "'%s' 不是一个有效的搜索样式", 27 | "grid.config.colorblock": "Block color", 28 | "grid.config.tt.colorblock": "The color that square /grid blocks markers will be shown in", 29 | "grid.config.colorline": "Line color", 30 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 31 | "grid.config.colorcircle": "Circle color", 32 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 33 | "grid.config.colorspawnnight": "Night spawn color", 34 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 35 | "grid.config.colorspawnday": "Everytime spawn color", 36 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 37 | "grid.config.colorbiome": "Biome marker color", 38 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 39 | "grid.config.usecache": "Use biome / spawn cache", 40 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 41 | "grid.settings.x": "X distance", 42 | "grid.settings.z": "Z distance", 43 | "grid.settings.y": "Y level (-1 to float)", 44 | "grid.settings.distance": "Distance to show overlay", 45 | "grid.settings.lightlevel": "Lightlevel to show spawns", 46 | "grid.settings.isblocks": "Show blocks?", 47 | "grid.settings.showgrid": "Show grid?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Show spawn blocks?", 50 | "grid.settings.showbiomes": "Biome search string", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Circles", 53 | "grid.displaymode.hex": "Hexes" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/assets/grid/lang/zh_tw.json: -------------------------------------------------------------------------------- 1 | { 2 | "key.categories.grid": "Grid", 3 | "key.grid.showhide": "Show/Hide Grid", 4 | "key.grid.here": "Align Grid around player", 5 | "key.grid.fixy": "Fix Grid height to player", 6 | "key.grid.spawns": "Show/Hide spawn blocks", 7 | "key.grid.settings": "Change ingame settings", 8 | "msg.gridshown": "Grid shown.", 9 | "msg.gridhidden": "Grid hidden.", 10 | "msg.gridlines": "Grid showing lines.", 11 | "msg.gridblocks": "Grid showing blocks.", 12 | "msg.gridcircles": "Grid showing circles.", 13 | "msg.gridnomorecircles": "Grid hiding circles.", 14 | "msg.gridaligned": "Grid centered around player.", 15 | "msg.gridheightfixed": "Grid fixed to height %.1f.", 16 | "msg.gridheightfloat": "Grid height floating.", 17 | "msg.gridchunks": "Grid showing chunk borders.", 18 | "msg.gridpattern": "Grid set to %d X blocks, %d Z blocks.", 19 | "msg.gridcoordspositive": "Grid coordinates must be > 0!", 20 | "msg.griddistance": "Grid distance is now %d blocks.", 21 | "msg.griddistusage": "Grid distance is %d blocks.", 22 | "msg.badnumber": "Parameters not recognized as integers.", 23 | "msg.spawnsshown": "Mob spawn locations shown (light level < %d)", 24 | "msg.spawnshidden": "Mob spawn locations hidden", 25 | "msg.biomesearching": "Marking biome %s", 26 | "msg.biomepatternbad": "'%s' ist not a valid search pattern", 27 | "grid.config.colorblock": "Block color", 28 | "grid.config.tt.colorblock": "The color that square /grid blocks markers will be shown in", 29 | "grid.config.colorline": "Line color", 30 | "grid.config.tt.colorline": "The color that /grid line lines and hexes will be shown in", 31 | "grid.config.colorcircle": "Circle color", 32 | "grid.config.tt.colorcircle": "The color that /grid circles will be shown in", 33 | "grid.config.colorspawnnight": "Night spawn color", 34 | "grid.config.tt.colorspawnnight": "The color that night spawns will be shown in", 35 | "grid.config.colorspawnday": "Everytime spawn color", 36 | "grid.config.tt.colorspawnday": "The color that everytime spawns will be shown in", 37 | "grid.config.colorbiome": "Biome marker color", 38 | "grid.config.tt.colorbiome": "The color that biome markers will be shown in", 39 | "grid.config.usecache": "Use biome / spawn cache", 40 | "grid.config.tt.usecache": "Set this to false to see changes immediately, at the expense of frame rate.", 41 | "grid.settings.x": "X distance", 42 | "grid.settings.z": "Z distance", 43 | "grid.settings.y": "Y level (-1 to float)", 44 | "grid.settings.distance": "Distance to show overlay", 45 | "grid.settings.lightlevel": "Lightlevel to show spawns", 46 | "grid.settings.isblocks": "Show blocks?", 47 | "grid.settings.showgrid": "Show grid?", 48 | "grid.settings.displaymode": "Overlay type", 49 | "grid.settings.showspawn": "Show spawn blocks?", 50 | "grid.settings.showbiomes": "Biome search string", 51 | "grid.displaymode.rectangle": "Rectangles", 52 | "grid.displaymode.circle": "Circles", 53 | "grid.displaymode.hex": "Hexes" 54 | } 55 | -------------------------------------------------------------------------------- /src/main/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "id": "grid", 4 | "version": "${version}", 5 | "environment": "client", 6 | "entrypoints": { 7 | "client": [ "de.guntram.mcmod.grid.Grid" ], 8 | "cotton-client-commands": ["de.guntram.mcmod.grid.Grid"], 9 | "modmenu": [ "de.guntram.mcmod.grid.MMConfigurationHandler" ] 10 | }, 11 | "custom": { 12 | "modupdater": { 13 | "strategy": "json", 14 | "url": "https://raw.githubusercontent.com/gbl/ModVersionInfo/master/Grid.json" 15 | } 16 | }, 17 | "mixins": [ 18 | "mixins.grid.json" 19 | ], 20 | "depends": { 21 | "fabric": "*" 22 | }, 23 | "recommends": { 24 | "modmenu" : "*", 25 | "modupdater": ">=1.1.7" 26 | }, 27 | "name": "Grid", 28 | "description": "Markers to help with counting blocks, building circles, and showing possible mob spawn locations", 29 | "icon": "icon.png", 30 | "authors": [ "Giselbaer" ], 31 | "contact": { 32 | "homepage": "https://www.curseforge.com/minecraft/mc-mods/grid", 33 | "sources": "https://github.com/gbl/Grid", 34 | "issues": "https://github.com/gbl/Grid/issues" 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/resources/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbl/Grid/ced193ea2f5308973ed41411bd1586c9205df01b/src/main/resources/icon.png -------------------------------------------------------------------------------- /src/main/resources/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbl/Grid/ced193ea2f5308973ed41411bd1586c9205df01b/src/main/resources/logo.png -------------------------------------------------------------------------------- /src/main/resources/mixins.grid.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": true, 3 | "package": "de.guntram.mcmod.grid.mixin", 4 | "refmap": "Grid-refmap.json", 5 | "minVersion": "0.6", 6 | "client": [ 7 | "MixinWorldRenderer" 8 | ], 9 | "injectors": { 10 | "defaultRequire": 1 11 | } 12 | } 13 | --------------------------------------------------------------------------------