Stefan Dollase
6d30f03f74
possible fix for issue #26
...
* this does not change the behavior on linux
* hopefully, it does fix the issue on windows
2016-01-14 18:42:59 +01:00
Stefan Dollase
c284d1bc13
made the saves directory in the profile directory optional
2016-01-14 18:24:43 +01:00
Stefan Dollase
f3ee8eea4f
updated to Amidst v4.0-beta4
2016-01-13 16:39:28 +01:00
Stefan Dollase
7c10b8e430
moved the player icons menu entry from the overworld section to the dimension independent section
2016-01-13 16:04:50 +01:00
Stefan Dollase
ee0e035fd8
the enable all layers menu entry in now only displayed, if it actually has an effect
2016-01-13 15:59:31 +01:00
Stefan Dollase
0f883c66b4
added the minecraft profile name to the main window title
2016-01-13 15:49:17 +01:00
Stefan Dollase
b2c082bcba
handled an issue with the "(Default)" launcher profile
2016-01-13 15:37:50 +01:00
Stefan Dollase
5f74282e3a
added a meaningful error message when there is no valid .minecraft directory
2016-01-13 15:26:43 +01:00
Stefan Dollase
ded5778a40
removed obvious dimension information from the world icons
2016-01-13 15:16:41 +01:00
Stefan Dollase
e8fbb286cb
fixed an issue with the save capture image dialog
...
* it is now displayed as save dialog, instead of an open dialog
* it suggests a meaningful filename
2016-01-13 15:05:53 +01:00
Stefan Dollase
0ce3744f0d
updated the recognised version list
2016-01-13 05:23:26 +01:00
Stefan Dollase
b3411e01c5
moved relevant comments to the top
2016-01-13 04:54:36 +01:00
Stefan Dollase
04ace4023c
added a devtool to generate the recognised version list
2016-01-13 04:44:54 +01:00
Stefan Dollase
8b4c897caf
minor refactorings
2016-01-13 02:05:55 +01:00
Stefan Dollase
3058971b7a
fixed an issue that caused the layers menu to disable all layer entries, when the end dimension was selected, but the current world does not support the end dimension
2016-01-13 01:30:35 +01:00
Stefan Dollase
19d7aae72c
updated version features
2016-01-13 01:20:07 +01:00
Stefan Dollase
42df1feadc
fixed an issue in the class ListVersionFeatureBuilder
2016-01-13 00:22:33 +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
76893d2eed
added methods to create disabled menu entries
2016-01-11 18:40:23 +01:00
Stefan Dollase
e807f934ec
added mechanism to disable menu items of currently not displayed dimensions
2016-01-11 18:04:51 +01:00
Stefan Dollase
0e856604f9
added menu entry Unlock All to the layers menu
...
* it is supported to enable all structure layers, even if the current version does not yet support the structure type
* to become a meaning, we need to disable the menu entries of unsupported structures
2016-01-11 16:53:29 +01:00
Stefan Dollase
a7bb94c316
added reference to the current world instance to the class LayersMenu
2016-01-11 16:42:41 +01:00
Stefan Dollase
75770b9c83
added the methods AmidstMenu.setWorld and AmidstMenu.clearWorld
2016-01-11 16:36:39 +01:00
Stefan Dollase
e1f834b47c
moved the remaining parts of the version recognition algorithm to the class RecognisedVersion
2016-01-11 16:12:05 +01:00
Stefan Dollase
99ae13c352
removed noise from the class AmidstMenuBuilder
2016-01-11 10:50:48 +01:00
Stefan Dollase
05b24c85d5
refactored the settings and the layers menu
...
* switched linux to use the java look and feel, because the system look and feel does not show menu separators
* removed special setting implementations
* made the class SettingBase more flexible
* added a set of factory methods for settings
* added a set of factory methods for menus
* settings no longer contain a button model
2016-01-11 10:15:01 +01:00
Stefan Dollase
5e24994fa5
renamed the class Settings to AmidstSettings
2016-01-11 05:57:27 +01:00
Stefan Dollase
f7bcf1243d
started refactoring the settings
2016-01-11 05:56:21 +01:00
Stefan Dollase
9466793744
added a container class for all version specific values
2016-01-10 01:06:20 +01:00
Stefan Dollase
24d558d8ba
refactored code to enable specific features for specific minecraft versions
...
* added a set of classes, e.g. VersionFeature
* used these classes to declare version specific properties
* replaced code that did the above manually by a query to the version feature
2016-01-09 23:56:05 +01:00
Stefan Dollase
183bb44a23
updated to version v4.0-beta3
2016-01-09 02:14:17 +01:00
Stefan Dollase
0b830a3e7c
added void texture for the end dimension
...
* using an extra layer for this was to slow
* integrated it directly into the class Drawer, so the texture drawing operation is only executed once
* added mechanism to draw the grid layer for unloaded fragments
2016-01-09 02:04:02 +01:00
Stefan Dollase
d0751ec43e
fixed player position for the nether
...
* player position was not displayed correctly, when the player was in the nether
* added code to read player dimension from the nbt file
* added code to adjust player coordinates when player is currently in the nether
* added dimension to all world icons
* added dimension to text for world icons
* the world icon text for world icons in the nether still contains both coordinates
2016-01-09 00:40:10 +01:00
Stefan Dollase
831e11e927
changed text "in Nether" to "in the Nether"
2016-01-08 23:12:46 +01:00
Stefan Dollase
457e82a6dc
changed location for backup files
...
* from "amidst_backup" to "amidst/backup"
* this allows us to save more amidst-specific data in the world save directory, e.g. the planned custom world icons
2016-01-08 23:10:53 +01:00
Stefan Dollase
834bd21cd8
removed second period from filename
2016-01-08 22:37:35 +01:00
Stefan Dollase
d5b64e88ac
renamed world icon "End City" to "Likely End City"
2016-01-08 22:35:33 +01:00
Stefan Dollase
cd0b81acf7
renamed the biome "Sky" to "The End"
...
* this was also done in Minecraft Version 14w17a
2016-01-08 22:11:53 +01:00
Stefan Dollase
d83d0201d2
fixed seed history logger
...
* by default, it will write seeds to the file "history.txt", if the file exists
* if the -history <file> command line parameter is used, the file will be created if necessary
* added seed text to the seed history file
* the line ending now matches the executing operating system
2016-01-08 21:49:40 +01:00
Stefan Dollase
a966a1d5a3
added the end dimension
...
* taken from AmidstExporter
* displays the end islands
* displays end cities
2016-01-08 19:20:30 +01:00
Stefan Dollase
cbc78380e3
adjusted stronghold algorithm for 1.9 snapshots
...
* taken from AmidstExporter
* the algorithm might still be buggy
2016-01-07 21:27:05 +01:00
Stefan Dollase
f9f521a403
added static factory method to the class StrongholdProducer
2016-01-07 20:46:36 +01:00
Stefan Dollase
14176875af
fixed the simple stronghold algorithm to behave exactly like the one implemented in AmidstExporter
2016-01-07 20:41:36 +01:00
Stefan Dollase
da15d5e486
sorted layers and settings in gui and code
2016-01-07 20:22:55 +01:00
Stefan Dollase
5c1caae517
added the mineshaft world icons
...
* taken from AmidstExporter
2016-01-07 19:54:45 +01:00
Stefan Dollase
58f2284231
added igloo world icons
...
* taken from AmidstExporter
2016-01-07 19:19:29 +01:00
Stefan Dollase
7ae21d5d9f
added additional check for village locations
...
* taken from AmidstExporter
* removed some false positives
2016-01-07 19:18:59 +01:00
Stefan Dollase
bc3ce033d6
added offset for structures
...
* temples, villages, ocean monuments and nether fortresses
* offsets taken from AmidstExporter
2016-01-07 17:56:07 +01:00
Stefan Dollase
354b94d1fd
updated the threading documentation
2016-01-06 20:33:14 +01:00
Stefan Dollase
b43af782f9
made the SlimeChunkOracle thread safe
2016-01-06 20:32:30 +01:00
Stefan Dollase
aa714b58c0
removed implementations of the class StructureProducer, since they where only constructors
2016-01-06 20:11:55 +01:00
Stefan Dollase
5c1425da49
replaced the interface WorldIconConsumer by the generic interface Consumer<WorldIcon>
2016-01-06 19:56:41 +01:00
Stefan Dollase
13c0a1ac3e
moved classes and created packages
2016-01-06 19:52:23 +01:00
Stefan Dollase
f921640a4e
switched the NetherFortressProducer to use the resolution NETHER_CHUNK
2016-01-06 19:44:19 +01:00
Stefan Dollase
c047b0537f
cleaned up the constructor parameter-lists of the world icon producers
2016-01-06 19:28:19 +01:00
Stefan Dollase
55eac566c6
simplified the StructureProducer implementations
...
They are only constructors.
2016-01-06 19:23:50 +01:00
Stefan Dollase
74d32ff838
added the class WorldIconTypeProvider
2016-01-06 19:12:21 +01:00
Stefan Dollase
68d4c2f760
replaced another usage of the class Point by CoordinatesInWorld
2016-01-06 18:53:38 +01:00
Stefan Dollase
edd943aa59
extracted the location checking logic to a set of new classes
2016-01-06 18:45:56 +01:00
Stefan Dollase
64eda36f05
added the interface LocationChecker
2016-01-06 17:57:17 +01:00
Stefan Dollase
4ec42589e7
moved more logic from the class StructureProducer to the class BiomeDataOracle
2016-01-06 17:51:19 +01:00
Stefan Dollase
ba315cd464
extracted the new class NetherFortressAlgorithm from the class NetherFortressProducer
2016-01-06 17:16:53 +01:00
Stefan Dollase
52b9754cc6
removed the instance of StructureAlgorithm from the StructureProducer
2016-01-06 16:24:15 +01:00
Stefan Dollase
88c5a0c104
extracted the new class StructureAlgorithm from the class StructureProducer
2016-01-06 16:06:47 +01:00
Stefan Dollase
e4b1283253
added NETHER and NETHER_CHUNK as resolution
2016-01-06 15:05:32 +01:00
Stefan Dollase
7b5b50cd6e
added nether coordinates for nether fortresses
...
* the coordinates are still incorrect
* displayed overworld is actually nether
* displayed nether is just wrong
2016-01-06 14:51:45 +01:00
Stefan Dollase
1e457880a3
updated version to v4.0-beta2
2016-01-05 23:04:41 +01:00
Stefan Dollase
f98bd57e31
added more logging for parameters
2016-01-05 22:34:47 +01:00
Stefan Dollase
4c61d2e990
enhanced cli
...
* added -version and -help parameters
* fixed -mcjson parameter to be only used for the first loaded version directory
* fixed -mcjar and -mcjson, so only both can be used, or none of them
* in the case of a parameter parsing exception, the usage informations are now displayed
* made the usage information more readable
* sorted the parameters for the usage printing
* added logging for the used parameters
2016-01-05 22:21:02 +01:00
Stefan Dollase
c28b62513a
added command-line parameter for the biome color profiles directory
...
* changed default biome color profile directory to "biome-color-profiles"
2016-01-05 17:57:00 +01:00
Stefan Dollase
ac4eb98a59
made the message in the crash window uneditable
...
This is to prevent accidental changes while copying the crash report.
2016-01-05 17:08:21 +01:00
Stefan Dollase
4a9343c980
renamed WorldSurroundings to ViewerFacade
...
WorldSurroundings was always a placeholder, because I was not able to come up with something better. I think ViewerFacade is a better name.
2016-01-05 17:00:25 +01:00
Stefan Dollase
c6a84d5840
fixed a NullPointerException on startup
...
When Amidst is started without settings file, it creates a settings file with default values. One of the default values was null, which is not allowed as a value in a preference store. I changed it to use the empty String instead. I also added some checks to ensure this does not happen again.
2016-01-05 16:29:46 +01:00
Stefan Dollase
779bfcfc78
updated gui texts
...
* updated the How can I move a player dialog to match the description in the wiki
* updated text in about window
2016-01-05 13:08:50 +01:00
Stefan Dollase
12bcff927b
decreased the startup time ...
...
* by lazy initialization of the version list
* this puts the long running io operation in the background thread
* the gui is shown immediately
2016-01-05 12:35:05 +01:00
Stefan Dollase
dd06f9e4f8
adjusted when Amidst checks for updates
...
* previously, the check was executed every time the main window was initialized and when the user asked for it
* now, the check is executed once, when the application is started and when the user asked for it
2016-01-05 00:41:59 +01:00
Stefan Dollase
4332bd57cf
adjusted update mechanism
...
* switched to the github pages url
* switched to the json format
* added an optional message to the update information document
* removed the main window title from the metadata.properties, it is now created from the version parts
* added a developer tool to generate the update information json
2016-01-04 23:50:50 +01:00
Stefan Dollase
3196a317bd
added the new class AmidstVersion
2016-01-04 21:54:05 +01:00
Stefan Dollase
ca2184c9ea
updated version to v4.0-beta1
2016-01-04 15:59:24 +01:00
Stefan Dollase
65a78593eb
removed another outdated todo
2016-01-04 13:36:45 +01:00
Stefan Dollase
cca131775b
replaced occurrences of "AMIDST" by "Amidst", when used as a title, or "amidst", when used as an identifier
2015-12-30 19:52:04 +01:00
Stefan Dollase
93f3a24383
revisited the closing of resources
...
* made sure the resources are closed properly in all cases
* used the try-with-resources statement, that was introduced in java 7
2015-12-30 18:35:11 +01:00
Stefan Dollase
eb076e26a4
made drawing code more robust against unknown biome indices
2015-12-30 17:58:42 +01:00
Stefan Dollase
4d58a110d2
added catch clause for malformed uris
2015-12-26 20:39:38 +01:00
Stefan Dollase
792cff040a
removed missed tab
2015-12-25 17:24:49 +01:00
Stefan Dollase
6300675d69
added nbt suffix to classes representing nbt data, similar to the json and directory suffix
2015-12-25 16:55:22 +01:00
Stefan Dollase
6f7b5ac68d
added the @NotNull annotation for parameters
2015-12-25 16:49:38 +01:00
Stefan Dollase
4ff4613634
the biome color profile save mechanism now serializes the colorMap sorted by biome index
2015-12-25 16:46:16 +01:00
Stefan Dollase
2416ea365e
renamed the biome type constants to upper case
2015-12-25 16:09:45 +01:00
Stefan Dollase
9ea4c923d1
more formatting for the classes Biome and BiomeType
2015-12-25 16:01:58 +01:00
Stefan Dollase
5e1b317107
replaced tabs with spaces in the class Biome
2015-12-25 15:56:45 +01:00
Stefan Dollase
643828c22a
moved the world type setting constants to the class WorldType
2015-12-25 15:36:08 +01:00
Stefan Dollase
51bb8eb740
removed the tracking message from the world seed, since the google tracker is already removed
2015-12-24 14:49:37 +01:00
Stefan Dollase
5593b22f9d
updated version info to v4.0-alpha3
2015-12-24 04:17:04 +01:00
Stefan Dollase
9f1c93209e
extracted building of windows and mac wrappers to extra pom.xml files
...
* to prevent issues like the one that was fixed in commit 476f5a
* mac wrapper is still broken and thus disabled
2015-12-24 02:43:32 +01:00
Stefan Dollase
e0609cccdd
removed the google tracker
2015-12-23 23:58:10 +01:00
Stefan Dollase
5e2aa636ff
fixed the rule parsing for the loading of libraries
2015-12-23 23:47:18 +01:00
Stefan Dollase
5abcd10dba
updated amidst version to v4.0-alpha1
2015-12-23 20:45:15 +01:00
Stefan Dollase
3b5ed70158
added option in metadata resource file to disable google analytics tracking
2015-12-23 20:39:30 +01:00
Stefan Dollase
f85086ec29
improved message when player is asked for the world player type
2015-12-23 20:32:31 +01:00