bluemap-minecraft / bluemap Goto Github PK
View Code? Open in Web Editor NEWA Minecraft mapping tool that creates 3D models of your Minecraft worlds and displays them in a web viewer.
Home Page: https://bluecolo.red/bluemap
License: MIT License
A Minecraft mapping tool that creates 3D models of your Minecraft worlds and displays them in a web viewer.
Home Page: https://bluecolo.red/bluemap
License: MIT License
Hey, I am getting this error on the load of the sponge plugin:
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:658) ~[?:1.8.0_162]
at de.bluecolored.bluemap.core.resourcepack.BlockModelResource$Builder.getTexture(BlockModelResource.java:431) ~[BlockModelResource$Builder.class:?]
at de.bluecolored.bluemap.core.resourcepack.BlockModelResource$Builder.getTexture(BlockModelResource.java:434) ~[BlockModelResource$Builder.class:?]
at de.bluecolored.bluemap.core.resourcepack.BlockModelResource$Builder.buildNoReset(BlockModelResource.java:306) ~[BlockModelResource$Builder.class:?]
at de.bluecolored.bluemap.core.resourcepack.BlockModelResource$Builder.buildNoReset(BlockModelResource.java:287) ~[BlockModelResource$Builder.class:?]
at de.bluecolored.bluemap.core.resourcepack.BlockModelResource$Builder.buildNoReset(BlockModelResource.java:287) ~[BlockModelResource$Builder.class:?]
at de.bluecolored.bluemap.core.resourcepack.BlockModelResource$Builder.build(BlockModelResource.java:258) ~[BlockModelResource$Builder.class:?]
at de.bluecolored.bluemap.core.resourcepack.BlockStateResource$Builder.loadModel(BlockStateResource.java:255) ~[BlockStateResource$Builder.class:?]
at de.bluecolored.bluemap.core.resourcepack.BlockStateResource$Builder.loadModels(BlockStateResource.java:235) ~[BlockStateResource$Builder.class:?]
at de.bluecolored.bluemap.core.resourcepack.BlockStateResource$Builder.buildForge(BlockStateResource.java:401) ~[BlockStateResource$Builder.class:?]
at de.bluecolored.bluemap.core.resourcepack.BlockStateResource$Builder.build(BlockStateResource.java:171) ~[BlockStateResource$Builder.class:?]
at de.bluecolored.bluemap.core.resourcepack.ResourcePack.load(ResourcePack.java:160) ~[ResourcePack.class:?]
at de.bluecolored.bluemap.core.resourcepack.ResourcePack.load(ResourcePack.java:123) ~[ResourcePack.class:?]
at de.bluecolored.bluemap.common.plugin.Plugin.load(Plugin.java:165) ~[Plugin.class:?]
at de.bluecolored.bluemap.sponge.SpongePlugin.lambda$onServerStart$0(SpongePlugin.java:100) ~[SpongePlugin.class:?]
at org.spongepowered.api.scheduler.Task$Builder.lambda$execute$0(Task.java:139) ~[Task$Builder.class:1.12.2-2838-7.2.1]
at org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(SchedulerBase.java:197) ~[SchedulerBase.class:1.12.2-2838-7.2.1]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_162]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_162]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_162]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_162]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_162]
Any idea what is causing it?
Currently there is no way in forge to know when a new chunk is generated.
So map-generation can't be triggered by this event.
Once the site has loaded, it's very hard to edit or copy the address bar.
On load, check the map's id's if they follow this char-pattern: [a-zA-Z0-9_]
because other id's might lead to unexpected behaviour.
If the viewport in any way changes shape after the page has loaded, the map becomes distorted.
Hello!
First of all I would like to say thank you for creating such an awesome map!
I'm using Magma (Its a Paper and Forge hybrid).
The issue I'm having is that Magma does not generate a folder for each world, it just has a single world folder.
I noticed this when stopping the server, not sure if it might be useful:
[18:58:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'world'/overworld
[18:58:35] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'DIM-1'/the_nether
[18:58:35] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'DIM1'/the_end`
I should also mention that I have your plugin/mod in the plugins folder on the server and not in the mods folder since it does not seem to be loaded when put in the mods folder.
This is the error I get when I have Bluemap in the plugins folder:
[19:06:32] [Craft Scheduler Thread - 3/INFO] [de.bluecolored.bluemap.bukkit.BukkitPlugin]: [BlueMap] Loading...
[19:06:37] [Craft Scheduler Thread - 3/ERROR] [de.bluecolored.bluemap.bukkit.BukkitPlugin]: [BlueMap] Failed to load map 'end': '/home/raven/Minecraft/world_the_end' does not exist or is no directory!
java.io.IOException: null
at de.bluecolored.bluemap.common.plugin.Plugin.load(Plugin.java:154) ~[?:?]
at de.bluecolored.bluemap.bukkit.BukkitPlugin.lambda$onEnable$0(BukkitPlugin.java:54) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:78) [CraftTask.class:81086e0]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [CraftAsyncTask.class:81086e0]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) [ServerSchedulerReportingWrapper.class:81086e0]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_242]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_242]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
[19:06:37] [Craft Scheduler Thread - 3/ERROR] [de.bluecolored.bluemap.bukkit.BukkitPlugin]: [BlueMap] Failed to load map 'nether': '/home/raven/Minecraft/world_nether' does not exist or is no directory!
java.io.IOException: null
at de.bluecolored.bluemap.common.plugin.Plugin.load(Plugin.java:154) ~[?:?]
at de.bluecolored.bluemap.bukkit.BukkitPlugin.lambda$onEnable$0(BukkitPlugin.java:54) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:78) [CraftTask.class:81086e0]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [CraftAsyncTask.class:81086e0]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) [ServerSchedulerReportingWrapper.class:81086e0]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_242]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_242]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
[19:06:37] [Thread-36/INFO] [de.bluecolored.bluemap.bukkit.BukkitPlugin]: [BlueMap] WebServer started.
This is the output I get in the debug log when I have Bluemap in the debug folder:
[19:31:40] [main/DEBUG] [FML]: Examining file: BlueMap-0.5.0-mc1.12.jar
[19:31:40] [main/DEBUG] [FML]: Adding BlueMap-0.5.0-mc1.12.jar to the mod list
[19:31:40] [main/DEBUG] [FML]: Not found coremod data in BlueMap-0.5.0-mc1.12.jar
[19:31:52] [Server thread/DEBUG] [FML]: Adding BlueMap-0.5.0-mc1.12.jar to the mod list
[19:31:52] [Server thread/DEBUG] [FML]: Found a candidate zip or jar file BlueMap-0.5.0-mc1.12.jar
[19:31:53] [Server thread/DEBUG] [FML]: Examining file BlueMap-0.5.0-mc1.12.jar for potential mods
[19:31:53] [Server thread/TRACE] [FML]: Located mcmod.info file in file BlueMap-0.5.0-mc1.12.jar
[19:31:56] [Server thread/INFO] [FML]: FML has found a non-mod file BlueMap-0.5.0-mc1.12.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.
Again thank you for creating Bluemap!
An ArithmeticException is sometimes triggered (on rendering the End) and results in an uncaughtException in the ThreadGroup.
java.lang.ArithmeticException: Cannot normalize the zero vector
at com.flowpowered.math.vector.Vector3f.normalize(Vector3f.java:294)
at de.bluecolored.bluemap.core.util.MathUtils.getSurfaceNormal(MathUtils.java:70)
at de.bluecolored.bluemap.core.model.Face.getFaceNormal(Face.java:205)
at de.bluecolored.bluemap.core.model.Face.<init>(Face.java:54)
at de.bluecolored.bluemap.core.model.ExtendedFace.<init>(ExtendedFace.java:45)
at de.bluecolored.bluemap.core.render.hires.blockmodel.ResourceModelBuilder.createElementFace(ResourceModelBuilder.java:192)
at de.bluecolored.bluemap.core.render.hires.blockmodel.ResourceModelBuilder.fromModelElementResource(ResourceModelBuilder.java:104)
at de.bluecolored.bluemap.core.render.hires.blockmodel.ResourceModelBuilder.build(ResourceModelBuilder.java:70)
at de.bluecolored.bluemap.core.render.hires.blockmodel.BlockStateModelFactory.createModel(BlockStateModelFactory.java:85)
at de.bluecolored.bluemap.core.render.hires.blockmodel.BlockStateModelFactory.createFrom(BlockStateModelFactory.java:61)
at de.bluecolored.bluemap.core.render.hires.blockmodel.BlockStateModelFactory.createFrom(BlockStateModelFactory.java:47)
at de.bluecolored.bluemap.core.render.hires.HiresModelRenderer.render(HiresModelRenderer.java:78)
at de.bluecolored.bluemap.core.render.hires.HiresModelManager.render(HiresModelManager.java:79)
at de.bluecolored.bluemap.core.render.TileRenderer.render(TileRenderer.java:52)
at de.bluecolored.bluemap.common.MapType.renderTile(MapType.java:72)
at de.bluecolored.bluemap.common.RenderTicket.render(RenderTicket.java:52)
at de.bluecolored.bluemap.common.RenderManager.renderThread(RenderManager.java:165)
at java.lang.Thread.run(Thread.java:748)
Add an additional config to render chunks without light-data.
Drawbacks:
Note to look into smooth-scrolling mouse behaviour on the web-app, check if everything works fine.
Everything loads up fine but the web server doesn't seem to load, I'm testing this on a VPS before adding it to my Dedicated Server array.
Add a Button to the web-app that clears the cache for all tiles, so unexperienced users can refresh their map effectively..
I'm unable to use the dropdown to change the currently selected world. Navigating to it by address works.
I guess it has something to do with checking the wrong variable here.
https://github.com/BlueMap-Minecraft/BlueMap/blob/master/BlueMapCore/src/main/webroot/js/libs/bluemap.js#L982
Ver: 0.7.0 for 1.14.4
I put in mod in resourcepack. But, Mod fail to load a model.
Is it because there is no json file?
[315월2020 13:06:31.735] [Thread-11/WARN] [BlueMap/]: Failed to load a model trying to parse assets/vehicle/blockstates/jack_head.json: de.bluecolored.bluemap.core.resourcepack.ParseResourceException: Failed to load model assets/vehicle/models/block/jack_head.json
[315월2020 13:06:31.735] [Thread-11/WARN] [BlueMap/]: Failed to parse a variant of assets/vehicle/blockstates/jack_head.json: de.bluecolored.bluemap.core.resourcepack.ParseResourceException: A variant must have at least one model!
[315월2020 13:06:31.925] [Thread-11/WARN] [BlueMap/]: Failed to load a model trying to parse assets/vehicle/blockstates/boost_pad.json: de.bluecolored.bluemap.core.resourcepack.ParseResourceException: Failed to load model assets/vehicle/models/boost_pad.json
[315월2020 13:06:31.926] [Thread-11/WARN] [BlueMap/]: Failed to parse a variant (forge/straight) of assets/vehicle/blockstates/boost_pad.json: de.bluecolored.bluemap.core.resourcepack.ParseResourceException: A variant must have at least one model!
[315월2020 13:06:33.080] [Thread-11/WARN] [BlueMap/]: Failed to load a model trying to parse assets/storagedrawers/blockstates/keybutton.json: de.bluecolored.bluemap.core.resourcepack.ParseResourceException: Failed to load model assets/storagedrawers/models/button/drawer_key_button.json
[315월2020 13:06:33.080] [Thread-11/WARN] [BlueMap/]: Failed to parse a variant of assets/storagedrawers/blockstates/keybutton.json: de.bluecolored.bluemap.core.resourcepack.ParseResourceException: A variant must have at least one model!
[315월2020 13:06:33.221] [Thread-11/WARN] [BlueMap/]: Failed to load a model trying to parse assets/storagedrawers/blockstates/keybutton.json: de.bluecolored.bluemap.core.resourcepack.ParseResourceException: Failed to load model assets/storagedrawers/models/button/drawer_key_button.json
[315월2020 13:06:33.222] [Thread-11/WARN] [BlueMap/]: Failed to parse a variant of assets/storagedrawers/blockstates/keybutton.json: de.bluecolored.bluemap.core.resourcepack.ParseResourceException: A variant must have at least one model!
This is a very, very good plug-in. If you can add the mark function for cmd / future fabric version, I will look forward to map update, because this will be a very good function.Thank you for bringing us such a good plugin.
Custom fluids from mods appears like pink squares on the map. Would be nice to have them rendered.
Problem seems to come from the "model":"forge:fluid" (see fluids.json below) which bluemap doesn't seem to find. That file is not in the model files from forge so I tried going around using the minecraft model for vanilla fluids (sand.json) and parsing the modified version with link to the different fluid textures of the mod into the model folder of the archive of the mod. Didn't work as well.
Hope you'll find a way ;)
Pollux
fluids.json :
{ "forge_marker": 1, "variants": { "sand": { "model": "forge:fluid", "custom": { "fluid": "sand" } }, "honey": { "model": "forge:fluid", "custom": { "fluid": "honey" } }, "blood": { "model": "forge:fluid", "custom": { "fluid": "blood" } }, "poison": { "model": "forge:fluid", "custom": { "fluid": "poison" } }, "hot_spring_water": { "model": "forge:fluid", "custom": { "fluid": "hot_spring_water" } } } }
sand.json :
{ "parent": "builtin/liquid", "textures": { "particle": "biomesoplenty:blocks/sand_still", "still": "biomesoplenty:blocks/sand_still", "flow": "biomesoplenty:blocks/sand_flowing" } }
sand.txt
fluids.txt
log
`[19:49:45] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Reloading BlueMap...
[19:49:45] [Thread-31/INFO] [bluemap]: WebServer closed.
[19:49:46] [pool-3-thread-205/ERROR] [bluemap]: Failed to read ResourcePack:
D:\Forge Sponge Server 1.12.2.\config\bluemap\resourcepacks\blockIds.json
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method) ~[?:1.8.0_231]
at java.util.zip.ZipFile.(Unknown Source) ~[?:1.8.0_231]
at java.util.zip.ZipFile.(Unknown Source) ~[?:1.8.0_231]
at java.util.zip.ZipFile.(Unknown Source) ~[?:1.8.0_231]
at de.bluecolored.bluemap.core.resourcepack.fileaccess.ZipFileAccess.(ZipFileAccess.java:43) ~[ZipFileAccess.class:?]
at de.bluecolored.bluemap.core.resourcepack.fileaccess.FileAccess.of(FileAccess.java:44) ~[FileAccess.class:?]
at de.bluecolored.bluemap.core.resourcepack.ResourcePack.load(ResourcePack.java:137) ~[ResourcePack.class:?]
at de.bluecolored.bluemap.core.resourcepack.ResourcePack.load(ResourcePack.java:122) ~[ResourcePack.class:?]
at de.bluecolored.bluemap.sponge.SpongePlugin.load(SpongePlugin.java:175) ~[SpongePlugin.class:?]
at de.bluecolored.bluemap.sponge.SpongePlugin.reload(SpongePlugin.java:356) ~[SpongePlugin.class:?]
at de.bluecolored.bluemap.sponge.Commands.lambda$null$2(Commands.java:118) ~[Commands.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_231]
at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_231]
at org.spongepowered.api.scheduler.Task$Builder.lambda$execute$0(Task.java:139) ~[Task$Builder.class:1.12.2-2838-7.1.7]
at org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(SchedulerBase.java:197) ~[SchedulerBase.class:1.12.2-2838-7.1.7]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_231]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_231]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_231]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_231]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_231]
[19:49:46] [pool-3-thread-205/ERROR] [bluemap]: Failed to read ResourcePack: D:\Forge Sponge Server 1.12.2.\config\bluemap\resourcepacks\blockProperties.json
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method) ~[?:1.8.0_231]
at java.util.zip.ZipFile.(Unknown Source) ~[?:1.8.0_231]
at java.util.zip.ZipFile.(Unknown Source) ~[?:1.8.0_231]
at java.util.zip.ZipFile.(Unknown Source) ~[?:1.8.0_231]
at de.bluecolored.bluemap.core.resourcepack.fileaccess.ZipFileAccess.(ZipFileAccess.java:43) ~[ZipFileAccess.class:?]
at de.bluecolored.bluemap.core.resourcepack.fileaccess.FileAccess.of(FileAccess.java:44) ~[FileAccess.class:?]
at de.bluecolored.bluemap.core.resourcepack.ResourcePack.load(ResourcePack.java:137) ~[ResourcePack.class:?]
at de.bluecolored.bluemap.core.resourcepack.ResourcePack.load(ResourcePack.java:122) ~[ResourcePack.class:?]
at de.bluecolored.bluemap.sponge.SpongePlugin.load(SpongePlugin.java:175) ~[SpongePlugin.class:?]
at de.bluecolored.bluemap.sponge.SpongePlugin.reload(SpongePlugin.java:356) ~[SpongePlugin.class:?]
at de.bluecolored.bluemap.sponge.Commands.lambda$null$2(Commands.java:118) ~[Commands.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_231]
at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_231]
at org.spongepowered.api.scheduler.Task$Builder.lambda$execute$0(Task.java:139) ~[Task$Builder.class:1.12.2-2838-7.1.7]
at org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(SchedulerBase.java:197) ~[SchedulerBase.class:1.12.2-2838-7.1.7]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_231]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_231]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_231]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_231]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_231]
[19:49:47] [pool-3-thread-205/INFO] [net.minecraft.server.dedicated.DedicatedServer]: BlueMap reloaded!
[19:49:47] [Thread-60/INFO] [bluemap]: WebServer started.`
I know there might be a problem because it is automatically generated, but it doesn't seem to open file.
https://pastebin.com/LbkDxepc <- blockids.json
Currently all models are always redownloaded each time they are needed. Would be great if the webserver could supply some information like ETags and configure some simple caching around it. That way the browser could use an old copy it already downloaded if the ETag matches.
Currently it looks like the CLI will rerender the whole world if it didn't finish previously, or something has changed. It would be great if it could instead detect what hasn't changed since the last render of a specific tile.
When I tried to connect to the mobile phone, certain movements that were only available with the mouse didn't work, and there was a big problem with it. Can mobile support be added?
Hi, this is just a quick question, have you looked at fabric api as an option for this mod? it seems like it's an up-and-coming alternative for mods/plugins like dynmap (I hope it's not against the rules to say that here lol) and so I thought it might be a cool option to allow it's use on a new and up-and-coming platform like fabric.
Anyways I know you're a busy guy probably, so it's understandable if not, but the Fabric community is always willing to help with ports and things. The architecture is pretty close to vanilla and it uses mixins for things so since you've worked with sponge, I bet it would be pretty simple to at least look into.
Thanks for considering!
Currently when you change maps, or open the website it drops you at 0,0. This works fine in some cases. In other cases it can drop the camera in a black void, with the nearest terrain a thousand blocks away or more. Dropping the camera at the world spawn would be a better solution.
(Not sure if you're taking rendering bugs yet, so here's an early one in case you do. I got more to report if you do take them.)
Big overhangs of blocks seem to cause some sort of artifact where it looks like the low res map is being rendered in some way even though it shouldn't be.
Here's an example.
There is not high terrain that could cause that lowres patch behind the tree, and it rotates as I rotate around the view.
The /bluemap reload
command is not working if there was an problem with the first time loading..
Currently we can only set the BlueMap not to render blocks above 90, for example. However, many servers have buildings above that height, or even above the bedrocks. So is it possible to have a feature which can make the Netherrack and Bedrock not rendered above a height, while keeping other blocks in sight?
Thanks a lot!
Icons of the buttons in the web-app are loading very late if the browser has not cached them yet.
So the buttons are sometimes blank for a long time.
I'm curious if you're planning on adding support for custom blocks AND those custom blocks using obj models?
Currently if you just pan around a bit on the map, you download both all the high res models, and the low res models. Would it maybe be an idea to only download the high res map if the user is sufficiently zoomed it. Doing this would save quite a bit of data.
We already know that it can be scaled down to smaller scales.
However, my server found it needed to be scaled down to see the map properly.
I wish there was a more powerful number (e.g. between 5000 and 8000) than the current 2000 (the number written in the plugin's address). (If applied directly to a link, it will not load all maps, only the size optimized for 2000)
(Sorry, Google Translate)
This map is a great alternative to Dynmap, but I'd like for there to be integration features.
Plugins which could be added:
After a server crash noticed this error on our logs it's not spammed or anything just submitting error
https://paste.ee/p/gdfsQ
tho this didn't cause the server crash
Fixed in 1.13+ chunk-loaders but not in 1.12, apparently this can happen in 1.12 as well:
[09:40:58] [Thread-47/ERROR] [bluemap]: Failed to render tile (1, -11) of map 'world'!
java.io.IOException: java.lang.ClassCastException: Cannot cast net.querz.nbt.IntArrayTag to net.querz.nbt.ByteArrayTag
at de.bluecolored.bluemap.core.mca.MCAWorld.getChunk(MCAWorld.java:213) ~[MCAWorld.class:?]
at de.bluecolored.bluemap.core.mca.MCAWorld.isChunkGenerated(MCAWorld.java:256) ~[MCAWorld.class:?]
at de.bluecolored.bluemap.core.world.World.isAreaGenerated(World.java:139) ~[World.class:?]
at de.bluecolored.bluemap.core.world.World.isAreaGenerated(World.java:128) ~[World.class:?]
at de.bluecolored.bluemap.core.world.World.isAreaGenerated(World.java:119) ~[World.class:?]
at de.bluecolored.bluemap.core.render.TileRenderer.render(TileRenderer.java:50) ~[TileRenderer.class:?]
at de.bluecolored.bluemap.common.MapType.renderTile(MapType.java:72) ~[MapType.class:?]
at de.bluecolored.bluemap.common.RenderTicket.render(RenderTicket.java:28) ~[RenderTicket.class:?]
at de.bluecolored.bluemap.common.RenderManager.renderThread(RenderManager.java:142) ~[RenderManager.class:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
Caused by: java.lang.ClassCastException: Cannot cast net.querz.nbt.IntArrayTag to net.querz.nbt.ByteArrayTag
at java.lang.Class.cast(Class.java:3369) ~[?:1.8.0_242]
at net.querz.nbt.CompoundTag.get(CompoundTag.java:68) ~[CompoundTag.class:?]
at net.querz.nbt.CompoundTag.getByteArrayTag(CompoundTag.java:106) ~[CompoundTag.class:?]
at net.querz.nbt.CompoundTag.getByteArray(CompoundTag.java:166) ~[CompoundTag.class:?]
at de.bluecolored.bluemap.core.mca.ChunkAnvil112.<init>(ChunkAnvil112.java:65) ~[ChunkAnvil112.class:?]
at de.bluecolored.bluemap.core.mca.Chunk.create(Chunk.java:77) ~[Chunk.class:?]
at de.bluecolored.bluemap.core.mca.MCAWorld.loadChunk(MCAWorld.java:247) ~[MCAWorld.class:?]
at de.bluecolored.bluemap.core.mca.MCAWorld.lambda$getChunk$0(MCAWorld.java:204) ~[MCAWorld.class:?]
at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:5065) ~[minecraft_server.1.12.2.jar:?]
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3716) ~[minecraft_server.1.12.2.jar:?]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2424) ~[minecraft_server.1.12.2.jar:?]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2298) ~[minecraft_server.1.12.2.jar:?]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2211) ~[minecraft_server.1.12.2.jar:?]
at com.google.common.cache.LocalCache.get(LocalCache.java:4154) ~[minecraft_server.1.12.2.jar:?]
at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:5060) ~[minecraft_server.1.12.2.jar:?]
at de.bluecolored.bluemap.core.mca.MCAWorld.getChunk(MCAWorld.java:204) ~[MCAWorld.class:?]
... 9 more
Currently it's a bit unintuitive how to render other dimensions.
I have a world, that only contains a Nether map. This is not picked up. Instead what I have to do is copy the level.dat
into the DIM-1
folder, and point BlueMap towards that.
Check file, not wrong place. but, problem all mod block.
I know there might be a problem because it is automatically generated.
But can it happen in every block?
https://pastebin.com/LbkDxepc <- blockids.json
Using the CLI to generate a map for a bunch of worlds.
If the map that was done rendering is commented out, it moves on to the next one.
DynMap has this feature where it will show you the coords of where your mouse currently is. This can be a very useful feature for quickly getting the coords of a place. Can BlueMap have something similar?
I'm hosting a Carpet-Fabric server and really love your awesome plugin,so is there any plan to make it a fabric mod?
On mac/linux I had to extract all the generated files by hand to use with a self hosted webserver. I notice the CLI is WIP so not sure if you are aware of this issue. Felt like posting this so anyone who run across this can run the command bellow to fix it with out re rending an entire world (since mine toke over 3 hours to complete)
The command was:
find data/ --name "*.gz" | xargs gunzip
Encountered this while rendering on of my maps.
Exception in thread "Thread-8" Exception in thread "Thread-9" java.lang.IllegalArgumentException: The box is degenerate on z
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122)
at de.bluecolored.bluemap.core.util.AABB.<init>(AABB.java:92)
at de.bluecolored.bluemap.core.util.AABB.<init>(AABB.java:60)
at de.bluecolored.bluemap.core.render.hires.HiresModelManager.getTileRegion(HiresModelManager.java:124)
at de.bluecolored.bluemap.core.render.TileRenderer.render(TileRenderer.java:49)
at de.bluecolored.bluemap.cli.RenderTask.renderThread(RenderTask.java:162)
at java.lang.Thread.run(Thread.java:748)
java.lang.IllegalArgumentException: The box is degenerate on z
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122)
at de.bluecolored.bluemap.core.util.AABB.<init>(AABB.java:92)
at de.bluecolored.bluemap.core.util.AABB.<init>(AABB.java:60)
at de.bluecolored.bluemap.core.render.hires.HiresModelManager.getTileRegion(HiresModelManager.java:124)
at de.bluecolored.bluemap.core.render.TileRenderer.render(TileRenderer.java:49)
at de.bluecolored.bluemap.cli.RenderTask.renderThread(RenderTask.java:162)
at java.lang.Thread.run(Thread.java:748)
Not sure how I can get more information to help track down the cause, so opening this mostly just to inform that it happened, and get instructions on how to track down the issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.