-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More work on ShapeGen. Disable terraformer wands for release. Fix #37.…
… Rewrite ender inventory to be more reliable in saving and otherwise being there. Backwards compatible so no worries.
- Loading branch information
Showing
9 changed files
with
2,828 additions
and
1,361 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package da3dsoul.ShapeGen; | ||
|
||
/** | ||
* Created by Tom on 11/7/2015. | ||
*/ | ||
public abstract class RunnableGenerator implements Runnable { | ||
|
||
protected final int X; | ||
protected final int Y; | ||
protected final int Z; | ||
|
||
public RunnableGenerator(int x, int y, int z) { | ||
X = x; | ||
Y = y; | ||
Z = z; | ||
} | ||
|
||
public void run() { | ||
synchronized (this) { | ||
generate(); | ||
notify(); | ||
} | ||
} | ||
|
||
public abstract void generate(); | ||
} |
Oops, something went wrong.