Commit Graph
100 Commits
Author SHA1 Message Date
sk89q 683bd670fe Add noise library to allowed imports. 2014-07-28 02:39:23 -07:00
sk89q 7b8a321af5 Add "=expression" mask.
i.e. =perlin(0,x/2,y,z/2,0.05,3,0.8)<0.1
2014-07-28 02:35:58 -07:00
sk89q f4ce4f9df9 Update build files for noise library. 2014-07-28 02:35:30 -07:00
sk89q 882cce5ff2 Add noise functions to the expression evaluator. 2014-07-28 02:15:41 -07:00
sk89q 8476778b46 Add Perlin, ridged multi-fractal, Voronoi noise generators via libnoise. 2014-07-28 02:15:30 -07:00
sk89q 8ce757631a Fix undo and redo broken by a precondition. 2014-07-27 22:04:28 -07:00
sk89q 98e55bede0 Fix checkstyle error due to recent cleanup. 2014-07-27 20:45:57 -07:00
sk89q aaeaf19fc8 Rewrite session code and add support for persistent sessions. 2014-07-27 20:44:05 -07:00
sk89q e95eeefa2b Code clean up, add preconditions, and correct Javadocs. 2014-07-26 01:29:51 -07:00
sk89q 70bca47be7 Clean up Javadocs for the blocks.* package. 2014-07-26 00:28:19 -07:00
sk89q 55c569c387 [Forge] Change compareTo() for commands to fix a Comparable contract issue. 2014-07-25 19:35:17 -07:00
sk89q e93c9c9736 Fix WorldEditPlugin assuming that worlds are an instance of BukkitWorld.
Fixes WORLDEDIT-3168.
2014-07-25 17:29:36 -07:00
sk89q 5dd7b83940 Remove Trove usage temporarily due to shading issues with Gradle build. 2014-07-23 16:20:43 -07:00
sk89q b752604c03 Disable first time help message for now. 2014-07-19 15:40:44 -07:00
sk89q 15b173dca6 Remove old Bukkit entity adapter classes. (reverted from commit b461f44db8)
CraftBook uses some of these classes.
2014-07-19 12:19:27 -07:00
sk89q e7f65e27db Show where to get help. 2014-07-18 18:04:34 -07:00
sk89q ca7bb1a3f5 Remove word wrapping in ColorCodeBuilder.build(). 2014-07-18 18:04:21 -07:00
sk89q 0c7aa20cbe [Bukkit] Ignore missing adapter if another platform is registered. 2014-07-18 17:37:03 -07:00
sk89q a954e87e8c Change some platform related messages. 2014-07-18 17:19:35 -07:00
sk89q f068a7491f [Bukkit] Make the WE data folder it isn't created. 2014-07-18 16:47:57 -07:00
sk89q f4d5173451 Change docs in EditSessionFactory so it is more obvious what the change is. 2014-07-18 14:46:39 -07:00
sk89q decac1c79c Implement worldedit.build.suffix in the Gradle build instead. 2014-07-18 14:09:33 -07:00
sk89q 2a9b305889 Take worldedit.build.version system property in Gradle build. 2014-07-18 13:48:41 -07:00
sk89q 45f81a177b Clean up SessionTimer and make it package local. 2014-07-18 11:46:33 -07:00
sk89q 71c5b61050 Make ForgeEntity keep an weak reference to the entity. 2014-07-18 11:45:44 -07:00
sk89q 70f05c950a Made BukkitEntity keep a weak ref to the entity and cleaned up code. 2014-07-18 11:43:18 -07:00
sk89q 781fc31d6f Clean up BukkitUtil. 2014-07-18 11:32:46 -07:00
sk89q b461f44db8 Remove old Bukkit entity adapter classes. 2014-07-18 11:32:19 -07:00
sk89q 972f0893b3 Don't generate Paranamer names since they don't work well anyway.
Paranamer will be removed.
2014-07-18 02:23:55 -07:00
sk89q ff092dcef9 Permit Hamcrest via import control. 2014-07-18 02:21:08 -07:00
sk89q 5dc462cc42 Merge in new block, entity, and biome APIs. 2014-07-18 02:16:25 -07:00
sk89q 7d39760496 Add support for Bukkit for MC 1.6.4. 2014-07-18 02:15:42 -07:00
sk89q 9dbe87b77b Add static to some fields on BlockTransformExtentTest. 2014-07-18 01:50:07 -07:00
sk89q 8508055ddc Add block transform test that tests against older rotation code.
Also fixes the rotations for some blocks.
2014-07-18 01:01:47 -07:00
sk89q 9c205e0e00 Fix naming errors in ArbitraryBiomeShape caused by biome commit. 2014-07-17 14:50:44 -07:00
sk89q 42be110097 Implemented new biome API. 2014-07-17 00:21:13 -07:00
sk89q d50e05480f Call setExtent() when setWorld() is caleld on ParserContext. 2014-07-17 00:08:13 -07:00
sk89q a9de9f619b Merge branch 'master' into feature/mapping 2014-07-15 21:39:08 -07:00
sk89q 97f163ebd5 Delete outdated Spout version. 2014-07-15 21:14:32 -07:00
sk89q 9feafcfc30 Convert newer API from radians to degrees. 2014-07-15 20:10:14 -07:00
sk89q 9b5c112e5c Let NBT Tag(String name) accept a null name. 2014-07-15 19:53:15 -07:00
sk89q 3e34d5ca52 Re-implement /remove and /butcher with the new entity API. 2014-07-15 19:47:47 -07:00
sk89q 9dbc53476e Delete protected Random instance from LocalWorld. 2014-07-15 12:14:41 -07:00
sk89q 1f709b9cc3 Move handling of hanging entities into ExtentEntityCopy. 2014-07-15 12:09:11 -07:00
sk89q cf6fa98525 Rename getInteger -> getInt in NBT library and add putType(...) methods. 2014-07-15 11:55:28 -07:00
Albert Pham a360800bbe Update links in README.md. 2014-07-14 23:36:17 -07:00
sk89q bf7185d173 Merge branch 'master' into feature/mapping 2014-07-14 22:50:57 -07:00
sk89q 6dcbc8eb66 Fix a confusion of loggers for command logging. 2014-07-14 22:50:45 -07:00
sk89q b5aaef2505 Cleaned up and added many methods to the NBT classes. 2014-07-14 20:36:27 -07:00
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 e21b21d266 Update changelog for 5.6.2 and 5.6.3. 2014-07-12 13:41:13 -07:00
sk89q 78988680e9 [Bukkit] Add support for MC 1.7.10. 2014-07-12 13:09:44 -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
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