10fb88df4b
While the current implementation of reference handling in this class was the correct way to go (only handling texture names starting with # as references), the game is happy to accept references without a leading hashtag, since it just chops it off and continues on the same code path regardless. This commit makes the reference handling in BlueMap align with this behaviour, potentially allowing "broken" models to render as they do in game. This method works for reference resolving, since if a string passed into the texture field contains a ':' then it must be a namespaced key, and if it contains a '/' it has to be a resource key, because the 'minecraft' namespace is implied in these cases. The other way around, if someone were to pass in a string like 'oak_planks', it is safe to assume it is a reference, since the implied resource key would be 'minecraft:oak_planks', but textures aren't at the root level in that namespace. |
||
---|---|---|
.github | ||
BlueMapAPI@6cad751ac5 | ||
BlueMapCommon | ||
BlueMapCore | ||
gradle/wrapper | ||
implementations | ||
.dockerignore | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
build.gradle.kts | ||
Dockerfile | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
HEADER | ||
jitpack.yml | ||
LICENSE | ||
README.md | ||
settings.gradle.kts |
create 3D-maps of your Minecraft worlds and display them in your browser
>> DEMO MAP <<
What is BlueMap
BlueMap is a program that reads your Minecraft world files and generates not only a map, but also 3D-models of the whole surface. With the web-app you then can look at those in your browser and basically view the world as if you were ingame! Or just look at it from far away to get an overview.
BlueMap comes as a Spigot/Paper or Sponge Plugin, as a Fabric or Forge-Mod and you can also use BlueMap without any Server from the Command-Line as a standalone tool.
If installed as a Plugin/Mod, BlueMap renders asynchronously to your MinecraftServer-Thread. This means at no time it will block your server-thread directly. So as long as your CPU is not fully utilized, your server should not be slowed down while BlueMap is rendering.
Using BlueMap
You can download BlueMap from here.
Read the installation instructions to get started!
Here you can see how many servers are using BlueMap:
Development
Clone
If you have git installed, simply use the command git clone --recursive https://github.com/BlueMap-Minecraft/BlueMap.git
to clone BlueMap.
Build
In order to build BlueMap you simply need to run the ./gradlew clean build
command in BlueMap's root directory.
You can find the compiled JAR files in ./build/release
.
Issues
You found a bug, have another issue?
First, make sure it's not on your end, if you are unsure you can always ask about it in our Discord.
If you are sure it's a bug on BlueMap's end, please create an issue here!
Contributing
You are welcome to contribute! Just create a pull request with your changes :)
If you want to have your changes merged, make sure they are complete, documented and well tested!
Keep in mind that we have to maintain all new features and keep supporting them in the future. This means we always can decide to not accept a PR for any reason.
Links
TODO-List: https://github.com/orgs/BlueMap-Minecraft/projects/2
Wiki: https://bluecolo.red/map-wiki
Discord: https://bluecolo.red/map-discord
Reddit: https://www.reddit.com/r/BlueMap
Special thanks to JetBrains for giving out an OpenSource-Licence for BlueMap development!