Git Product home page Git Product logo

imageworldgenerator's People

Contributors

28pollux28 avatar stonelabs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

imageworldgenerator's Issues

[Suggestion] Option to enable / disable seperate vanilla structures.

In the current settings file it is possible to activate / deactivate vanilla structures. It would be cool to enable / disable only some specific structures. For example, enables everything except villages. Or only disallow Pillager Outpost, when you want a more friendly world.

Crash on world creation

[15:30:31] [Server thread/WARN]: Unable to find spawn biome
[15:30:31] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.class_148: Exception initializing level
	at net.minecraft.server.MinecraftServer.method_3786(MinecraftServer.java:390) ~[intermediary-minecraft-1.16.1-client.jar:?]
	at net.minecraft.server.MinecraftServer.method_3735(MinecraftServer.java:334) ~[intermediary-minecraft-1.16.1-client.jar:?]
	at net.minecraft.class_1132.method_3823(class_1132.java:89) ~[intermediary-minecraft-1.16.1-client.jar:?]
	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:647) ~[intermediary-minecraft-1.16.1-client.jar:?]
	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:256) ~[intermediary-minecraft-1.16.1-client.jar:?]
	at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.NullPointerException
	at net.minecraft.class_5322.method_29194(class_5322.java:21) ~[intermediary-minecraft-1.16.1-client.jar:?]
	at net.minecraft.class_5322.method_29196(class_5322.java:62) ~[intermediary-minecraft-1.16.1-client.jar:?]
	at net.minecraft.server.MinecraftServer.method_27901(MinecraftServer.java:457) ~[intermediary-minecraft-1.16.1-client.jar:?]
	at net.minecraft.server.MinecraftServer.method_3786(MinecraftServer.java:378) ~[intermediary-minecraft-1.16.1-client.jar:?]
	... 5 more
[15:30:31] [Server thread/ERROR]: This crash report has been saved to: /home/diegoilcatanico/.local/share/multimc/instances/1.16/.minecraft/crash-reports/crash-2020-08-27_15.30.31-server.txt
[15:30:31] [Server thread/ERROR]: Exception stopping the server
java.lang.NullPointerException: null
	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:770) ~[guava-21.0.jar:?]
	at com.sk89q.worldedit.extension.platform.PlatformManager.unregister(PlatformManager.java:125) ~[worldedit-fabric-mc1.16.1-7.2.0-beta-02.jar:?]
	at com.sk89q.worldedit.fabric.FabricWorldEdit.onStopServer(FabricWorldEdit.java:206) ~[worldedit-fabric-mc1.16.1-7.2.0-beta-02.jar:?]
	at net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents.lambda$null$4(ServerLifecycleEvents.java:62) ~[257e270f-73c7-4857-b2e9-c003b2177591.jar:?]
	at net.minecraft.server.MinecraftServer.handler$zzo000$beforeShutdownServer(MinecraftServer.java:1734) ~[intermediary-minecraft-1.16.1-client.jar:?]
	at net.minecraft.server.MinecraftServer.method_3782(MinecraftServer.java) ~[intermediary-minecraft-1.16.1-client.jar:?]
	at net.minecraft.class_1132.method_3782(class_1132.java:244) ~[intermediary-minecraft-1.16.1-client.jar:?]
	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:709) ~[intermediary-minecraft-1.16.1-client.jar:?]
	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:256) ~[intermediary-minecraft-1.16.1-client.jar:?]
	at java.lang.Thread.run(Thread.java:834) [?:?]
---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3

Time: 8/27/20, 3:30 PM
Description: Exception initializing level

java.lang.NullPointerException: Exception initializing level
	at net.minecraft.class_5322.method_29194(class_5322.java:21)
	at net.minecraft.class_5322.method_29196(class_5322.java:62)
	at net.minecraft.server.MinecraftServer.method_27901(MinecraftServer.java:457)
	at net.minecraft.server.MinecraftServer.method_3786(MinecraftServer.java:378)
	at net.minecraft.server.MinecraftServer.method_3735(MinecraftServer.java:334)
	at net.minecraft.class_1132.method_3823(class_1132.java:89)
	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:647)
	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:256)
	at java.base/java.lang.Thread.run(Thread.java:834)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Render thread
Stacktrace:
	at net.minecraft.class_5322.method_29194(class_5322.java:21)
	at net.minecraft.class_5322.method_29196(class_5322.java:62)
	at net.minecraft.server.MinecraftServer.method_27901(MinecraftServer.java:457)

