Commit Graph

2671 Commits

Author SHA1 Message Date
wizjany
bed8a80894 Revert to Guava 17's firstNonNull.
Deprecated but Spigot doesn't include guava18 yet.
2015-11-13 20:17:56 -05:00
sk89q
0e200df5be Replace //set with new command version. 2015-10-29 18:20:27 -07:00
Albert Pham
86c6de7105 Add shortcut forest brush. 2015-10-29 13:16:22 -07:00
Albert Pham
fdfc3cdb33 Reorganize and further unify the new commands. 2015-10-29 13:05:04 -07:00
Albert Pham
25ad916611 Make ApplyCommand use SimpleCommand rather than ParameterCommand. 2015-10-28 14:08:47 -07:00
Albert Pham
6cfc60b2d6 Don't call next suggestion provider if there are no args left. 2015-10-28 14:08:29 -07:00
Albert Pham
cba32732a3 Add /br raise and /br lower as shortcuts for /br deform. 2015-10-28 13:50:07 -07:00
Albert Pham
98b61d0fbd Add a default suggested Deform expression. 2015-10-28 13:38:04 -07:00
Albert Pham
874408ad10 Make flags command executor-specific. 2015-10-28 13:37:58 -07:00
Albert Pham
f4bb5272e1 Update new commands with suggestion and help support. 2015-10-27 13:51:45 -07:00
sk89q
935de4c93d Add some experimental brush commands.
/br set <shape> <radius> <pattern>
/br deform <shape> <expression>
/br scatter <shape> <density> <generator>
/br apply <shape> <generator>

<shape> can be: cuboid, cyl[inder], sphere

<density> is 0-100

<generator> can be:
forest|tree <type>
item <item>[:<data>] (ONLY WORKS ON FORGE)

Examples:

/br deform cuboid 5 y-=0.2
/br scatter sphere 5 100 minecraft:dye:15
2015-10-26 23:14:30 -07:00
sk89q
b19cd9bec4 [Forge] Fixed tree generation but undo is not yet supported. 2015-09-30 23:54:01 -07:00
Kenzie Togami
7945b5ce25 Align windows and linux directions 2015-09-15 18:10:22 -07:00
Kenzie Togami
22fc3c6991 Revert "Tell people to use setupDevWorkspace rather than setupDecompWorkspace"
Issue was fixed in commit 173f832352

This reverts commit 121d77ccf6.
2015-09-15 18:08:08 -07:00
wizjany
9a65bdb72d Fix cycler tool trying to set negative data values.
Fixes WORLDEDIT-3325.
2015-07-31 12:46:51 -04:00
wizjany
1dd6faf786 Actually for real fix unit tests.
I promise this time.
Seriously though, who makes unit tests depend on some old,
hardcoded file that isn't even updated anymore.
2015-07-17 07:51:41 -04:00
Wizjany
2aad68f80d Fix BlockData causing unit test to fail
Yes, even though north/south and south/north anvils LOOK the same, they are in fact different data values.
2015-07-17 04:48:09 -04:00
Wizjany
a28acdd6a8 Merge pull request #334 from OvercastNetwork/master
Fix unfortunate typo in AffineTransform
2015-07-15 10:08:58 -04:00
Wizjany
7586c19bb3 Revert changes to skull rotation.
Because it's stored in nbt. This should fix unit tests.
Someone reported rotation to be broken though, so this potentially rebreaks it?
2015-07-15 10:08:43 -04:00
Jedediah Smith
49fde59716 Fix unfortunate typo in AffineTransform 2015-07-15 08:03:13 -04:00
wizjany
1e6e54b85a Add/Fix rotation values for several blocks.
Torches, redstone torches, anvils, iron trapdoors, and skull should all rotate correctly now.
Doors are still missing data.
Fixes WORLDEDIT-3307, WORLDEDIT-3273.
2015-07-06 00:06:41 -04:00
wizjany
025591e6d9 Don't double-check for symlinks while loading schematics.
Fixes WORLDEDIT-3310.
2015-06-19 18:28:25 -04:00
sk89q
b4d574273d Add more random tree types. 2015-06-05 00:30:14 -07:00
sk89q
e6662d7519 Make some minor corrections in TreeGenerator. 2015-06-04 23:54:25 -07:00
sk89q
270e988b60 2015 called: they are called "oak" and "spruce" now. 2015-06-04 23:26:23 -07:00
Kenzie Togami
ec5de0f22f Cleanup unused imports 2015-05-31 15:59:40 -07:00
wizjany
642f2a1f58 Fix entities copying to original location.
Fixes WORLDEDIT-3275.
2015-05-29 16:18:58 -04:00
sk89q
78a8683df3 Set project version to 6.1.1-SNAPSHOT. 2015-05-28 15:05:04 -07:00
sk89q
e0b160e0f0 Set project version to 6.1 for release. 2015-05-28 14:55:43 -07:00
sk89q
b5072c8d46 Update changelog. 2015-05-28 13:47:24 -07:00
wizjany
a3a4039646 Added Bukkit adapter for 1.8 R3 (1.8.4-1.8.6 atm). 2015-05-28 15:38:02 -04:00
Wizjany
58aac973af Merge pull request #323 from flaminscotsman/CommandExceptions
Fix command exceptions.
2015-03-13 14:30:54 -04:00
flamin_scotsman
d5914e52e1 Fix ExceptionHandler compareTo method.
The previous implementation violated the contract that compareTo must be behave the same way when operands are reversed and that it is transitive. Any classes that were not equal, or a superclass of another were returned as being "less than".

