Skip to content

Refactoring #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1,113 commits into from
Jan 4, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1113 commits
Select commit Hold shift + click to select a range
d41b914
removed the methods Application.setWorld and Application.finishedLoad…
stefandollase Dec 8, 2015
b0360e8
moved classes to the new package amidst.threading
stefandollase Dec 8, 2015
82d9474
removed the method World.getMinecraftInterface
stefandollase Dec 8, 2015
7a5af57
more refactorings for the class Application
stefandollase Dec 8, 2015
cae9cce
fixed initialization order in the class World
stefandollase Dec 8, 2015
e4fd3ac
fixed an issue that caused hidden widgets to not become visible again
stefandollase Dec 8, 2015
b22b56e
removed the check for updates methods from the class Application
stefandollase Dec 8, 2015
7016ac9
fixed a bug that caused the main window to not show the recognised mi…
stefandollase Dec 8, 2015
3d85072
Merge branch 'refactoring-gui' into refactoring
stefandollase Dec 8, 2015
d649d23
fixed another initalization issue in the class World
stefandollase Dec 8, 2015
f7cb4f7
more refactorings for the mojangapi
stefandollase Dec 8, 2015
42dd1c3
more refactorings for the class LocalMinecraftInterface
stefandollase Dec 8, 2015
5d9f323
more refactorings for the class MojangApi
stefandollase Dec 8, 2015
5c9658d
enabled the switch profile menu entry
stefandollase Dec 8, 2015
0815c0e
removed the last warning
stefandollase Dec 8, 2015
d44ec5c
renamed packages and moved classes
stefandollase Dec 8, 2015
abc8a8d
extracted the class DefaultClassTranslator from the class LocalMinecr…
stefandollase Dec 8, 2015
b362d93
renamed the interface IMinecraftInterface to MinecraftInterface
stefandollase Dec 8, 2015
7b0103e
removed unused classes
stefandollase Dec 8, 2015
41eb542
applied eclipse formatting to the project
stefandollase Dec 8, 2015
b9ee4b3
the player moving function now asks the user to enter the new player …
stefandollase Dec 8, 2015
d4dc21a
added a menu entry to reload player positions from the save folder
stefandollase Dec 8, 2015
8f14bed
the class WorldLoader now uses the class SaveDirectory directly
stefandollase Dec 8, 2015
e9bb9bf
split the class PlayerMover in two classes MultiPlayerPlayerMover and…
stefandollase Dec 8, 2015
58c97ad
removed the class WorldLoader
stefandollase Dec 8, 2015
7d117a2
moved classes
stefandollase Dec 8, 2015
ae215be
created the players menu with a description about how players can be …
stefandollase Dec 8, 2015
d8dae22
fixed the creation of the backup directories
stefandollase Dec 8, 2015
a86432c
fixed an issue that caused the players to loose their skins after rel…
stefandollase Dec 8, 2015
65a6654
asking the player to save player locations after a player was moved
stefandollase Dec 8, 2015
3ee5a58
the skinloader now only loads skins on multiplayer worlds, since the …
stefandollase Dec 8, 2015
56265ee
fixed the jar file downloader
stefandollase Dec 8, 2015
a79090b
added implementation for another skin loading api, added a cache for …
stefandollase Dec 9, 2015
8406f05
moved a class
stefandollase Dec 9, 2015
3700e6f
removed the ismultiplayer flag from the class World
stefandollase Dec 9, 2015
a7e3555
added the @GsonConstructor annotation
stefandollase Dec 9, 2015
44677d2
removed the skin loader from the class ThreadMaster
stefandollase Dec 9, 2015
319797a
moved the class SkinLoader
stefandollase Dec 9, 2015
f010c10
added annotations and an enum to document the threading, started to u…
stefandollase Dec 9, 2015
81a0671
added lots of @CalledOnlyBy(AmidstThread.FRAGMENT_LOADER) annotations…
stefandollase Dec 9, 2015
1193388
added all the @CalledOnlyBy(AmidstThread.REPAINTER) annotations
stefandollase Dec 9, 2015
0d13a78
added more threading documentation
stefandollase Dec 9, 2015
9770c9e
more threading documentation, removed many direct references to the w…
stefandollase Dec 9, 2015
1bcbdab
made all the cached world icon producers thread-safe
stefandollase Dec 9, 2015
46a1ca2
adjusted dev tool settings
stefandollase Dec 9, 2015
52eacf6
removed unnecessary conversion of the world type to string and back t…
stefandollase Dec 9, 2015
57ede0c
made the class Player thread-safe
stefandollase Dec 9, 2015
ef3e5e0
added the class WorldBuilder
stefandollase Dec 9, 2015
51f57cb
created the class WorldSeed
stefandollase Dec 10, 2015
077ccf5
used the class WorldSeed directly by the class SeedPrompt
stefandollase Dec 10, 2015
e1a2e28
made the google tracker non-static
stefandollase Dec 10, 2015
1a871b2
made the google tracker thread safe
stefandollase Dec 10, 2015
f305e30
fixed an issue that caused the google tracker to track null values fo…
stefandollase Dec 10, 2015
f8e0fda
added the class MovePlayerPopupMenu, passed a reference to the menu a…
stefandollase Dec 10, 2015
f4ed2c5
moved and renamed classes
stefandollase Dec 10, 2015
a61a1c9
switched the class SeedPrompt to use a JPanel instead of an array of …
stefandollase Dec 10, 2015
8803cd7
reworked the askForPlayerHeight dialog
stefandollase Dec 10, 2015
7209608
the menu entry reload player locations is now enabled independently o…
stefandollase Dec 10, 2015
5133b2f
simplified threading by removing lots of null checks
stefandollase Dec 10, 2015
780effd
updated threading documentation
stefandollase Dec 10, 2015
4db2a12
restructured the menu structure, added menu entry to go to the world …
stefandollase Dec 10, 2015
d7bda1c
revisited the Mnemonics, added titles to the option panes
stefandollase Dec 10, 2015
6b1c8be
adjusted license list width to avoid that a license name is cut
stefandollase Dec 10, 2015
2a3c348
revisited the version component drawing and what is displayed
stefandollase Dec 10, 2015
7ef688c
started to add threading documentation to the mojang api
stefandollase Dec 10, 2015
6288f73
added threading documentation to the mojang api directory classes
stefandollase Dec 10, 2015
1133c1e
added threading documentation to the nbt packages of the mojang api
stefandollase Dec 10, 2015
d5b96f5
started to apply threading documentation to the package amidst.clazz
stefandollase Dec 10, 2015
1cd13b7
removed the inner class RealClassFactory
stefandollase Dec 10, 2015
ff56587
removed unused method
stefandollase Dec 10, 2015
ca98551
moved the actual building to the construct method
stefandollase Dec 10, 2015
8e91198
reordered methods
stefandollase Dec 10, 2015
831a085
more refactorings for the class RealClass.Builder
stefandollase Dec 10, 2015
5070d90
more refactorings for the class RealClass.Builder
stefandollase Dec 10, 2015
4188e9b
removed the constant offset, since it was never used
stefandollase Dec 10, 2015
56c88ca
renamed tag to type
stefandollase Dec 10, 2015
4dfe3fa
more refactorings for the inner class RealClass.Builder
stefandollase Dec 10, 2015
5d1088f
changed the type of stringIndices to the type of the value, since onl…
stefandollase Dec 10, 2015
f26b8b6
more refactorings for the inner class RealClass.Builder
stefandollase Dec 10, 2015
948add7
more refactorings for the inner class RealClass.Builder
stefandollase Dec 10, 2015
64dc1db
more refactorings for the inner class RealClass.Builder
stefandollase Dec 10, 2015
1988d57
made all instance variables of the class RealClass final
stefandollase Dec 10, 2015
6d6ee4c
extracted inner classes from the class RealClass
stefandollase Dec 10, 2015
639010d
made the class RealClassBuilder immutable
stefandollase Dec 10, 2015
2e54c2b
reordered methods
stefandollase Dec 10, 2015
a02b09e
more refactorings and clarifications for the class RealClass
stefandollase Dec 10, 2015
d5c4d8b
more refactorings for the class RealClass
stefandollase Dec 10, 2015
257122f
made the class RealClass immutable
stefandollase Dec 11, 2015
c01ca7c
more refactorings and clarifications for the class RealClass
stefandollase Dec 11, 2015
99041be
more threading documentation and
stefandollase Dec 11, 2015
ed37fd5
revisited the building of the symbolic class graph and added document…
stefandollase Dec 11, 2015
c441f14
more threading changes and documentation
stefandollase Dec 11, 2015
a795837
finished revisiting the package amidst.clazz under the threading aspect
stefandollase Dec 11, 2015
00b629d
more documentation and refactorings related to threading
stefandollase Dec 11, 2015
3c53143
fixed an issue that caused the RealClassBuilder to fail
stefandollase Dec 11, 2015
cef9e50
extracted the actual player moving code to a new class
stefandollase Dec 11, 2015
8ffb3b4
extracted the player location loading code to a new class
stefandollase Dec 11, 2015
9a5ad96
added the package ...nbt.playerfile
stefandollase Dec 11, 2015
47e3b87
moved classes to new package
stefandollase Dec 11, 2015
4bd7152
replaced the player loader and player mover mechanism by the player f…
stefandollase Dec 11, 2015
dbd760a
fixed an issue with the url for loading the player profile
stefandollase Dec 11, 2015
882de1d
adjusted player loading algorithm
stefandollase Dec 11, 2015
9eb63d5
added mechanism for the user to decide if the map should be loaded as…
stefandollase Dec 11, 2015
91690a8
added the classes PlayerInformaton and PlayerInformationCache
stefandollase Dec 11, 2015
f635de9
replaced the skin loader by the player information cache
stefandollase Dec 11, 2015
a04957d
moved player loading to worker
stefandollase Dec 11, 2015
76477d0
added a lot of threading documentation
stefandollase Dec 12, 2015
e1d01a3
more threading documentation
stefandollase Dec 12, 2015
b34e6be
more threading documentation, moved classes
stefandollase Dec 12, 2015
72fba9e
added threading documentation to the logging package
stefandollase Dec 12, 2015
7079275
added more documentation about the fragment life-cycle and threading
stefandollase Dec 12, 2015
5e6a579
refactored the pref models
stefandollase Dec 12, 2015
7f0a16f
added the class PrefModelBase
stefandollase Dec 12, 2015
79b8fee
moved classes to new package
stefandollase Dec 12, 2015
18a5492
renamed and moved classes: switched from prefmodel to setting
stefandollase Dec 12, 2015
c72f883
replaced all occurances of the keywords option and preference by the …
stefandollase Dec 12, 2015
118e739
finished making the settings thread-safe
stefandollase Dec 12, 2015
1f2b88d
restructured the gui packages
stefandollase Dec 12, 2015
993ab57
fixed initialization order for SettingBase
stefandollase Dec 12, 2015
d822f1f
started to add threading documentation to gui
stefandollase Dec 12, 2015
a47ed0b
refactored the update code
stefandollase Dec 12, 2015
25b8f9c
added support for exceptions in workers
stefandollase Dec 12, 2015
98a55a3
moved the check for updates to a worker thread
stefandollase Dec 12, 2015
ef047fc
added more threading documentation for the GUI
stefandollase Dec 12, 2015
dcc8392
added threading documentation to the package amidst.gui.main.worldsur…
stefandollase Dec 13, 2015
3dd3d35
fixed scale widget to work fine with unrestricted zooming
stefandollase Dec 13, 2015
be160ab
finished the threading documentation
stefandollase Dec 13, 2015
b5c619b
split the method Widget.draw properly to Widget.draw and Widget.update
stefandollase Dec 13, 2015
b2abd24
added the class TextWidget
stefandollase Dec 13, 2015
003177d
renamed the class SeedWidget to ImmutableTextWidget
stefandollase Dec 13, 2015
3527cbd
replaced the method Widget.forceVisibility by the instance variable W…
stefandollase Dec 13, 2015
6c5b101
fixed an issue that caused the seed to be drawn without background
stefandollase Dec 13, 2015
79c9a03
added the class IconTextWidget
stefandollase Dec 13, 2015
a91ab57
added the classes ImmutableIconWidget and MultilineTextWidget
stefandollase Dec 13, 2015
e62d36c
fixed an issue that caused the menu icons to be missing
stefandollase Dec 13, 2015
25f9c53
moved the exception handling from the symbolic classes to the class L…
stefandollase Dec 14, 2015
f26827d
started to revisit the exception and crash handling
stefandollase Dec 14, 2015
a0a6b63
more refactorings for the exception handling
stefandollase Dec 14, 2015
15e1ee7
fixed an issue that caused the version select panel to block complete…
stefandollase Dec 14, 2015
cf18ab0
the version select window now displays an error message when the laun…
stefandollase Dec 14, 2015
976cdfb
simplified crash handling
stefandollase Dec 14, 2015
c3613f0
more refactorings for the excaption handling during the real class cr…
stefandollase Dec 14, 2015
878351a
removed the static variable Amidst.application
stefandollase Dec 14, 2015
020e9e4
merged the interfaces Worker and ExceptionalWorker
stefandollase Dec 14, 2015
fa45b86
more refactorings for the worker classes
stefandollase Dec 14, 2015
1be0349
renamed classes from VersionSelect to ProfileSelect
stefandollase Dec 14, 2015
29f0669
more refactorings for the exception handling
stefandollase Dec 14, 2015
76257c0
extracted the inner class ParameterDeclaration from the class Symboli…
stefandollase Dec 14, 2015
16add53
refactored exception handling for the symbolic class detection, excep…
stefandollase Dec 14, 2015
7fbb1fb
added isOptional flag to the declaration classes
stefandollase Dec 14, 2015
13ac25c
adjusted default class translator to represent what classes and featu…
stefandollase Dec 14, 2015
798d734
removed unused method and field declarations from the default class t…
stefandollase Dec 14, 2015
7cb3da0
made the class MinecraftVersionCompatibilityChecker use the optionali…
stefandollase Dec 14, 2015
aded75f
added the missing method declaration initializeAllBiomeGenerators(lon…
stefandollase Dec 14, 2015
2a4f14f
extracted all used symbolic names to constants in the new class Symbo…
stefandollase Dec 14, 2015
bff4c9d
more refactorings for the class LocalMinecraftInterface
stefandollase Dec 14, 2015
a3ffa73
replaced previously missed symbolic names with constants
stefandollase Dec 14, 2015
b75e661
fixed an issue that caused the profile select window to not display u…
stefandollase Dec 15, 2015
dfffa46
added the version 1.5.2 to the recognized versions
stefandollase Dec 15, 2015
726c0db
adjusted the output for the recognised minecraft version
stefandollase Dec 15, 2015
8a36c6b
moved the custom exceptions to extra files
stefandollase Dec 15, 2015
1cae306
more refactorings for the class LocalMinecraftInterfaceBuilder
stefandollase Dec 15, 2015
1c4eac5
finished to revisit the exception handling for now
stefandollase Dec 15, 2015
0b318e6
added official minecraft version id to main window title, removed out…
stefandollase Dec 15, 2015
56eaa05
rename refactorings
stefandollase Dec 15, 2015
ff1ea4f
fixed an issue that caused the world to not be centered on 0,0 when f…
stefandollase Dec 15, 2015
05e1363
revisited, clarified and fixed some todos
stefandollase Dec 15, 2015
5e972be
made singleplayer the default world player type when the user is aske…
stefandollase Dec 15, 2015
b69ebc1
removed another todo
stefandollase Dec 15, 2015
306532a
added todo
stefandollase Dec 16, 2015
55aa920
removed the int variants of the coordinate utils methods
stefandollase Dec 16, 2015
32f478e
removed unused declarations in the class DefaultClassTranslator, sinc…
stefandollase Dec 16, 2015
283c166
renamed the instance variable WorldType.value to symbolicFieldName
stefandollase Dec 16, 2015
8d2d830
removed the class ColorUtils
stefandollase Dec 16, 2015
4e516ec
moved the classes SeedHistoryLogger and URIUtils
stefandollase Dec 16, 2015
c77d958
moved the class CoordinateUtils, removed the classes JavaUtils and Pl…
stefandollase Dec 16, 2015
62c0de3
removed the class FileSystemUtils
stefandollase Dec 16, 2015
5daef55
moved the class GoogleTracker
stefandollase Dec 16, 2015
5b6cb27
moved classes
stefandollase Dec 16, 2015
2008638
applied eclipse formatting to the complete project
stefandollase Dec 16, 2015
8b686fe
restructured the resources
stefandollase Dec 16, 2015
a45e70d
rename refactorings to clarify optional and required elements in clas…
stefandollase Dec 19, 2015
bb6c92c
removed the unused library js.jar (rhino), because it has a GPL incom…
stefandollase Dec 19, 2015
0449e0b
formatting ...
stefandollase Dec 19, 2015
2ca5d1a
updated to java version 8
stefandollase Dec 19, 2015
eb1b26a
applied eclipse formatting to the file build.xml
stefandollase Dec 19, 2015
1d48a84
removed junit4 from the classpath for now
stefandollase Dec 19, 2015
c402bc7
converted the project to a maven project
stefandollase Dec 19, 2015
91e3365
switched to the default maven project layout
stefandollase Dec 19, 2015
a2d9895
added the configuration for the maven-assembly-plugin to the file pom…
stefandollase Dec 19, 2015
679424b
removed the license for kryonet, because the library was already removed
stefandollase Dec 19, 2015
4eb9add
adjusted the pom.xml
stefandollase Dec 19, 2015
7ec22ca
added source encoding to pom.xml to removed warnings
stefandollase Dec 19, 2015
e0a6576
removed the last maven warnings
stefandollase Dec 19, 2015
00eb5f0
added junit4 as testing dependency, converted coordinate conversion t…
stefandollase Dec 19, 2015
8fa387c
fixed a typo in the pom.xml, so the generated jar file is now actuall…
stefandollase Dec 20, 2015
e2c6f3f
added information about the build process
stefandollase Dec 20, 2015
1bfdf48
added a .travis.yml to automatically execute all tests with travis-ci
stefandollase Dec 20, 2015
abc58fe
temporarily added travis build status to the readme ... should switc…
stefandollase Dec 20, 2015
8dc548e
added jdk version oraclejdk8 to the .travis.yml
stefandollase Dec 20, 2015
0051327
added link to travis-ci build page
stefandollase Dec 20, 2015
d1c83d1
removed the ant build.xml script, since it was replaced by the maven …
stefandollase Dec 20, 2015
d13b08d
adjusted the pom.xml
stefandollase Dec 20, 2015
468475a
fixed an issue that caused the devtools to have lots of compile errors
stefandollase Dec 20, 2015
dab0570
made amidst use the resource file metadata.properties
stefandollase Dec 20, 2015
be34d6f
added the github releases as deployment mechanism to the .travis.yml
stefandollase Dec 20, 2015
d7c5933
fixed a execution permission issue with the .travis.yml
stefandollase Dec 20, 2015
aa7f93e
adjusted the build process to generate the windows and mac executable…
stefandollase Dec 20, 2015
c8f0a59
fixed an issue with the travis-build
stefandollase Dec 20, 2015
6ac0ed8
fixed an issue with the travis ci build
stefandollase Dec 20, 2015
d2c595a
moved the apt commands to the before_deploy section
stefandollase Dec 20, 2015
8ff3ff6
removed unused code
stefandollase Dec 21, 2015
f7f4cd4
fixed an issue that caused amidst to crash when the launcher_profiles…
stefandollase Dec 22, 2015
476f5a5
fixed an issue that was introduced in commit #aa7f93
stefandollase Dec 22, 2015
1af4b6a
added a .gitkeep file to the directory src/test/resources to get it t…
stefandollase Dec 22, 2015
43c01c1
removed the "sudo: required" from the .travis.yml by using the apt addon
stefandollase Dec 22, 2015
fbfde3a
removed the method ResourceLoader.getResourceAsPath, since it did not…
stefandollase Dec 22, 2015
ef4ae18
made the mojang api more robust against exceptions caused by parsing …
stefandollase Dec 23, 2015
ef90841
removed most of the general catch clauses
stefandollase Dec 23, 2015
577d541
version list cannot be null
stefandollase Dec 23, 2015
f85086e
improved message when player is asked for the world player type
stefandollase Dec 23, 2015
3b5ed70
added option in metadata resource file to disable google analytics tr…
stefandollase Dec 23, 2015
5abcd10
updated amidst version to v4.0-alpha1
stefandollase Dec 23, 2015
5e2aa63
fixed the rule parsing for the loading of libraries
stefandollase Dec 23, 2015
e0609cc
removed the google tracker
stefandollase Dec 23, 2015
9f1c932
extracted building of windows and mac wrappers to extra pom.xml files
stefandollase Dec 24, 2015
73d96e6
switched from the maven-assembly-plugin to the maven-shade-plugin
stefandollase Dec 24, 2015
7088cc5
fixed an issue with the travis deploy process
stefandollase Dec 24, 2015
58d5425
fixed another issue with the travis build
stefandollase Dec 24, 2015
5593b22
updated version info to v4.0-alpha3
stefandollase Dec 24, 2015
368f243
added documentation
stefandollase Dec 24, 2015
51bb8eb
removed the tracking message from the world seed, since the google tr…
stefandollase Dec 24, 2015
39411e7
actually removed the JGoogleAnalytics library
stefandollase Dec 24, 2015
9bd0b68
fixed typos in readme
stefandollase Dec 24, 2015
643828c
moved the world type setting constants to the class WorldType
stefandollase Dec 25, 2015
5e1b317
replaced tabs with spaces in the class Biome
stefandollase Dec 25, 2015
9ea4c92
more formatting for the classes Biome and BiomeType
stefandollase Dec 25, 2015
2416ea3
renamed the biome type constants to upper case
stefandollase Dec 25, 2015
4ff4613
the biome color profile save mechanism now serializes the colorMap so…
stefandollase Dec 25, 2015
2db55b9
removed the default-sorted biome color profile, since it is unused
stefandollase Dec 25, 2015
6f7b5ac
added the @NotNull annotation for parameters
stefandollase Dec 25, 2015
6300675
added nbt suffix to classes representing nbt data, similar to the jso…
stefandollase Dec 25, 2015
792cff0
removed missed tab
stefandollase Dec 25, 2015
4d58a11
added catch clause for malformed uris
stefandollase Dec 26, 2015
eb076e2
made drawing code more robust against unknown biome indices
stefandollase Dec 30, 2015
93f3a24
revisited the closing of resources
stefandollase Dec 30, 2015
cca1317
replaced occurrences of "AMIDST" by "Amidst", when used as a title, o…
stefandollase Dec 30, 2015
693bb09
added information about how the build process is configured
stefandollase Dec 30, 2015
5fb671c
replaced "amidst" by "Admist" where it is used as a title
stefandollase Dec 30, 2015
65a7859
removed another outdated todo
stefandollase Jan 4, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
45 changes: 34 additions & 11 deletions .classpath
Original file line number Diff line number Diff line change
@@ -1,14 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="lib" path="lib/JGoogleAnalytics_0.4.jar"/>
<classpathentry kind="lib" path="lib/JNBT_1.3.jar"/>
<classpathentry kind="lib" path="lib/gson-2.2.4.jar"/>
<classpathentry kind="lib" path="lib/miglayout-4.0-swing.jar"/>
<classpathentry kind="lib" path="lib/args4j-2.0.21.jar"/>
<classpathentry kind="lib" path="lib/js.jar"/>
<classpathentry kind="lib" path="lib/kryonet-2.21-all.jar"/>
<classpathentry kind="output" path="bin"/>
<classpathentry kind="src" path="src/devtools/java"/>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@
/logs
/nbproject
/build

history.txt
target/
/dependency-reduced-pom.xml
8 changes: 7 additions & 1 deletion .project
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>AMIDST</name>
<name>amidst</name>
<comment></comment>
<projects>
</projects>
Expand All @@ -10,8 +10,14 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
5 changes: 5 additions & 0 deletions .settings/org.eclipse.core.resources.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/main/resources=UTF-8
encoding//src/test/java=UTF-8
encoding//src/test/resources=UTF-8
8 changes: 5 additions & 3 deletions .settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.8
4 changes: 4 additions & 0 deletions .settings/org.eclipse.m2e.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
29 changes: 29 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
language: java
jdk:
- oraclejdk8
addons:
apt:
packages:
- libc6:i386 # these two packages are needed by the launch4j maven plugin to work
- libstdc++6:i386
before_install:
- mvn clean # this actually installs a dependency
before_deploy:
- bash travis-ci/scripts/create-mac-icon.sh
- bash travis-ci/scripts/create-windows-icon.sh
- mvn package -DskipTests=true -f travis-ci/wrapper-for-mac/pom.xml
- mvn package -DskipTests=true -f travis-ci/wrapper-for-windows/pom.xml
- bash travis-ci/scripts/zip-and-move-wrapper-for-mac.sh
- export filename=$(bash travis-ci/scripts/get-amidst-filename.sh)
deploy:
provider: releases
api-key:
secure: QMXa1QpW+mlTLlxCbKOAWIRUi2cR+Y2vMQDlwiV8BoUyZchvTBR+stDYuEdxd2fK8/aSRUWEgfUhKMJ4cIZEOOwz/UA/1RQmzumbFLexwTwDXfkTfCcDQFLtzywVoep2P3s1lpheo4f1G3z2sZTCxO5yRnpd/sBtWnaq3j5uifYZB+mv84eH+EsrQL7f+0KjycOPrAdiJ8xh/2twUtGMhaStrnhcH+RCi6qm6D5Dv4mwYM4wRxG3H9i2NceGa6lHIE4bU+kKY9lc3V6EzmTnnShwEcrf+4/ZfCe4A9aU3jzFhKCHKpJ4PlqLEtMeQ08ijaMrF4LaBqwRZ5il5nqKkFdfKOtx7EHqjxrQ1dT7JUXU/3lTfEX/DLbhPa3z5Tl9LgCu9flCS+ltQoPvx7MR1leaQeHNoFCfzWJQ8ytW2CEhnOqx3nr4AIW8q5akJxQB7USfHV5F8kw2T6QmzuniQRZex+15j9SLedaDXZCvno6C0+j59sABpiF9lRVww8jW6BxqklxDcjEtkMxyHiBCG0EgGlKJvVSyGGzDsjb8FweC1KQKBHuG+5UYNE1rJesj6rwfIIrbInjJRTPndb4GpuzzbqbTGxwHd2zqzkQhnxSjCoKIzyhpBzfyCJaqTv/DfimSc95sXH1w1d6zfcO01MkopXYUSlHvr/Rjxh8vE8U=
file:
- "target/${filename}.jar"
- "target/${filename}.zip"
- "target/${filename}.exe"
skip_cleanup: true
on:
repo: stefandollase/amidst
tags: true
81 changes: 0 additions & 81 deletions Default-sorted.json

This file was deleted.

95 changes: 91 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,98 @@
AMIDST
Amidst
======

[![Build Status](https://travis-ci.org/stefandollase/amidst.svg)](https://travis-ci.org/stefandollase/amidst)

Advanced Minecraft Interface and Data/Structure Tracking

Where can I get Amidst?
-----------------------

You can download Amidst [here](https://github.com/skiphs/amidst/releases/latest). If you find any bugs, please [report](https://github.com/skiphs/amidst/issues/new) them so we can fix them. If you want to request a feature, you can to this [here](https://github.com/skiphs/amidst/issues/new). If you want to help develop Amidst, please get in contact [here](https://github.com/skiphs/amidst/issues/new). Lastly, [here](https://github.com/stefandollase/amidst/blob/refactoring/docs/BUILDING.md) is a description how you can build Amidst by yourself.

What is Amidst?
---------------

What it **can** do for you:

* generate an overview of a Minecraft world from a given seed and a given Minecraft version
* display biome information
* display slime chunks
* display structures
* default world spawn
* strongholds
* desert temples
* jungle temples
* witch huts
* villages
* ocean monuments
* nether fortresses

When the world is loaded from a Minecraft world file, Amidst **can** also:

* display singleplayer and multiplayer player locations
* load player skins
* move players to another location, including the y-coordinate

What it **cannot** do for you:

* display changes to the world, that are made after the world generator was finished, this includes
* changes made by world editors like MCEdit
* changes made while loading the world in Minecraft
* find individual blocks or mobs in the world like e.g.
* diamond ore
* cows

More features include:

* saving an image of the map

Which Minecraft versions are supported?
---------------------------------------

We support Minecraft versions from 1.0 up to the latest snapshot. If you find an issue with a specific Minecraft version, [please report it](https://github.com/skiphs/amidst/issues/new).

How can I move a player?
------------------------

You can move players in a world that was loaded from a Minecraft world file like so:

* scroll to and right-click on the new player location, this opens a popup menu
* select the player you want to move
* enter the new y-coordinate
* save player locations

**WARNING: This will change the contents of the save folder, so there is a chance that the world gets corrupted. We try to minimize the risk by creating a backup of the changed file, before it is changed. If the backup fails, we will not write the changes. You can find the backup files in a sub folder of the world, named 'amidst_backup'. Especially, make sure to not have the world loaded in minecraft during this process.**

When I load a world file I am asked what whether I want to load the Singleplayer of Multiplayer players. What does it mean?
---------------------------------------------------------------------------------------------------------------------------

Minecraft worlds have three different locations to store player information:

* the `level.dat` file contains the singleplayer player
* the `players` directory contains all multiplayer players by name, this was used before Minecraft 1.7.6
* the `playerdata` directory contains all multiplayers players by uuid, this is used since Minecraft 1.7.6

If the `players` and the `playerdata` directory exist, we will simply ignore the `players` directory, since it contains outdated information. However, other situations cannot be decided automatically. If the world was only used by a server, there will be no player information in the `level.dat`, so we will just load the multiplayer players. However, if the map was ever loaded as a singleplayer world, the `level.dat` file will create singleplayer information. Also, the `playerdata` directory will contain information about all the players that used the world as singleplayer world. Of course we could just display the singleplayer player and the multiplayer players, however this might lead to an issue when you want to move the singleplayer player. When the world is loaded as singleplayer world, Minecraft will simply ignore and overwrite the information in the multiplayer directory, that belongs to the player that opened the world. Thus, if you move your player instead of the singleplayer player, this will have no effect.

**tl;dr** If you use the world just as a singleplayer world, simply choose Singleplayer.

What is the internet used for?
-------------------

* Amidst v3.7 was the last version that used google analytics, so we do no longer track you
* Amidst will check for updates on every start
* Amidst will use web services provided by mojang, e.g. to
* display information about minecraft versions
* display information about players like the name or the skin

General information
-------------------

Amidst is not owned by or related to mojang in any way.

License and warranty
--------------------

AMIDST comes with ABSOLUTELY NO WARRANTY. It is free software, and you are
welcome to redistribute it under certain conditions. See LICENSE.txt for more
details on both of these points.
Amidst comes with ABSOLUTELY NO WARRANTY. It is free and open source software, license under the
[GPL v3](https://github.com/skiphs/amidst/blob/master/LICENSE.txt), and you are welcome to redistribute it under certain conditions.
Loading