-- Affected level --
Details:
	All players: 0 total; []
	Chunk stats: ServerChunkCache: 0
	Level dimension: minecraft:overworld
	Level spawn location: World: (8,64,8), Chunk: (at 8,4,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
	Level time: 0 game time, 0 day time
	Level name: New World
	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
	Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
	Known server brands: fabric
	Level was modded: true
	Level storage version: 0x04ABD - Anvil
Stacktrace:
	at net.minecraft.server.MinecraftServer.method_3786(MinecraftServer.java:378)
	at net.minecraft.server.MinecraftServer.method_3735(MinecraftServer.java:334)
	at net.minecraft.class_1132.method_3823(class_1132.java:89)
	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:647)
	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:256)
	at java.base/java.lang.Thread.run(Thread.java:834)

-- System Details --
Details:
	Minecraft Version: 1.16.1
	Minecraft Version ID: 1.16.1
	Operating System: Linux (amd64) version 5.4.0-42-generic
	Java Version: 11.0.8, Ubuntu
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Ubuntu
	Memory: 408535712 bytes (389 MB) / 1305477120 bytes (1245 MB) up to 2147483648 bytes (2048 MB)
	CPUs: 12
	JVM Flags: 2 total; -Xms512m -Xmx2048m
	Fabric Mods: 
		autoconfig1u: Auto Config v1 Updated 3.2.0-unstable
		cloth-basic-math: Cloth Basic Math 0.5.1
		cloth-config2: Cloth Config v4 4.6.0
		enchantmentnumeralfix: Enchantment Numeral Fix 1.0.0
		fabric: Fabric API 0.15.1+build.380-1.16.1
		fabric-api-base: Fabric API Base 0.1.3+12a8474c02
		fabric-biomes-v1: Fabric Biomes (v1) 0.2.7+059ea86602
		fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.4+c6a8ea8902
		fabric-command-api-v1: Fabric Command API (v1) 1.0.8+5ce5339802
		fabric-commands-v0: Fabric Commands (v0) 0.2.0+52d3083602
		fabric-containers-v0: Fabric Containers (v0) 0.1.8+045df74f02
		fabric-content-registries-v0: Fabric Content Registries (v0) 0.1.9+059ea86602
		fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.2+b7f9825d02
		fabric-dimensions-v1: fabric-dimensions-v1 1.0.0+a71b305302
		fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.3.3+7066030f02
		fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.0+16acbe5b02
		fabric-item-api-v1: Fabric Item API (v1) 1.0.0+16acbe5b02
		fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.0+438f963602
		fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.1+f404f3be02
		fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.0+3fa9f7c502
		fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.1.0+013e49d202
		fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.0+386eb69e02
		fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.2+b764ce9902
		fabric-models-v0: Fabric Models (v0) 0.1.0+dfdb52d602
		fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.5+b50ffc7b02
		fabric-networking-v0: Fabric Networking (v0) 0.1.10+e00ecb5f02
		fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.5.6+a2d21ddd02
		fabric-object-builders-v0: Fabric Object Builders (v0) 0.6.1+a2d21ddd02
		fabric-particles-v1: fabric-particles-v1 0.2.1+0a6f2a7002
		fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.3.8+7dba2d6c02
		fabric-renderer-api-v1: Fabric Renderer API (v1) 0.2.13+eae12eb802
		fabric-renderer-indigo: Fabric Renderer - Indigo 0.3.3+0a55f37902
		fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 2.0.1+5a0f9a6002
		fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.3+b7f9825d02
		fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.8+b7084faa02
		fabric-rendering-v0: Fabric Rendering (v0) 1.1.0+5341049002
		fabric-rendering-v1: Fabric Rendering (v1) 1.1.2+346247d702
		fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.2.6+f41e209802
		fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.0+97324d1102
		fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 0.2.7+a4c57d8e02
		fabric-textures-v0: Fabric Textures (v0) 1.0.4+eae12eb802
		fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.1.4+5794386e02
		fabricloader: Fabric Loader 0.9.0+build.204
		fiber: fiber 0.23.0-1
		flighthud: Flight HUD 1.16.1-fabric-4
		imggen: Image World Generator 1.0.0
		minecraft: Minecraft 1.16.1
		mm: Manningham Mills 2.0
		modmenu: Mod Menu 1.14.5+build.30
		okzoomer: Ok Zoomer 4.0.0-alpha.4.1.16.1
		optifabric: Optifabric 1.1.0-beta2
		org_slf4j_slf4j-api: slf4j-api 1.7.30
		org_slf4j_slf4j-simple: slf4j-simple 1.7.30
		org_zeroturnaround_zt-zip: zt-zip 1.14
		worldedit: WorldEdit 7.2.0-beta-02+d10d7d6
	Player Count: 0 / 8; []
	Data Packs: vanilla, fabric/fabric-tool-attribute-api-v1
	Type: Integrated Server (map_client.txt)
	Is Modded: Definitely; Client brand changed to 'fabric'
	OptiFine Version: OptiFine_1.16.1_HD_U_G2
	OptiFine Build: 20200802-005745
	Render Distance Chunks: 10
	Mipmaps: 4
	Anisotropic Filtering: 1
	Antialiasing: 0
	Multitexture: false
	Shaders: BSL_v7.1.05p3.zip
	OpenGlVersion: 4.6.0 NVIDIA 440.100
	OpenGlRenderer: GeForce GTX 1660/PCIe/SSE2
	OpenGlVendor: NVIDIA Corporation
	CpuCount: 12

