Commit Graph

1646 Commits (a9dfdf184d92ef7ac2193344eba791b6e0faaa58)

Author SHA1 Message Date
Stefan Dollase a9dfdf184d replaced all occurrences: biome color profile -> biome profile
This enables us to store more biome related information in the profiles in the future.

I also changed the default biome profiles directory name back to 'biome' to keep backwards compatibility with Amidst v3.7.
2016-02-15 19:40:17 +01:00
Stefan Dollase b613946ff2 updated to version v4.0-beta8 2016-02-14 04:10:08 +01:00
Stefan Dollase 997e20712f Merge pull request #63 from toolbox4minecraft/convert-crash-window-to-singleton
converted the CrashWindow into a singleton
2016-02-14 04:07:38 +01:00
Stefan Dollase 6cc471a6ae converted the CrashWindow into a singleton
Before, when there was a bug in the drawing loop this would have caused Amidst to open up to 50 crash windows per second (Amidst is capped at 50 FPS), which is really bad. Also, it is very likely that such bugs would not be reported, because the bug report cannot be copied.

Now, only one CrashWindow is opened and the displayed error message is updated when more crashes occur.
2016-02-14 04:05:24 +01:00
Stefan Dollase 0c222f7c3b Merge pull request #62 from toolbox4minecraft/worker-threads-are-no-daemon-threads
changed worker threads to be no daemon threads
2016-02-14 03:40:59 +01:00
Stefan Dollase b3a58305bd changed worker threads to be no daemon threads
If a thread is a daemon thread, it does not keep the JVM alive. This means, that if all non-daemon threads are terminated, the JVM will just terminate all daemon threads and exit. This is a bad thing, if the daemon thread is currently writing to a file, because this will corrupt the file. Since the worker threads are used for IO, they should not be daemon threads.
2016-02-14 03:38:53 +01:00
Stefan Dollase 08a69b7d1d Merge pull request #61 from toolbox4minecraft/adjust_end_islands
Fix 8-by-8 block misalignment of End Islands map
2016-02-14 03:33:08 +01:00
Stefan Dollase 9b0b75d4fd formatting 2016-02-14 02:52:53 +01:00
Stefan Dollase 60ee04525c Merge pull request #60 from toolbox4minecraft/Issue_MC-92289
Implement new stronghold position algorithm
2016-02-14 02:42:23 +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 884f0be93b duplicated test data for world seed 1 2016-02-14 01:03:39 +01:00
Stefan Dollase 12fa3a5b70 moved test data to 16w06a directory 2016-02-14 01:03:17 +01:00
Stefan Dollase 0b981b16ee added a fixed ordering to the test data 2016-02-13 23:52:19 +01:00
Stefan Dollase cd05133b30 regenerated the test data
* world entries test still passes
* this probably means that the generated test data is still the same, but the order of the test data is changed
2016-02-13 22:31:22 +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
Treer 76e98bdec3 Fix 8-by-8 block misalignment of End Islands map 2016-02-14 05:37:07 +11:00
Stefan Dollase d77fa11f3d added a test ...
... to ensure there is only one enum entry per magic string. I also removed already existing collisions. I kept the latest version of the colliding pairs.
2016-02-13 19:03:28 +01:00
Stefan Dollase 6312f356e8 renamed classes 2016-02-13 18:40:52 +01:00
Stefan Dollase 57a45d216b applied eclipse formatting to the stronghold producers
* edited the class comments
* added threading documentation
2016-02-13 18:34:03 +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
Treer 3c1f9ae197 More snapshot version recognition 2016-02-13 03:12:16 +11:00
Stefan Dollase 3dc9cc1414 Merge pull request #58 from toolbox4minecraft/fixed-widget-to-not-catch-unrelated-mouse-events
fixed widgets to not catch unrelated mouse events
2016-02-02 22:22:06 +01:00
Stefan Dollase 2fa1e01f2f fixed widgets to not catch unrelated mouse events
Previously, clicking on a text widget did not trigger a select world icon operation. However, the text widget does not do anything with the click event. I think it is more intuitive to select the underlying world icon.
2016-02-02 22:17:26 +01:00
Stefan Dollase 73fc5548b9 Merge pull request #56 from toolbox4minecraft/add-world-type-to-screen-and-screenshot-filename
Add world type to screen and screenshot filename
2016-02-02 00:09:43 +01:00
Stefan Dollase a3e6c33500 added the world type to the suggested screenshot filename 2016-02-02 00:07:22 +01:00
Stefan Dollase 0794ab3531 added the world type to the screen 2016-02-01 23:57:44 +01:00
Stefan Dollase db5f068272 Merge pull request #55 from toolbox4minecraft/update-mail-address
updated Mail address in About dialog
2016-02-01 21:32:12 +01:00
Stefan Dollase 244001dc2a updated Mail address in About dialog 2016-02-01 21:30:00 +01:00
Stefan Dollase 013bbde0e4 Merge pull request #53 from toolbox4minecraft/add-logging-information-about-launcher-profile
added logging information about the selected launcher profile
2016-02-01 17:45:20 +01:00
Stefan Dollase 2cea65cdf0 added logging information about the selected launcher profile
When a profile is selected via the profile select window, a log message is written that contains the profile name and the real Minecraft versionId (the recognised versionId was always logged later on). This enables us to quickly identify bug reports about modded Minecraft versions.
2016-02-01 17:36:22 +01:00
Stefan Dollase 45b2ba4df2 Merge pull request #52 from toolbox4minecraft/reverting-pull-request-46
reverting pull request #46
2016-02-01 17:12:47 +01:00
Stefan Dollase 154d19597a reverting pull request #46
Add support for snapshots when -mcpath is a network path (reverted from commit 4f78fbc24c)
refactorings (reverted from commit 65adafa2f5)
2016-02-01 17:08:58 +01:00
Stefan Dollase 8f67852eda updated to version v4.0-beta7 2016-02-01 01:17:53 +01:00
Stefan Dollase 5b9e558629 Merge pull request #51 from toolbox4minecraft/moved-devtools-to-test-source-folder
moved devtools to the test source folder
2016-02-01 01:16:03 +01:00
Stefan Dollase bdb9c74a29 moved devtools to the test source folder
The purpose of the devtools source folder was to have a place to put code that should not be included in the released jar file. However, this requirement is also met by the test source folder. The devtools source folder was a relict from before we used maven.

