108 Commits

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
f48f44f73c
Update README for version 1.0 2020-07-05 09:04:23 +02:00
Rutger Kok
6d89fc45f3 Set version to 1.1-SNAPSHOT 2020-07-05 09:04:09 +02:00
Rutger Kok
7f44088e9a Merge branch 'master' of https://github.com/rutgerkok/WorldGeneratorApi 2020-07-05 08:25:43 +02:00
Rutger Kok
b818824d33 Set version to 1.0 2020-07-05 08:25:32 +02:00
Rutger Kok
83e48a63fa
Add link to dev builds 2020-07-05 08:23:21 +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
535e9c5aaf
Add note about custom large structures 2020-06-06 14:32:12 +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
256d70b955 Add codemc.io information 2020-05-14 20:21:53 +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
3a459f89c4
Add more shields to README 2020-04-26 21:24:15 +02:00
Rutger Kok
1a8e88f43a Improve documentation of getNoise 2020-04-26 15:55:18 +02:00
Rutger Kok
5bfc89c220
Update the README for version 0.5 2020-04-26 10:33:04 +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
cd2a4674b1 Add constant for the chunk size 2020-04-25 11:09:02 +02:00
Rutger Kok
86cf62e75b Add otice that setBiomeDecorator can throw 2020-04-23 20:31:11 +02:00
Rutger Kok
89c292f1dd Documrent for every class, field and method when it was first added 2020-04-23 20:23:10 +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
4ffb624054
README.md: Use new method of generating chunks
When using the old one, the terrain generator doesn't know the appropriate height for villages and other things.
2020-04-19 10:41:28 +02:00
Rutger Kok
5b08ccde8c
Update example for version 0.4 2020-04-18 16:50:05 +02:00