Commit Graph

20 Commits (969f26e4066c230d74e07926aac9d4a1f7b400bd)

Author SHA1 Message Date
Treer 969f26e406 Minetest support - initial commit
Rivers don't match the game, but Amidst can now draw maps made with a different engine than Minecraft
2018-03-10 18:48:03 +11:00
Stefan Dollase bd0e586886 applied the code clean up tool by Eclipse 2016-11-20 22:54:50 +01:00
Stefan Dollase 1832a7c6b5 formatting
* organized imports
* removed unnecessary @formatter:off comments
* formatted the code using the new code formatter with new preferences
2016-11-20 22:29:01 +01:00
Stefan Dollase 2eb047f01f removed version dependent isSaveEnabled flag
Nobody seems to know why it exists in the first place and to me it does not make sense.
2016-11-20 19:38:13 +01:00
Arthur HEUILLARD 559f346737 Add better naming for BiomeType class.
/!\ The names of the types are not taken from the game ; they are
guesses based on the biomes they contain.
2016-05-08 16:40:05 +02:00
Treer 184b4a85a9 Update OceanMonumentLocationChecker to reflect changes in 15w46a
Bug https://bugs.mojang.com/browse/MC-65214 was fixed in 15w46a, and that fix changed where Ocean Monuments can appear.
2016-03-05 15:22:32 +11:00
Stefan Dollase af4e497e72 added new minecraft version 1.9-pre2 2016-02-20 04:45:16 +01:00
Stefan Dollase 825b8ab90e added support for new snapshots
Added mechanism to create complete RecognisedVersion enum entries. This includes:

* all existing enum entries
* adding new entries for new versions with unknown magic string
* updating existing entries for new versions with known magic string

The ordering of the entries is preserved. Also, new entries are added at the top. The UNKOWN entry is omitted.

Further changes include:

* adding support for new versions
* updating the test data, since we still have no new magic string
* the name of RecognisedVersion entries is no longer derived from the enum entries name
* RecognisedVersion entries now know whether they are known or the UNKNOWN entry
* cleaned up and improved the devtool to generate the enum entries as well as its output
* added test to ensure the enum identifier matches the name
2016-02-18 00:05:34 +01:00
Stefan Dollase 049d520569 regenerated test data
The previously generated test data were based on faulty biome data, see issue MC-95612. The newly generated test data are generated from unaffected minecraft versions. Since nearly all structures are generated from the biome data, this leads to a change in a great part of the generated test data.

The test data in 15w51b are generated from the buggy stronghold algorithm. The test data in 16w06a are generated from the fixed stronghold algorithm.
2016-02-14 01:15:02 +01:00
Stefan Dollase 8bc10fd375 temporarily disabled fixed stronghold algorithm
* to not break the currently generated test data
* world entries test is passing
2016-02-13 22:29:19 +01:00
Stefan Dollase 6312f356e8 renamed classes 2016-02-13 18:40:52 +01:00
Stefan Dollase 9081181827 cleaned up the DefaultVersionFeatures
* removed two-step lambda for the stronghold factory by introducing the interface TriFunction
* the world builder now combines the valid biomes with the factory
2016-02-13 18:24:47 +01:00
Stefan Dollase 0ad0955a0d cleaned up the enum RecognisedVersion
* removed duplicate magic string
* removed earliest version pointer, since it was unused
* moved version description for strongholds to DefaultVersionFeatures
* added additional matching versions to comment (1.7.6, 1.7.7, 1.7.8) these must recently have been added back to the minecraft launcher
2016-02-13 18:07:33 +01:00
Treer b94a3bff95 New stronghold location algorithm
Issue MC-92289 with stronghold positioning was fixed in V16w06a - https://bugs.mojang.com/browse/MC-92289
2016-02-13 19:34:51 +11:00
Treer 0657c47849 Adjust naming convention for MineshaftAlgorithm
for consistency with upcoming StrongholdAlgorithm
2016-02-13 13:45:43 +11:00
Stefan Dollase ebbbf3ca8b re-enabled the move and save player functionality for UNKNOWN versions
This is also the behavior of Amidst v3.7.
2016-02-01 00:21:52 +01:00
Stefan Dollase 0ce3744f0d updated the recognised version list 2016-01-13 05:23:26 +01:00
Stefan Dollase 19d7aae72c updated version features 2016-01-13 01:20:07 +01:00
Stefan Dollase ac8064fe62 reworked the layers
* layer declaration contains logic to calculate the isEnabled and isVisible state
* these states are used by the layer loaders
* fragment loader thread updates these properties and reads the dimension setting at a defined point in the loading cycle
* layer menu uses the same code to calculate the isEnabled state
2016-01-13 00:11:40 +01:00
Stefan Dollase 9466793744 added a container class for all version specific values 2016-01-10 01:06:20 +01:00