I also externalized the devtool settings to the properties file `src/test/resources/amidst/devtools/devtools.properties`. This file is ignored by git, however there is a commited template file. To run the devtools, copy the template and populate it with the correct values. The template also contains documentation about how the values are used.

Added tests to execute each devtool. Removed all main methods from the devtools. The tests are ignored by default since they serve as a main methods.
2016-02-01 01:11:52 +01:00
Stefan Dollase 1f84e37473 Merge pull request #50 from toolbox4minecraft/re-enabled-player-moving-for-UNKNOWN-versions
re-enabled the move and save player functionality for UNKNOWN versions
2016-02-01 00:27:51 +01: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 6a3675adb8 Merge pull request #46 from toolbox4minecraft/network-path-improvement
Add support for snapshots when -mcpath is a network path
2016-02-01 00:17:15 +01:00
Stefan Dollase 88139b9899 Merge pull request #49 from toolbox4minecraft/enable-stayAlive-for-windows-wrapper
enabled stayAlive for windows wrapper
2016-02-01 00:14:09 +01:00
Stefan Dollase ab2c03fa71 enabled stayAlive for windows wrapper 2016-02-01 00:08:44 +01:00
Stefan Dollase 65adafa2f5 refactorings 2016-01-31 23:47:50 +01:00
Stefan Dollase d232e52d8f Merge pull request #47 from toolbox4minecraft/polish-ProfileSelectWindow
Polish profile select window
2016-01-31 23:09:08 +01:00
Stefan Dollase 1e82eee83c refactorings 2016-01-31 23:06:16 +01:00
Stefan Dollase 16226ec691 Merge branch 'parallax-void-texture' 2016-01-31 22:42:18 +01:00
Stefan Dollase 25e917472f removed unused code 2016-01-31 22:28:47 +01:00
Treer c9a118c720 Display Void texture in parallax.
The void is no longer scaled and translated with the End islands, instead they "float" in a layer above it.
2016-01-31 22:25:37 +01:00
Stefan Dollase 6915055293 Merge pull request #44 from toolbox4minecraft/acceleration-indicator
Add graphics acceleration indicator to Debug widget
2016-01-31 22:23:00 +01:00