The new implementation tests if classes are superclasses of each other, otherwise falls back to alphabetical sorting on canonical name.

While this did not manifest in 1.6, the replacement sort algorithm in 1.8 (TimSort) caused the sorting to appear random due to apparently contiguous sections being consumed, then sorted in bulk.
2015-03-13 16:04:55 +00:00
Wizjany
2db5d8b11a Merge pull request #322 from flaminscotsman/tools_fix
Fix for WORLDEDIT-3270
2015-03-11 00:36:35 -04:00
Wizjany
b551512f27 Merge pull request #321 from Dumbo52/master
Add stone + banners to usesData HashSet.
2015-03-11 00:32:41 -04:00
wizjany
604b1d8515 Added Bukkit adapter for 1.8.3. 2015-03-10 23:49:02 -04:00
flamin_scotsman
f71d037a35 Change cycler tool to use EditSession rather than changing the world directly 2015-03-10 21:55:51 +00:00
flamin_scotsman
0d347a3837 Fix incorrect instantiation of BlockBag and EditSession in two of the tools.
Used EditSessionFactory rather than getting the EditSession from the local session.
2015-03-10 21:51:35 +00:00
Wizjany
2fedcf8019 Add rotation values to lit redstone torches.
Fixes WORLDEDIT-3273.
2015-03-06 15:22:55 -05:00
Dumbo52
440cee3539 Add banners to usesDamageValue HashSet. 2015-03-06 01:42:22 -05:00
Dumbo52
55f1f42ebf Add stone to usesData HashSet. 2015-02-28 18:46:49 -05:00
sk89q
1209e48470 Merge pull request #320 from Dumbo52/master
Fix imprecise rotations bug.
2015-02-21 16:10:37 -08:00
Dumbo52
8b2bf84b5e Fix imprecise rotations bug.
The bug this fixes is documented here: http://youtrack.sk89q.com/issue/WORLDEDIT-3220
2015-02-21 17:52:22 -05:00
sk89q
2009344058 Fix entity rotation. 2015-02-20 21:23:54 -08:00
sk89q
7257c7bb2b Don't transform entity positions if the isIdentity() == true. 2015-02-20 21:09:48 -08:00
Wizjany
173f832352 Merge pull request #318 from kenzierocks/use-guava-18
Force Guava 18
2015-02-12 18:52:09 -05:00
Kenzie Togami
06f59c6576 Force Guava 18 2015-02-12 13:30:49 -08:00
wizjany
ddc741147e Fix button rotation, add support for up/down flipping and restore unit test functionality. 2015-01-23 00:28:05 -05:00
wizjany
ec9c77c31b Excluded armor stands from //butcher by default.
Someone got lazy and just made armor stands a living entity instead of extracting an ArmorEquippable interface.
2015-01-22 15:54:01 -05:00
TomyLobo
dc6ffae500 Fixed /butcher text in the case of only one mob being killed. 2015-01-21 09:46:35 +01:00