Matthew Miller
5eb9b779d7
Move the pasting system over to WorldEdit, and add a /we report command. Currently only reports system status and the config. Need to add a platform reporter system.
2018-12-18 19:28:55 +10:00
Matthew Miller
700e41b706
Remove the final stage committer from the MultiStageReorder extent, as it caused issues and no longer appears to be entirely necessary.
2018-12-13 20:30:54 +10:00
Matthew Miller
5f2c77b719
Further work on this. Currently fast mode breaks doors, gotta work out why applying physics to doors breaks them.
2018-12-09 16:28:01 +10:00
Matthew Miller
7f11b2800d
Added an option to switch reorder modes
2018-12-09 16:28:01 +10:00
Matthew Miller
24800a662a
Finish removal of PlayerDirection, and partially added diagonal support back to commands.
2018-11-12 12:38:13 +10:00
Kenzie Togami
2c8b2fe089
Move vectors to static creators, for caching
2018-11-03 23:00:24 -07:00
Kenzie Togami
399e0ad5fa
Refactor vector system to be cleaner
...
- Move Vector, etc. into `.math` package
- Drop many methods that will be auto-promoted anyways, eg. with
`divide(int)` and `divide(double)` the first is now gone.
- Take Block vectors into their own class hierarchy
- Make it clear throughout the API what takes blockvectors
- many more improvements
2018-11-03 23:00:23 -07:00
Kenzie Togami
3b5972b7f2
Flush / unbuffer more tools
2018-10-30 18:06:00 -07:00
Matthew Miller
275a2fa887
Fixed a few bad javadoc imports
2018-10-24 16:33:04 +10:00
Kenzie Togami
a3f1c71d97
Make EditSession closeable for easy flushing
2018-10-20 19:50:35 -07:00
Kenzie Togami
1fa1ff895b
Flush or disable buffers in tools
2018-10-20 19:47:17 -07:00
Jesse Boyd
a7c6d5e987
schem list validation
2018-10-17 23:57:36 +11:00
Jesse Boyd
f65887c957
Some ammendments to PR boy0001/WorldEdit#9
2018-10-17 23:41:38 +11:00
Jesse Boyd
c04f99a720
#1158
2018-10-16 02:27:10 +11:00
Matthew Miller
dd2fcbac23
Merge pull request #430 from sk89q/feature/chunk-batching-mode
...
Chunk Batching
2018-10-15 13:50:10 +10:00
Jesse Boyd
7cf7c0712f
fix fixwater/lava + tile paste
2018-10-13 19:50:13 +11:00
Jesse Boyd
888cbcedee
tweak undo message
2018-10-13 15:21:39 +11:00
Jesse Boyd
1a12c065a1
Various minor fixes
...
Fix drain
Fix some messages lacking prefix
Fix non persistent brushes
2018-10-13 15:15:38 +11:00
Matthew Miller
0a149a796f
Make distr operation based
2018-10-12 15:28:40 +10:00
Kenzie Togami
7d4906cfe9
Add chunk batching flag, enable by default
2018-10-10 11:38:23 -07:00
NotMyFault
730e50a710
That wasn't supposed to be like that
2018-10-04 20:52:54 +02:00
NotMyFault
39ba616ffa
heightmapinterface permission
...
Heightmapinterface permission added as you can download it on any server
2018-10-04 20:42:43 +02:00
NotMyFault
4b07928994
Fixing wrong syntax
2018-10-04 20:20:05 +02:00
NotMyFault
037714ab76
Possibly fix for searchItem message
2018-10-04 00:29:01 +02:00
Matthew Miller
1a2cd3a948
Fixes WORLDEDIT-3609, Message should say cut when //cut is used.
2018-09-20 17:09:50 +10:00
Jesse Boyd
5b5336cc83
some fixes
...
Use sponge schematic format instead of structure block
Fix VS undo running on main thread
Fix missing sections when setting blocks
2018-09-18 12:49:33 +10:00
Jesse Boyd
277ff8f787
Fix command confirmation session
2018-09-08 09:10:36 +10:00
Jesse Boyd
fc949e3efc
Fixes #1112
2018-09-08 03:11:56 +10:00
Jesse Boyd
11fe5061cc
Fix optional heightmap NPE
2018-09-08 02:06:25 +10:00
Jesse Boyd
39a85d54ea
pull changes from boy0001/FastAsyncWorldEdit
2018-09-08 01:31:30 +10:00
Jesse Boyd
6ae0d3f64e
Fixes boy0001/FastAsyncWorldEdit#1099
2018-09-08 01:09:31 +10:00
Jesse Boyd
d99765f13f
add min/max args
2018-09-07 06:45:19 +10:00
Jesse Boyd
7af1b3dcc8
Add heightmap web util command
2018-09-07 06:40:13 +10:00
Jesse Boyd
82ede1d42b
freebuild region restrictions
2018-09-05 05:10:15 +10:00
Jesse Boyd
5f8e2ed4d8
Allow local images for brushes
2018-09-03 07:46:35 +10:00
Jesse Boyd
b24d322d29
Update from sk89q/master
2018-09-03 00:10:38 +10:00
Matthew Miller
8bfbc55c71
Enable experimental //walls for non-cuboid regions.
2018-08-30 16:42:50 +10:00
Matthew Miller
c931095736
Little bit of formatting
2018-08-27 17:24:18 +10:00
Jesse Boyd
a61c856adc
Allow certain commands to bypass queuing
2018-08-24 19:33:52 +10:00
Jesse Boyd
c3db5c0cf1
Fix persistent brushes
2018-08-24 07:18:14 +10:00
Jesse Boyd
dbd31ea347
Fixes boy0001/FastAsyncWorldedit#1090
2018-08-24 01:22:30 +10:00
Jesse Boyd
9927cde616
JS command perms
2018-08-22 17:13:01 +10:00
Jesse Boyd
8de18566c0
Searchitem use fawe prefix
2018-08-22 03:52:13 +10:00
Jesse Boyd
f161c69a66
Use parse for search item
2018-08-22 03:25:42 +10:00
Jesse Boyd
c55353e5b1
Various command (use es6 if java9 + nashorn)
2018-08-22 03:22:37 +10:00
Jesse Boyd
43531a0da0
Use expression for brush radius
2018-08-22 02:58:10 +10:00
Matthew Miller
69ab1781c6
Replace FuzzyBlockMask with BlockMask, and added BlockTypeMask as a more performant mask for just block types.
2018-08-20 15:57:42 +10:00
Matthew Miller
eba91cac5f
Added a config option to entirely disable server side cui.
2018-08-18 19:42:45 +10:00
Matthew Miller
20b67db48d
Added a command to turn it on/off
2018-08-18 16:34:32 +10:00
Jesse Boyd
ae65708d82
Fix some command parsing issues
...
Tab complete runs on main thread - that could be an issue
2018-08-17 20:13:33 +10:00
Jesse Boyd
177bfaa930
Rename setCopyEntities to setCopyingEntities
2018-08-17 18:33:37 +10:00
Jesse Boyd
36ede1b27d
Fixes boy0001/FastAsyncWorldedit#1078
2018-08-17 18:27:48 +10:00
Jesse Boyd
20feefcab2
Fix schematic load with no specified format
2018-08-17 02:55:41 +10:00
Jesse Boyd
6ebdc00fba
Merge remote-tracking branch 'refs/remotes/sk89q/master'
...
# Conflicts:
# worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitBlockRegistry.java
# worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java
# worldedit-core/src/main/java/com/sk89q/worldedit/blocks/BlockMaterial.java
# worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/FloatingTreeRemover.java
# worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/LongRangeBuildTool.java
# worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/RecursivePickaxe.java
# worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/brush/GravityBrush.java
# worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/AbstractPlayerActor.java
# worldedit-core/src/main/java/com/sk89q/worldedit/extent/inventory/BlockBagExtent.java
# worldedit-core/src/main/java/com/sk89q/worldedit/util/TargetBlock.java
# worldedit-core/src/main/java/com/sk89q/worldedit/world/chunk/OldChunk.java
# worldedit-core/src/main/java/com/sk89q/worldedit/world/registry/PassthroughBlockMaterial.java
2018-08-16 20:06:27 +10:00
Matthew Miller
bc5609114b
Add a material to check if air is air, because there are now 3 types of air.
2018-08-16 15:42:11 +10:00
Jesse Boyd
15d0d16da6
Update the tips to reflect 1.13 changes
2018-08-16 00:31:44 +10:00
Jesse Boyd
19125bee5f
Update Existing pattern usage
2018-08-16 00:14:03 +10:00
Jesse Boyd
7ed96ec358
Add property pattern
2018-08-16 00:12:07 +10:00
Jesse Boyd
a67441bbff
Merge remote-tracking branch 'refs/remotes/sk89q/master'
...
# Conflicts:
# worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java
# worldedit-core/src/main/java/com/sk89q/worldedit/blocks/BaseBlock.java
# worldedit-core/src/main/java/com/sk89q/worldedit/world/NullWorld.java
2018-08-15 14:02:51 +10:00
Jesse Boyd
1740c845d2
What are the dud BlockCategories?
2018-08-14 11:00:44 +10:00
Jesse Boyd
76a55b7712
Merge remote-tracking branch 'refs/remotes/sk89q/master'
...
# Conflicts:
# worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitAdapter.java
# worldedit-core/src/main/java/com/sk89q/util/yaml/YAMLProcessor.java
# worldedit-core/src/main/java/com/sk89q/worldedit/blocks/BlockType.java
# worldedit-core/src/main/java/com/sk89q/worldedit/command/ToolCommands.java
# worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/BlockReplacer.java
# worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/LongRangeBuildTool.java
# worldedit-core/src/main/java/com/sk89q/worldedit/extent/reorder/MultiStageReorder.java
# worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockType.java
# worldedit-core/src/main/java/com/sk89q/worldedit/world/item/ItemType.java
2018-08-14 01:36:00 +10:00
Jesse Boyd
0632a9ce96
Fix some merge issues
2018-08-14 00:38:33 +10:00
Matthew Miller
e0e7778536
Fixed some bugs and cleanup some code.
2018-08-13 22:18:12 +10:00
Jesse Boyd
6f04022738
And these stubs
2018-08-13 03:23:53 +10:00
Jesse Boyd
e7c27b08bf
Remove stub injector methods
2018-08-13 02:36:39 +10:00
Jesse Boyd
a629d15c74
Copy paste/merge FAWE classes to this WorldEdit fork
...
- so certain people can look at the diff and complain about my sloppy code :(
Signed-off-by: Jesse Boyd <jessepaleg@gmail.com>
2018-08-13 00:03:07 +10:00
Matthew Miller
f54d6afb65
Make BaseBlock more memory efficient, and make it clear in the API that it's not intended to be used for every single block.
2018-08-10 20:29:06 +10:00
Matthew Miller
5f4cc3e694
Cleanup a little bit more code.
2018-08-06 19:08:15 +10:00
Matthew Miller
334143357a
Added LongArrayTag support to NBT
2018-08-05 13:36:53 +10:00
Matthew Miller
2f3bc59e1b
Fixed //move
2018-08-04 11:43:42 +10:00
Matthew Miller
a75d9e896b
Start work on the Sponge schematic format. This should work but it may not, it's untested.
2018-08-04 11:43:42 +10:00
Matthew Miller
1480606b52
Fixed a few more issues found looking over the changeset.
2018-08-04 11:43:42 +10:00
Matthew Miller
db21f51a18
Fixed up data cycler command, and the fixwater & fixlava commands.
2018-08-04 11:43:41 +10:00
Matthew Miller
bc2279f2f6
Refactor schematics to use kenzierocks registerable system.
2018-08-04 11:43:41 +10:00
Matthew Miller
9f9fda72b7
Re-add legacy support to block parser, and fix query tool.
2018-08-04 11:43:41 +10:00
Matthew Miller
65420af09e
Fixed //fill and //rotate
2018-08-04 11:43:41 +10:00
Matthew Miller
663dd1f4d8
Added an entity, weathertype, and gamemode registry.
2018-08-04 11:43:41 +10:00
kashike
70208c38fd
category changes
2018-08-04 11:43:40 +10:00
Matthew Miller
e1c2ea3a3b
Update configs, and remove unused BlockData methods.
2018-08-04 11:43:40 +10:00
kashike
d33e2e98aa
registry changes
2018-08-04 11:43:40 +10:00
kashike
a48c319e7e
package move
2018-08-04 11:43:40 +10:00
Matthew Miller
efa09001c2
Remove the 'natural only' smooth brush feature due to inaccuracies.
2018-08-04 11:43:40 +10:00
Matthew Miller
93b225ca3c
Expose a way of switching between ItemType and BlockType for ItemBlocks.
2018-08-04 11:43:39 +10:00
Matthew Miller
b06937d1c8
Setup a legacy mapper system. The file does not exist yet.
2018-08-04 11:43:39 +10:00
Matthew Miller
66d70f00e7
Removed more deprecated code
2018-08-04 11:43:39 +10:00
Matthew Miller
416480c16d
Separated out fluids and blocks - they're different now
2018-08-04 11:43:39 +10:00
Matthew Miller
70aceb3837
Use default state a bit more.
2018-08-04 11:43:39 +10:00
Matthew Miller
282eca7663
Added a category system and refactored registries
2018-08-04 11:43:39 +10:00
Matthew Miller
484687a49d
Further work on BlockState transition
2018-08-04 11:43:39 +10:00
Matthew Miller
e99190225e
Further BaseBlock modernisation
2018-08-04 11:43:39 +10:00
Matthew Miller
5f5a1797ad
Remove legacy ServerInterface
2018-08-04 11:43:39 +10:00
Matthew Miller
e2608bc0c9
Further modernise and remove legacy item classes
2018-08-04 11:43:39 +10:00
Matthew Miller
c43109bde5
Start work on the new BaseBlock/BlockState split
2018-08-04 11:43:39 +10:00
Matthew Miller
aaaf2d5678
More deprecation removal
2018-08-04 11:43:38 +10:00
Matthew Miller
20bf6e079b
Continue the great purge
2018-08-04 11:43:38 +10:00
Matthew Miller
c537a2e948
Remove a tonne of code from WorldEdit. This breaks backwards compatibility. More will be removed. Sorry :)
2018-08-04 11:43:38 +10:00
Matthew Miller
a71e39d777
Convert the data system to a state system. This doesn't work, needs new data
2018-08-04 11:43:38 +10:00
Matthew Miller
1cc735e359
Further work on items
2018-08-04 11:43:38 +10:00
Matthew Miller
f5f1d357d9
Get rid of the string equality and convert a few more ID uses over.
2018-08-04 11:43:14 +10:00
Matthew Miller
41a80064f5
I guarantee this is broken. Start some form of string ID for blocks
2018-08-04 11:43:14 +10:00
Cebtenzzre
030a07b1d6
Fix ascent and descent commands.
...
For seven years and two days, the algorithm for ascent and descent has had an off-by-one error, and started at the wrong level.
Also, the message for failed descent has apparently never been right.
I figured I'd follow Java's conventions (as I see them) and have a body for the loop, so instead of incrementing the counter within the loop condition, I refactored the loop and put in a break statement. I prefer the shorter version, but POLA wins in a foreign code base.
2018-07-09 06:00:58 -04:00
wizjany
b557b2b71d
Revert "Some command fixes" aka "Some command breaks"
...
This reverts commit 4a8bba7a54
.
Fixes WORLDEDIT-3574.
2017-06-09 12:46:26 -04:00
Jesse Boyd
4a8bba7a54
Some command fixes
...
Fix EditSession being created for commands that don't need it
Fix error from schematic list (when there are files in sub directories)
Fix dispatcher redundantly checking a huge number of permissions
2017-06-08 10:01:23 -04:00
wizjany
46dff16a97
Use our own firstNonNull to maintain back-compat.
...
Fixes WORLDEDIT-3567.
2017-06-08 10:01:23 -04:00
wizjany
41de204186
Allow copyEntities to be used in ForwardExtentCopy again.
...
The -e flag should now work for //copy and //cut as it used to.
Fixes WORLDEDIT-3557.
2017-03-19 11:56:04 -04:00
wizjany
e511758d99
Add rotations to various blocks that were missing them.
...
Up/down levers still broken.
Fixes WORLDEDIT-3490.
2017-02-26 18:56:38 -05:00
Wizjany
2e10fe896f
Fixed bad copypaste in error message for //curve.
2016-08-27 16:53:51 -04:00
wizjany
c957ffb95a
Fix NPE when //genbiome expression was false.
...
Fixes WORLDEDIT-3467.
2016-07-06 11:14:11 -04:00
wizjany
28d45870e2
Apply transforms to vectors in //paste -s.
2016-06-29 00:38:11 -04:00
Wyatt Childers
6e36b5236c
Fixed the automatic selection of a user's pasted area when using //paste -s
...
Fixes WORLDEDIT-3457
2016-06-28 20:36:46 -04:00
Wizjany
03d7cd394a
Fix another NPE in schematics.
2016-05-18 12:44:22 -04:00
wizjany
b3fbe8b7a5
Update blocks.json.
...
This fixes a lot of issues with block rotations for various blocks.
Additionally, the //info tool will now report states (only works for
states that use data values) for easier lookups.
Note that some doors still have update issues, and //fast is needed
to paste them if they drop as items.
2016-05-15 04:02:35 -04:00
wizjany
c9f54ecb01
Only negative radius allowed for //butcher is -1.
2016-04-26 19:40:25 -04:00
wizjany
94ae1be2d1
Fix NPE when using //schem list with not schematics present.
2016-03-08 12:42:23 -05:00
wizjany
62befe7594
Fix schematics in directories.
2016-01-13 18:55:49 -05:00
Kenzie Togami
8cd46977f3
Add paging to //schematics.
...
-p <int> can be used to select a page. Defaults to page 1.
First implementation by @BangL.
2015-12-28 12:52:39 -08:00
wizjany
23d6fa7579
Add worldedit.calc permission node to //calc command.
2015-12-21 16:14:44 -05:00
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
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
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
wizjany
9a65bdb72d
Fix cycler tool trying to set negative data values.
...
Fixes WORLDEDIT-3325.
2015-07-31 12:46:51 -04:00
wizjany
025591e6d9
Don't double-check for symlinks while loading schematics.
...
Fixes WORLDEDIT-3310.
2015-06-19 18:28:25 -04:00
Kenzie Togami
ec5de0f22f
Cleanup unused imports
2015-05-31 15:59:40 -07: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
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
wizjany
d1631a9ca4
Restore entity counter to //remove and grammatified //butcher similarly.
2015-01-20 12:30:51 -05:00
sk89q
7192780251
Switch to Gradle. Use git log --follow for history.
...
This converts the project into a multi-module Gradle build.
By default, Git does not show history past a rename, so use git log
--follow to see further history.
2014-11-14 11:27:39 -08:00