How big can the image go?

I use it several times and It keep crashing 3000 x 2500 and 2500 x 2000.
Can you tell me how big can it go, I don't want to create another image.
(it crashes)

Biom exception list for vanilla bioms that should persist.

I'm currently writing code to implement #10 and #4 so default biome could still be used, but people will also be able to use these two settings

If #10 is implemented and we have a good method of generating vanilla terrain it shouldn't be too difficult to implement an exception list of biomes that will persist (as I described here). Calculate the default biom as well and if it is in the exception list use it instead. I'll go ahead and open a issue for it.

Originally posted by @StoneLabs in #11 (comment)

Datapack Support [SUGGESTION]

Since you can locate a fabric mods location for biomes and generate it, with "modid:biomeid", is it possible to do the same so it also doesn't just search the fabric mod folder but the world/datapack folder so you also have an additional search option for "datapackid:biomeid".

For example terralith a datapack that adds 100+ biomes and has it it that the biome id ingame f3 menu would be terralith:yosemitecliffs . So you have it locate that source.

Image Gen is not applying new biomes and Crashes when adding new structures[BUG]

This is a continued thread from my earlier "suggested" post, just to give you a full list more accurately stated. I have found multiple bugs.


ISSUE 1: Added "DATAPACK" for new biomes causing Image gen to not generate by image

I downloaded terralith for more biomes, wondering if the fabric mod could support it. I installed terralith.zip in the world/datapack folder.

I should note these do not MODIFY vanilla biomes but introduces NEW biomes by using 1.16 introduced biome jsons.

I then made a 'biomeImage.png' map ONLY for vanilla biomes, desert, snow_tundra, and ice caps excluding any terralith biomes and installed it in imgen/image.

I used this config:
{ "configVersion": "1.3.3", "biomesImageName": "biomeImage.png", "biomesImageScale": 8.0, "repeatBiomeImage": false, "repeatMirrorBiomeImage": false, "defaultBiome": "minecraft:ocean", "continuousGen": true, "largeBiomes": false, "customBiomes": [ { "biomeID": "modid:biomeid", "RGB": "0x000000" }, { "biomeID": "modid:biomeid", "RGB": "0xFFFFFF" } ], "customHeightMap": false, "heightMapName": "HeightMap.png", "heightMapScale": 1.0, "repeatHeightMapImage": false, "repeatMirrorHeightMapImage": false, "seaLevel": 63, "placeVanillaStructures": true, "customStructures": false, "customStructuresImage": "structureMap.png", "repeatStructureImage": false, "repeatMirrorStructureImage": false, "useBlackList": false, "blackListApplication": 2, "structureBlacklist": [ "modid:structureid", "modid:structureid" ], "customStructuresRGB": [ { "structureID": "modid:structureid", "RGB": "0x123456" }, { "structureID": "modid:structureid", "RGB": "0x024680" } ], "lakeFormationPercentChance": 0.5, "segmentImageWidth": 512, "segmentImageHeight": 512, "imageCacheSize": 4 }

I encountered issues. I was able to narrow it down to this.

When my datapack is not installed and region files are regenerated the world appears like the map. no datapack loaded

When my datapack is installed I do not get imgen generation. datapack loaded


ISSUE 2: Added "FABRIC MODS" for new biomes causing image gen to not generate by image.

