Commit Graph

2058 Commits

Author SHA1 Message Date
sk89q
7243b2a05d Write yaw/pitch in degrees rather than in radians with schematic files. 2014-07-14 20:35:29 -07:00
sk89q
e2082ee8a4 [Bukkit] Implement the new entity API. 2014-07-14 18:25:11 -07:00
sk89q
505d45237d Remove UUID fields in ForgeWorld when creating entities. 2014-07-14 18:09:18 -07:00
sk89q
9c72a3c439 Fix blocks.json not being placed in the distribution. 2014-07-14 13:48:30 -07:00
sk89q
f033d87098 Add new Bukkit implementation adapter system to access MC internals.
Replaces the old NMSBlocks.
2014-07-14 13:45:07 -07:00
sk89q
c535ad8682 Have BukkitEntity.getState() return null for now. 2014-07-14 02:15:21 -07:00
sk89q
f50c69ee8f Use Location.getYaw() and getPitch() for converting to Bukkit Locations. 2014-07-13 21:25:28 -07:00
sk89q
bdd6d20013 Remove DataException from NbtValued's setNbtData(). 2014-07-13 18:15:44 -07:00
sk89q
759c6ba50d Add @Nullable to NbtValued methods. 2014-07-13 18:15:16 -07:00
sk89q
b751cbe1ee Add support for entities with .schematic files. 2014-07-13 01:14:46 -07:00
sk89q
a95ebde620 Add setYaw, setYaw, and setDirection(yaw, pitch) to Location. 2014-07-13 00:53:57 -07:00
sk89q
9e105336d5 Add missing dependencies (Trove, GSON) to build.gradle. 2014-07-12 18:38:30 -07:00
sk89q
97a1664db5 Merge remote-tracking branch 'origin/master' into feature/mapping 2014-07-10 22:33:25 -07:00
sk89q
0ce7954dc9 Add support for copying entities between Extents. 2014-07-10 22:22:35 -07:00
sk89q
52f1a7d2d4 Fix issue with scaling transforms on blocks. 2014-07-10 21:05:16 -07:00
sk89q
ceec170be9 Change Location to store pitch/yaw rather than a directional vector. 2014-07-10 15:57:27 -07:00
sk89q
c564278dd6 Revert Extent.createEntity() taking a Vector. 2014-07-10 14:51:04 -07:00
sk89q
d50cd89005 Add Entity visitor and function interfaces. 2014-07-10 02:59:09 -07:00
sk89q
bd0e20e8a7 Have Extent.createEntity() take a Vector rather than a Location. 2014-07-10 02:58:04 -07:00
sk89q
e5959383c5 Fix /schematic load and save not taking 2 arguments. 2014-07-10 01:34:05 -07:00
sk89q
4f5e130b59 Add -p to /br clipboard to paste using origin of clipboard.
Closes WORLDEDIT-2825.
2014-07-10 01:19:08 -07:00
sk89q
91d3292d81 Call editSession.setBlock() in SnapshotRestore.
Fixes WORLDEDIT-2879.
2014-07-10 01:04:15 -07:00
sk89q
66a51636a3 Ellipsoid-based region selectors no longer starts primary at (0, 0, 0).
Fixes WORLDEDIT-2968.
2014-07-10 00:47:36 -07:00
sk89q
7283526123 Fixes commands registered with the legacy handler not tab completing players.
Closes WORLDEDIT-3151.
2014-07-10 00:30:43 -07:00
sk89q
dd497fdcb1 Send WrappedCommandException to the logger. 2014-07-09 23:08:17 -07:00
sk89q
4e69c7263f Fix a syntax error in 393b0d3d. 2014-07-09 23:07:40 -07:00
sk89q
393b0d3d7a Handle when CommandException.getMessage() is null in CommandManager.
Related to WORLDEDIT-3156.
2014-07-09 23:05:40 -07:00
sk89q
708b38312c Closer isn't available in the Guava version that Bukkit bundles. 2014-07-09 22:55:10 -07:00
sk89q
9aec81c8c6 Change /schematic save to bake in the transform. 2014-07-09 22:51:17 -07:00
sk89q
2bbf5d2793 /schematic save should not check if the file exists. 2014-07-09 22:04:17 -07:00
sk89q
932513d8a1 Add Transform.isIdentity(). 2014-07-09 21:44:44 -07:00
sk89q
47ad03a013 Add new Clipboard-compatible .schematic reader/writer. 2014-07-09 21:08:34 -07:00
sk89q
7b0e5a977f Move GZIPOutputStream out of NBTOutputStream.
This is a breaking change with no clear symptoms at first.
2014-07-09 19:06:53 -07:00
sk89q
955a52825f Flip direction of //rotate to have it match previous behavior. 2014-07-09 14:34:05 -07:00
sk89q
56b349ead8 Add a new block metadata framework and fix //rotate and //flip.
Remove the previous Mapping interfaces.
2014-07-09 14:14:41 -07:00
sk89q
22dceb5614 Added GSON, Trove as dependencies and enabled minimizeJar for shading. 2014-07-09 14:07:17 -07:00
sk89q
6ef4f7b7cc Moved legacy block classes to the legacy source root. 2014-07-08 20:08:43 -07:00
sk89q
7463fdef79 BlockRegistry, MaskRegistry, PatternRegistry -> *Factory
'Registry' will need to be used for the block, entity, item,
and so on registries.
2014-07-08 17:39:33 -07:00
sk89q
65f451279c Merge branch 'master' into feature/mapping
Conflicts:
	src/bukkit/java/com/sk89q/worldedit/bukkit/BukkitWorld.java
	src/main/java/com/sk89q/worldedit/command/SelectionCommands.java
2014-07-06 21:06:10 -07:00
sk89q
d74237b15e Fixes masks parsed from input not using block wildcards.
Closes WORLDEDIT-3147.
2014-07-06 18:12:15 -07:00
sk89q
68e5d5926a Allow masks parsed from input to ignore the blacklist.
Fixes WORLDEDIT-3149.
2014-07-06 18:10:30 -07:00
sk89q
85f014e256 Clamp acceptable density for //flora and //forest.
Fixes WORLDEDIT-3148.
2014-07-06 17:34:08 -07:00
sk89q
e9ca618961 Fixes //desel no longer working.
Closes WORLDEDIT-3146.
2014-07-06 17:29:17 -07:00
sk89q
6f0fde47b0 Restored tab completion of player names.
Fixes WORLDEDIT-3144.
2014-07-06 17:23:05 -07:00
sk89q
f1649dbf51 [Bukkit] Added runtime dependency for running Bukkit. 2014-07-06 17:23:05 -07:00
Albert Pham
297a6053ef Merge pull request #298 from DarkArc/master
Fixes WorldEdit CUI.

Closes WORLDEDIT-3150.
2014-07-06 17:22:19 -07:00
Wyatt Childers
bc92e43be0 Adds Platform support for WorldEdit CUI 2014-07-06 20:13:27 -04:00
sk89q
63605a8417 [Bukkit] Added shim method for setBlock(..., foundation.Block, ...). 2014-07-05 16:40:07 -07:00
sk89q
51a540dab1 Added //calc, //eval, etc. to evaluate mathematical expressions. 2014-07-03 03:34:19 -07:00
sk89q
6c4a321d61 Added support for mathematical expressions for numeric arguments in commands.
This only works for commands that have been ported over to the new command
framework.
2014-07-03 03:33:57 -07:00