Commit Graph

60 Commits (master)

Author SHA1 Message Date
Chimney Swift 3632491a56 Fix incorrect generator settings being used for Nether and End dimensions 2020-10-04 23:29:19 +10:00
Rutger Kok ef415dcf57 Set version to 1.1.1 2020-09-20 16:23:37 +02:00
Rutger Kok 17c31bdc94 Compile against Spigot 1.16.3 2020-09-20 15:02:08 +02:00
Rutger Kok d6dede1369 Fix decorations being spawned multiple times
Was visible because too many mobs were spawning in structures.
2020-09-01 21:26:34 +02:00
Rutger Kok 06e403c567 Fix biome returning as null. Fixes #17
The method wasn't using the correct biome registry.
2020-08-29 10:23:42 +02:00
Rutger Kok e2c31a46a6 et version to 1.1.1-SNAPSHOT 2020-08-29 10:18:06 +02:00
Rutger Kok 71ad22f0ed Set version to 1.1 2020-08-18 13:13:08 +02:00
Rutger Kok f96e7ee471 Fix custom biome generators 2020-08-16 17:56:12 +02:00
Rutger Kok 5c6852a929 Basics seem to be working on Spigot 2020-08-16 16:47:16 +02:00
Rutger Kok 8c08d2f6af It compiles on 1.16.2
...but crashes on startup.
2020-08-16 12:06:08 +02:00
Rutger Kok 9d6867a3e9 Inject ourselves in the world map. Fixes #13.
It's a bit of a hack, but at least we can now fir the WorldGeneratorInitEvent early enough.
2020-07-31 21:21:02 +02:00
Rutger Kok 1f48d5b785 Make error message clearer. Closes #16 2020-07-30 21:42:37 +02:00
Rutger Kok ea6ed9827d Fix crash when saving world settings with custom biome generator.
Fixes #14.

Minecraft still prints a small error that the biome generator cannot be saved. I've added "Custom biome generators cannot be stored in the level.dat, please ignore this error" to that error.
2020-07-30 21:32:31 +02:00
Rutger Kok 14fec06cfd Update to latest Spigot 2020-07-14 21:45:10 +02:00
Rutger Kok 476923f960 Return a dummy encoder for biome generators
No idea when this is used, as I haven't encountered the original UnsupportedOperationException. Let's hope it will work, as I cannot test this.

See #14 for more info.
2020-07-14 21:36:49 +02:00
Rutger Kok ec0e16367d Version back at 1.1-SNAPSHOT 2020-07-09 20:45:51 +02:00
Rutger Kok 44000a910e Release version 1.0.1
It's a hotfix for that setBiomeGenerator bug.
2020-07-08 21:45:38 +02:00
Rutger Kok c5cbca9c9b Fix second biome field not being set. Fixes #11 . 2020-07-06 21:33:49 +02:00
Rutger Kok 6d89fc45f3 Set version to 1.1-SNAPSHOT 2020-07-05 09:04:09 +02:00
Rutger Kok b818824d33 Set version to 1.0 2020-07-05 08:25:32 +02:00
Rutger Kok 46d17034e8 Remvoe some unused code 2020-07-05 07:57:23 +02:00
Rutger Kok 5b15adc7a8 Fix server hanging 2020-06-28 13:52:33 +02:00
Rutger Kok 5c65a93663 More progress, but hangs on startup 2020-06-28 11:40:04 +02:00
Rutger Kok 68dcedd9ab Initial work for 1.16.1 update
Doesn't yet compile, as I need to update the chunk generators. Those have been changed a lot, so I'll likely need to reimplement most things.
2020-06-27 07:55:52 +02:00
Rutger Kok e4b30f1ffa Set version to 0.6 for release 2020-06-06 16:51:51 +02:00
Rutger Kok b3c1486a38 Remove rutger-repo 2020-06-06 12:07:32 +02:00
Rutger Kok 96383fd576 Move main output file to target folder
In this way, old files get removed when using mvn clean.
2020-05-14 20:28:14 +02:00
Rutger Kok 99fa3394dd Add biomeGenerator parameter to getHeight 2020-05-04 21:22:16 +02:00
Rutger Kok 22f5c1567d Fix vanilla terrain generators ignoring custom biome generators
We need to inject the biome generator into them, and restore the old one upon reload/unload.
2020-05-03 22:10:40 +02:00
Rutger Kok 6ac08ecdee Fix NullPointerException when setting a biome when no custom chunk generator is active 2020-05-03 20:54:16 +02:00
Rutger Kok 797414151b Update version to 0.6-SNAPSHOT 2020-04-26 10:29:28 +02:00
Rutger Kok fb10323d53 Update version to 0.5 2020-04-26 10:13:20 +02:00
Rutger Kok bd88df6929 Add /worldgeneratorapi reload command
This also made it necessary to create a tiny command framework, since working with multiple subcommands is very cumbersome otherwise.
2020-04-26 09:53:46 +02:00
Rutger Kok 5e92f80756 Add a command to inspect and change properties 2020-04-25 16:46:34 +02:00
Rutger Kok 12475c2057 Add support to get beehive tile entities 2020-04-23 19:59:57 +02:00
Rutger Kok 6f64f29680 Allow to replace the biome generator. Addresses #7 2020-04-23 19:26:08 +02:00
Rutger Kok ab99254a6f Update JUnit
Newer version of Eclipse do not work well with older versions of JUnit, so this upgrade was necessary.
2020-04-23 19:23:01 +02:00
Rutger Kok 5ccf75d1f9 Set version to 0.5-SNAPSHOT 2020-04-18 14:35:31 +02:00
Rutger Kok 227c1e2cde Set version to 0.4 2020-04-18 14:07:38 +02:00
Rutger Kok 4e5cd015e4 Fix coordinate scaling in biome grid 2019-12-14 08:12:23 +01:00
Rutger Kok c86d2bd65a It compiles on Minecraft 1.15 2019-12-12 21:39:59 +01:00
Rutger Kok 456a8044dc Also update version in other POM files 2019-07-14 07:39:22 +02:00
Rutger Kok 7ef6af6aa7 Let noise generators change the stone and water level
Chunk generators can of course do whatever they want., they don't need these settings. However, if you used a noise generator instead, then you are now longer fixed to sea level 63 with water and stone.
2019-05-16 22:01:24 +02:00
Rutger Kok 1bd62784fb Remove Override annotation in an attempt to fix the build 2019-05-16 20:52:00 +02:00
Rutger Kok b91ac0bf07 Make biome generator available to noise generator 2019-05-16 20:32:37 +02:00
Rutger Kok d84f086366 Initial test for supporting noise generators 2019-05-14 21:55:15 +02:00
Rutger Kok 52ab8508dd Add two comments 2019-05-12 18:55:44 +02:00
Rutger Kok 95c4071385 Move base generating to another method
I don't know if this helps, but this is also how Bukkit's custom generator code works.
2019-05-12 18:44:01 +02:00
Rutger Kok 1b5a77f1ee Restore custom carvers
Now they're implemented as base decorations, instead of decorations, because of changes in the Minecraft API.
2019-05-11 22:15:09 +02:00
Rutger Kok cabbb97aa3 Set api-version to 1.14 2019-04-30 20:31:31 +02:00