Wanted to give some more info. It might be more than the just datapacks.

https://imgur.com/a/AxhTyIq

I decided to try using the terralith fabric mod version instead of the datapack and similarly as before, once generating new chunks, world generations returns soley to normal/terralith generation and does not follow the image.

This is my map image: https://imgur.com/lAK8GH4

I conducted this with another mod called "sensible biomes" that added new biomes and the result was the same.


ISSUE 3: Added "FABRIC MODS" for new structures / modify structures cause server crash

This crash can be avoided if in the config "placeVanillaStructures": is set to false, but it means no structures spawn. I have not investigated if the structure map will get around this.

This was tested with the fabric mods:
- [email protected]
- [email protected]
- [email protected]
along with the required APIs
- YungsApi-1.17-Fabric-16
- cloth-config-5.0.38-fabric

This Issue generates a crash report:
---- Minecraft Crash Report ----
// There are four lights!

Time: 9/11/21, 3:13 PM
Description: Exception generating new chunk

java.lang.NullPointerException: Cannot invoke "net.minecraft.class_5314.method_28803()" because "☃" is null
at net.minecraft.class_3195.method_27218(class_3195.java:229)
at net.minecraft.class_3195.method_28657(class_3195.java:263)
at net.minecraft.class_5312.method_28622(class_5312.java:36)
at eu.pollux28.imggen.gen.chunk.ImgGenChunkGenerator.setStructureStart(ImgGenChunkGenerator.java:764)
at eu.pollux28.imggen.gen.chunk.ImgGenChunkGenerator.method_16129(ImgGenChunkGenerator.java:736)
at net.minecraft.class_2806.method_16556(class_2806.java:53)
at net.minecraft.class_2806.method_12154(class_2806.java:231)
at net.minecraft.class_3898.method_17225(class_3898.java:556)
at com.mojang.datafixers.util.Either$Left.map(Either.java:38)
at net.minecraft.class_3898.method_17224(class_3898.java:550)
at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1146)
at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
at net.minecraft.class_3900.method_17634(class_3900.java:58)
at net.minecraft.class_3846.method_16907(class_3846.java:91)
at net.minecraft.class_3846.method_16900(class_3846.java:146)
at net.minecraft.class_3846.run(class_3846.java:102)
at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1434)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:295)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head --
Thread: Server thread
Stacktrace:
at net.minecraft.class_3195.method_27218(class_3195.java:229)
at net.minecraft.class_3195.method_28657(class_3195.java:263)
at net.minecraft.class_5312.method_28622(class_5312.java:36)
at eu.pollux28.imggen.gen.chunk.ImgGenChunkGenerator.setStructureStart(ImgGenChunkGenerator.java:764)
at eu.pollux28.imggen.gen.chunk.ImgGenChunkGenerator.method_16129(ImgGenChunkGenerator.java:736)
at net.minecraft.class_2806.method_16556(class_2806.java:53)
at net.minecraft.class_2806.method_12154(class_2806.java:231)

-- Chunk to be generated --
Details:
Location: 9,9
Position hash: 38654705673
Generator: eu.pollux28.imggen.gen.chunk.ImgGenChunkGenerator@53aceff5
Stacktrace:
at net.minecraft.class_3898.method_17225(class_3898.java:556)
at com.mojang.datafixers.util.Either$Left.map(Either.java:38)
at net.minecraft.class_3898.method_17224(class_3898.java:550)
at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1146)
at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
at net.minecraft.class_3900.method_17634(class_3900.java:58)
at net.minecraft.class_3846.method_16907(class_3846.java:91)
at net.minecraft.class_3846.method_16900(class_3846.java:146)
at net.minecraft.class_3846.run(class_3846.java:102)

-- Affected level --
Details:
All players: 0 total; []
Chunk stats: 529
Level dimension: minecraft:overworld
Level spawn location: World: (8,64,8), Section: (at 8,0,8 in 0,4,0; chunk contains blocks 0,-64,0 to 15,319,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)
Level time: 0 game time, 0 day time
Level name: world
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Known server brands: fabric
Level was modded: true
Level storage version: 0x04ABD - Anvil
Stacktrace:
at net.minecraft.server.MinecraftServer.method_3786(MinecraftServer.java:401)
at net.minecraft.server.MinecraftServer.method_3735(MinecraftServer.java:350)
at net.minecraft.class_3176.method_3823(class_3176.java:184)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:670)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270)
at java.base/java.lang.Thread.run(Thread.java:831)

-- System Details --
Details:
Minecraft Version: 1.17.1
Minecraft Version ID: 1.17.1
Operating System: Windows 10 (amd64) version 10.0
Java Version: 16.0.2, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
Memory: 1206734536 bytes (1150 MiB) / 1627389952 bytes (1552 MiB) up to 4259315712 bytes (4062 MiB)
CPUs: 4
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
Identifier: Intel64 Family 6 Model 142 Stepping 9
Microarchitecture: Amber Lake
Frequency (GHz): 2.90
Number of physical packages: 1
Number of physical CPUs: 2
Number of logical CPUs: 4
Graphics card #0 name: NVIDIA GeForce 940MX
Graphics card #0 vendor: NVIDIA (0x10de)
Graphics card #0 VRAM (MB): 2048.00
Graphics card #0 deviceId: 0x134d
Graphics card #0 versionInfo: DriverVersion=27.21.14.6647
Graphics card #1 name: Intel(R) HD Graphics 620
Graphics card #1 vendor: Intel Corporation (0x8086)
Graphics card #1 VRAM (MB): 1024.00
Graphics card #1 deviceId: 0x5916
Graphics card #1 versionInfo: DriverVersion=23.20.16.4973
Memory slot #0 capacity (MB): 16384.00
Memory slot #0 clockSpeed (GHz): 2.13
Memory slot #0 type: DDR4
Virtual memory max (MB): 30750.70
Virtual memory used (MB): 19454.64
Swap memory total (MB): 14508.31
Swap memory used (MB): 1112.70
JVM Flags: 0 total;
Fabric Mods:
betterdungeons: YUNG's Better Dungeons 1.17-1.0.1
bettermineshafts: YUNG's Better Mineshafts 1.17-1.0.1
betterstrongholds: YUNG's Better Strongholds 1.17-1.1.1
cloth-basic-math: Cloth Basic Math 0.5.1
cloth-config2: Cloth Config v5 5.0.38
com_alexdupre_pngj: pngj 2.1.2.1
fabric: Fabric API 0.40.0+1.17
fabric-api-base: Fabric API Base 0.3.0+a02b446318
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.3.0+cbda931818
fabric-biome-api-v1: Fabric Biome API (v1) 3.2.0+cbda931818
fabric-command-api-v1: Fabric Command API (v1) 1.1.3+5ab9934c18
fabric-commands-v0: Fabric Commands (v0) 0.2.2+92519afa18
fabric-containers-v0: Fabric Containers (v0) 0.1.12+cbda931818
fabric-content-registries-v0: Fabric Content Registries (v0) 0.3.0+cbda931818
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.5+be9da31018
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.0.11+6cefd57718
fabric-entity-events-v1: Fabric Entity Events (v1) 1.2.3+87cc6e4c18
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.10+fc40aa9d18
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.1+92519afa18
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.7+cbda931818
fabric-item-api-v1: Fabric Item API (v1) 1.2.4+cbda931818
fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.10+b7ab612118
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.4.4+a02b446318
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.4+a02b446318
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.3+92519afa18
fabric-networking-api-v1: Fabric Networking API (v1) 1.0.13+cbda931818
fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.11+a02b446318
fabric-networking-v0: Fabric Networking (v0) 0.3.2+92519afa18
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.10.9+cbda931818
fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.3+a02b446318
fabric-particles-v1: Fabric Particles (v1) 0.2.4+a02b446318
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.10+e2961fee18
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.5+a02b446318
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.8+a00e834b18
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.8+cbda931818
fabric-structure-api-v1: Fabric Structure API (v1) 1.1.13+5ab9934c18
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.2.1+b06cb95b18
fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.12+b7ab612118
fabric-transfer-api-v1: Fabric Transfer API (v1) 1.3.0+fc40aa9d18
fabricloader: Fabric Loader 0.11.6
imggen: Image World Generator 1.3.3
java: Java HotSpot(TM) 64-Bit Server VM 16
minecraft: Minecraft 1.17.1
org_slf4j_slf4j-api: slf4j-api 1.7.30
yungsapi: YUNG's API 1.17-Fabric-16
Player Count: 0 / 20; []
Data Packs: vanilla, Fabric Mods, file/01-william-wythers-overhauled-overworld-for-1-17-e2380.zip, file/02-william-wythers-caves-and-cliffs-add-on-for-overhauled-ov-e2380.zip
Is Modded: Definitely; Server brand changed to 'fabric'
Type: Dedicated Server (map_server.txt)


I have decided to upload my server settings so you can playtest.
setup

[BUG] Repeat image only doing mirror

Describe the bug
Repeat Image only doing mirror even when set to false in config

Version
Mod Version : 1.1.0
Fabric Version :
Environment : Client or Server

[Suggestion] Repeat images

I have a small suggestion. You should add an option to "repeat" the image in x and / or y coordinate. Maybe 2 option to repeat is directly or flip it like a mirror. This way, it would be possible to create infinite worlds.

hand made voxel replacement for 3d perlin noise generation

we the brickmasons wish to create more dynamic maps if possible could we input either premade MCR file with hand made stone or voxel map with the complete bypassing all first stage world gen also if possible to have the same system for the cave gen and 3d biome map but I know of limits when making 3d biome maps

[BUG] Void world problem & files

Describe the bug
I commented about this problem, at curseforge page as 'EIQUI'

here is my config(default) and imggen folder
New folder (2).zip

and here is my mods I used
mods.zip

before I upload it, I tested finally, but it still generates void world and Minecraft has closed by crash

To Reproduce
mod just generates void world

Expected behavior

Screenshots
2021-08-09_17 30 24

Version
Mod Version : 1.3.3
Fabric Version : 0.11.6
Environment : Client or Server

My World When using this is a void map?[BUG]

Describe the bug
When I press image generator preset with the image config and everything right its a void map.

To Reproduce
Steps to reproduce the behavior:

  1. Follow the instructions
  2. Void map

Expected behavior
My image to turn into a world

Screenshots
satisfactorymapmc

Version
Mod Version : 1.17+-+ImageWorldGenerator-1.3.3
Fabric Version : 0.11.6

Environment : Client

[BUG] crashing upon startup

Caused by: java.lang.ClassNotFoundException: dev.onyxstudios.cca.api.v3.world.WorldComponentInitializer
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:168)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

mods being used:
ImageWorldGenerator
Fabric API
Oh the biomes you'll go

attached files:
full crash report
imggen.json - converted to .txt for the sake of uploading to github

crash-2021-05-12_09.24.29-client.txt

imggen - Copy.txt

[BUG]

Describe the bug
Some biomes have patterned lava/ice pockets generating in the ocean next to them

Expected behavior
I expected there just to be normal ocean

Screenshots
image

Version
Mod Version : 1.16.5
Environment : Server

[SUGGESTION] Use vanilla terrain generation for terrain generated beyond what is specified in the png

If I'm not mistaken, once we travel beyond the terrain that is to be generated by the png image, the terrain defaults to generating a single biome (as specified in the configs). It would be appreciated if this terrain could instead be generated using the default vanilla world generation, so that one could draw out their dream spawn area, but then have random world generation beyond a certain radius for exploration.

Per region file image tiling

Minecraft saves world split into region files using the scheme r.X.Z.mcr where X/Z are the region coordinates. Each region is 32 by 32 chunks (512 by 512 blocks). The below code is used to derive the region file coordinates.

int regionX = (int)floor(chunkX / 32.0);
int regionZ = (int)floor(chunkZ / 32.0);

I would like ImageWorldGenerator to also have the biome, height, and structure maps split into separate files. It would allow much bigger maps (possibly infinite?).
It should also alleviate memory use when loading images, because only the needed images would have to be loaded.

Ideally it would work like so:
Check in config if the map pointed to is a file or a directory.
If it's a directory, search for a file corresponding to currently generated region (chunk in region) in format T.X.Z.png (or tiff, or any other formats that might be implemented in the future) where
T is the type h for heightmap, b for biomes, s for structures, and any other future needs (c for cave biomes?) - it would allow having different types of maps in the same directory;
X and Z for region coordinates.

Example file names:
r.0.0.mca (Minecraft Anvil format region file)
b.2.5.png
h.-2.-7.png
s.-3.1.png

.json works but generates mismatched biomes

Hello! My team is using your mod to generate a world from an image using biomes added by Oh the Biomes You'll Go (BYG). I've attached the imggen.json file we're using. We're running into some issues -

  1. ImageWorldGenerator generates outlines and biome shapes, but doesn't use vanilla biomes, and mismatches biomes compared to how we've defined their color coding in the .json.

  2. ImageWorldGenerator often outright ignores the image we provide, despite setting the proper world-type and updating the name of the image we're using.
    imggen.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.