NotMyFault
8a528b26b6
Update P2 repo and minors
2019-03-06 17:35:42 +01:00
IronApollo
c98a311146
Update to working PlotSquared repo; Update to PlotSquared C>Captions class rename; Cleaning and minor modifications to SpongeSchematicReader
2019-03-06 03:06:47 -05:00
Kenzie Togami
4878f38250
Fix platform registration, config setup
2019-03-04 19:36:06 -08:00
wizjany
f84f3c6f85
Fix error when parsing hand/offhand/pos1 as blocks.
2019-03-03 19:51:49 -05:00
wizjany
aafb854e4f
More useful names for block ItemTypes.
2019-03-02 12:26:26 -05:00
wizjany
c3ee926a2e
Correctness improvement for legacy data in expression generation.
2019-03-02 11:55:03 -05:00
wizjany
e53962dadd
Apply source function after source mask in ForwardExtentCopy.
...
The source function should only get applied to actually copied blocks.
2019-03-01 21:15:21 -05:00
wizjany
f46c70093c
Fix the long-range build tool's ability to build mid-air.
2019-03-01 20:10:46 -05:00
wizjany
0656ef1920
Fix LayerVisitor stopping early instead of skipping covered columns.
2019-03-01 19:25:10 -05:00
wizjany
4bd6d73085
Fix some bad copy-pasta in expression environment queries.
2019-02-28 01:03:02 -05:00
IronApollo
0fa9d7a4a7
Changes to EditSession to improve upstream compatibility
2019-02-27 09:01:07 -05:00
IronApollo
3ffb5ff00d
Changes to fix some PlotSquared compatibility issues, plus fix block Mask parsing
2019-02-27 08:09:04 -05:00
wizjany
243d6476ac
Re-add smooth filtering via a mask.
...
Instead of trying to maintain a list of "natural terrain blocks", just
let the user specify a mask of blocks to use for the height map filter.
https://gfycat.com/severaljauntycondor
2019-02-26 23:54:53 -05:00
wizjany
9eeb0acffe
Add radius checks to a few more utility commands.
2019-02-25 18:41:20 -05:00
wizjany
2f734d4570
Check radius instead of diameter for clipboard brush.
...
This brings it more in line with other brushes in terms of allowable size.
2019-02-25 18:41:19 -05:00
Matthew Miller
5de8e0852c
Treat categories as empty when missing
2019-02-18 21:17:36 +10:00
IronApollo
24fbc86cdd
INDEV -- Pushed for in-house testing and development
2019-02-17 03:47:32 -05:00
Matthew Miller
50a286b070
Update the block/item category registries - this won't build until a Spigot PR is merged though.
2019-02-17 13:30:40 +10:00
Matthew Miller
3683a0438a
Use nonNull rather than !isNull
2019-02-16 19:58:06 +10:00
Matthew Miller
db1315e043
Refactor registries to entirely use the platform
2019-02-16 19:35:13 +10:00
Matthew Miller
1b101740fe
Use a proper registry for biomes
2019-02-16 17:27:00 +10:00
Matthew Miller
d6bc85ccbe
Speed up the BlockState hashCode method by caching (As it's Immutable). Allows some better optimisations in the future by using them as map keys
2019-02-16 12:46:10 +10:00
wizjany
de9d202681
Clear shaped brush material on command.
...
The initial material is held in the factory, but if a brush was previously bound, that pattern is used.
Now, using `//br set` will clear the previous material, allowing the OperationFactory's material to work.
This can be changed later with `/mat`, which will once again set the fill on the tool, overriding the factory's context.
2019-02-15 14:51:26 -05:00
wizjany
313cd20b14
Make legacy compat layer return straight stairs.
2019-02-14 17:53:30 -05:00
wizjany
88014b18a3
Added a few new things using block states.
...
* `//set ##*tag` sets all states in the tag (not just default state per type)
* `//set ^type` is a pattern changing block type but copying all valid existing states
* `//set ^[prop=val,...]` sets the property `prop` to `val` wherever the existing block has that property
* `//set ^type[prop=val,...]` does both of the above
Those work anywhere a pattern is taken, of course.
* The mask syntax `^[prop=val]` matches blocks with the property `prop` set to `val`, or blocks that don't have the property at all.
* The mask syntax `^=[prop=val]` only matches blocks that have the property.
Those work anywhere a mask is taken, of course. (`//mask`, `//gmask`, `//replace`, etc)
The `//drain` command now takes `-w` flag that removes the waterlogged state from blocks (in addition to removing water, as before).
2019-02-14 17:21:01 -05:00
wizjany
287be0209c
Slight readability and usability improvements.
...
Also no longer allows trailing strings (e.g. //set #clipboardasdf).
2019-02-12 17:11:57 -05:00
wizjany
19796aa3be
Added offset to ClipboardPattern.
...
Takes input like '//set #clipboard@-1,0,1' which shifts the pattern over.
It also now extends RepeatingExtentPattern, which was previously unused.
2019-02-12 17:11:57 -05:00
Wizjany
76400e533d
Add missing flags to clipboard brush usage.
2019-02-11 12:50:51 -05:00
Matthew Miller
3e988e7ffe
Fixed parsing fuzzy blocks failing.
2019-02-11 20:30:42 +10:00
wizjany
6708e8292f
Restore generation of hollow shapes.
...
Unfortunately this is a bit slower than before since we can't cache block
id & data values. However, applying patterns generally isn't too expensive,
and hollow regions were entirely broken before.
2019-02-09 20:30:57 -05:00
IronApollo
0763e4c05c
Pull changes from upstream to match cdd7117
2019-02-07 09:11:51 -05:00
IronApollo
511c279153
Fixed issues regarding block transformations and using the BaseBlock to apply a function.
2019-02-07 09:04:14 -05:00
Byron Marohn
f6788f16e4
Fix sponge schematics not correctly setting dimensions if there are no entities
...
Signed-off-by: Byron Marohn <combustible@live.com>
2019-02-06 20:48:30 -08:00
wizjany
cdd71178f5
Ensure BlockCategories are initialized.
...
We should probably have a way to initialize all these catalog classes ahead of time.
2019-02-04 22:34:25 -05:00
wizjany
dddf2b963a
Fix long-range build tool.
...
Blocks were always placed around 0,0,0 since the trace direction was being used as a position.
Also the message was backwards.
2019-02-03 19:27:30 -05:00
IronApollo
0e5847e1ce
Various fixes
2019-02-03 09:22:10 -05:00
IronApollo
2d586ff53e
Registry changes & additions
2019-02-03 08:53:04 -05:00
Matthew Miller
4a8931a55a
Added a ##tag parser Pattern. gives a random combination using the blocks from the tag with an equal distribution.
2019-02-03 07:59:06 -05:00
Brokkonaut
2bae161e5c
Make biome changes undoable
2019-02-03 07:38:11 -05:00
Matthew Miller
b27913324b
Tweak the last access extent cache to provide better caching
2019-02-03 07:35:38 -05:00
Kenzie Togami
8f11d0469b
Clarify state when asking for caps with no platforms (+ fuzzy system changes)
2019-02-03 07:30:18 -05:00
Matthew Miller
7d7da78dbc
Fuzzier fuzzies
2019-02-03 07:13:21 -05:00
Kenzie Togami
4b5b7b8003
Clean up other compiler warnings
2019-02-03 06:06:07 -05:00
Kenzie Togami
590b7e23a9
Remove all raw usages of BSH, improve API generics
2019-02-03 05:01:39 -05:00
Matthew Miller
1d87642b52
Minor improvements to the server side CUI
2019-02-03 03:54:04 -05:00
gamerforEA
ea0ca470f1
Fix Metrics injection
2019-02-03 03:51:15 -05:00
Matthew Miller
26d4ea101e
Fixed the bundle being directly used outside of the registry system.
2019-02-03 03:44:10 -05:00
Matthew Miller
53308416ff
Start work on modularising masks and patterns
2019-02-03 03:33:52 -05:00
Matthew Miller
d5e4c76bfe
Allow a pattern for the leave-id of //move
2019-02-03 02:47:32 -05:00
Matthew Miller
d80ac24c63
Pass the exception converter through more.
2019-02-02 11:36:55 -05:00
Matthew Miller
9c3964d330
Added a way to get the spawn position of a world
2019-02-02 11:29:51 -05:00
Matthew Miller
c935e381b7
Added a method to teleport entities across worlds.
2019-02-02 11:23:02 -05:00
Matthew Miller
7a9bd226ce
Update draw.js and roof.js
2019-02-02 11:21:43 -05:00
Matthew Miller
45f1de6009
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.
2019-02-02 11:20:36 -05:00
Matthew Miller
54142c8669
Added a display name to Actors
2019-02-02 09:37:14 -05:00
Matthew Miller
bc3562eb57
Few fixes for FastModeExtent.
2019-02-02 09:26:18 -05:00
Matthew Miller
e88b8c961d
Added "fast mode corrections"
2019-02-02 09:21:16 -05:00
Matthew Miller
346eee8953
Added the multi-staging from the multipass2 branch
2019-02-02 09:12:30 -05:00
JOO200
63bf01fdaf
Check by setting blocks with BlockBagExtend for changed materials.
2019-02-02 09:05:59 -05:00
Matthew Miller
b276907dcd
Filter out commands that the player doesn't have permissions for. Workaround for a Spigot issue.
2019-02-02 08:54:36 -05:00
Matthew Miller
f3c633582e
Finish removal of PlayerDirection, and partially added diagonal support back to commands. (Other minor changes to WorldEdit-Sponge and FAVS)
2019-02-02 08:43:57 -05:00
Matthew Miller
13bf8429ce
Fixed serialisation of vectors.
2019-02-02 08:30:02 -05:00
Gerrygames
e724b1f1cd
fix NPE when reading sponge schematics with tile entities or entities
2019-02-01 13:40:22 +01:00
IronApollo
e53535319d
Plenty of changes to core block behavior to become more compatible with upstream WorldEdit (still more to be done!)
2019-01-31 10:08:58 -05:00
Matthew Miller
f3ec5bbdde
Added a ##tag parser Pattern. gives a random combination using the blocks from the tag with an equal distribution.
2019-01-31 22:28:04 +10:00
Cygaan
6046fa1cec
Only copy entities from within the region
2019-01-28 17:36:39 +01:00
Cygaan
d48ea909b5
Actually filter out players, not everything else
2019-01-28 17:31:29 +01:00
Matthew Miller
2f9c7f19f5
Added support for 'rotation' BlockState values.
2019-01-22 21:59:20 +10:00
Matthew Miller
2e0fa300b7
Actually support disabling chunk loading extent
2019-01-22 21:34:37 +10:00
Brokkonaut
432a201266
Make biome changes undoable
2019-01-21 19:07:29 +01:00
IronApollo
271b45f3ba
Final changes for the Vector update (probable fix for the "copying player entity" bug)
2019-01-17 05:23:47 -05:00
IronApollo
62e6e9de96
Some general changes to the handling of blocks
2019-01-14 05:49:05 -05:00
IronApollo
f74381b93f
Merge remote-tracking branch 'refs/remotes/isfawe/new-vector-system' into new-vector-system
2019-01-13 02:00:14 -05:00
IronApollo
90b3439dc2
Even more changes made towards a proper Vector update, as well as minor FAVS changes to accomodate for recent vector changes.
2019-01-13 01:38:08 -05:00
Matthew Miller
628c9cc0b7
Make BaseBlock more memory efficient, and make it clear in the API that it's not intended to be used for every single block.
2019-01-10 09:54:21 -05:00
NotMyFault
c0c0db0d6e
Adding discord to debugpaste
2019-01-10 14:57:32 +01:00
NotMyFault
b200744d57
Cya hastebin
2019-01-10 14:46:10 +01:00
Kenzie Togami
4d6045813c
Move vectors to static creators, for caching
2019-01-10 07:17:04 -05:00
Byron Marohn
ab6aed703d
Merge current FAWE master ( 227d6d91
) into new-vector-system
...
Signed-off-by: Byron Marohn <combustible@live.com>
2019-01-09 22:35:26 -08:00
Sauilitired
33ad31454e
Make debugpaste use Incendo Paste Viewer, rather than Hastebin.
2019-01-10 04:04:52 +01:00
IronApollo
a9919d130c
Current progress #4
2019-01-09 03:32:38 -05:00
IronApollo
842b1307c7
Current Progress #3
2019-01-09 02:13:44 -05:00
Matthew Miller
871541d8c0
Tweak the last access extent cache to provide better caching
2018-12-29 19:21:45 +10:00
SirYwell
193361ac32
fix //removenear exception for size < 1
2018-12-29 08:47:57 +01:00
Kenzie Togami
2f8bdccf65
Clarify state when asking for caps with no platforms
2018-12-28 22:20:12 -08:00
Matthew Miller
862b63d43a
Can't query the row directly
2018-12-28 18:06:41 +10:00
Matthew Miller
54b6e57186
Few minor improvements to the fuzzy system.
2018-12-28 15:05:05 +10:00
Matthew Miller
b544782f3b
Make the base fuzzy cached per block type
2018-12-27 15:33:19 +10:00
Matthew Miller
8da984d9f9
Fuzzier fuzzies
2018-12-27 15:19:58 +10:00
Kenzie Togami
386668d221
Clean up other compiler warnings
2018-12-26 16:50:24 -08:00
Kenzie Togami
3fefcbf971
Remove all raw usages of BSH, improve API generics
2018-12-26 16:39:10 -08:00
Matthew Miller
a88f6b8430
Minor improvements to the server side CUI
2018-12-26 18:15:17 +10:00
Byron Marohn
2259f7d025
Merge upstream changes through 88f22f2e
...
This was not a straightforward merge. A new method was added upstream to:
worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockType.java
This file has been substantially changed vs upstream worldedit. I merged
things as best I could - added the new method to this interface, and
then implemented it in:
worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockTypes.java
Unfortunately there's no easy way to test that it works - so I left a note...
Signed-off-by: Byron Marohn <combustible@live.com>
2018-12-23 19:58:49 -08:00
IronApollo
d4157b7e0e
Current progress with update
2018-12-23 11:19:33 -05:00
Matthew Miller
b75d5149eb
Fixed the bundle being directly used outside of the registry system.
2018-12-23 21:43:20 +10:00
Matthew Miller
1d5e9b7d04
Few fixes
2018-12-23 21:24:58 +10:00
Matthew Miller
645fd682b6
Finish porting all the old masks across
2018-12-23 19:10:05 +10:00
Matthew Miller
6312bcecf6
Fixed the item parser not using the ItemRegistry
2018-12-23 19:02:58 +10:00
Matthew Miller
c5d9aadab8
Start work on modularising masks and patterns
2018-12-23 18:56:26 +10:00
Matthew Miller
d6977aeae4
Allow a pattern for the leave-id of //move
2018-12-22 17:26:02 +10:00
SirYwell
cf96c478be
change entity list to ignore player when pasting
2018-12-22 00:46:05 +01:00
Byron Marohn
801793cc12
Merge upstream changes through 7961fa58
...
Signed-off-by: Byron Marohn <combustible@live.com>
2018-12-21 12:13:43 -08:00
Byron Marohn
dab9e9a799
Fix imports - build working again
...
Signed-off-by: Byron Marohn <combustible@live.com>
2018-12-21 08:09:58 -08:00
Matthew Miller
8d07877463
Pass the exception converter through more.
2018-12-21 17:31:27 +10:00
Matthew Miller
ea30578781
Added a way to get the spawn position of a world
2018-12-21 17:05:30 +10:00
Matthew Miller
c949b07df1
Added a method to teleport entities across worlds.
2018-12-21 16:56:10 +10:00
Byron Marohn
c0fa1602ad
Restore the formatting of many things to upstream WorldEdit - no code changes
...
This patch touches many files but changes absolutely no functionality.
The goal here is to make future merges with worldedit produce fewer
conflicts that have to be resolved.
This patch was made by painstakingly diff'ing files and copying changes
over from the last upstream merge commit (02c6f11b
) into this codebase.
Signed-off-by: Byron Marohn <combustible@live.com>
2018-12-20 11:33:56 -08:00
Matthew Miller
b300c21185
Update draw.js and roof.js
2018-12-20 13:43:01 +10:00
NotMyFault
5520813ae6
Switching from IRC to Discord
...
To offer us a better possibility to help you regarding issues or bugs, join us on discord https://discord.gg/ngZCzbU
2018-12-18 21:54:17 +01:00
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
8f236afae9
Added a display name to Actors
2018-12-18 17:36:53 +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
NotMyFault
7a1b75f110
Significantly improved the quality of Simplified Chinese translation
2018-12-10 16:58:27 +01:00
Matthew Miller
926f6a6ab8
Flush undo/redo
2018-12-09 16:28:01 +10:00
Matthew Miller
6f3016c7f0
Fixed up the commitRequired checks.
2018-12-09 16:28:01 +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
618cbd2250
Few small fixes
2018-12-09 16:28:01 +10:00
Matthew Miller
59f9864ba3
Set fast to the default
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
b3f5bc030e
Few fixes for FastModeExtent.
2018-12-09 16:28:01 +10:00
Matthew Miller
7d468357e3
Added "fast mode corrections"
2018-12-09 16:27:02 +10:00
Matthew Miller
4e5e9f609e
Added the multi-staging from the multipass2 branch
2018-12-09 16:27:02 +10:00
JOO200
a73faf0c8b
Check by setting blocks with BlockBagExtend for changed materials.
2018-12-05 17:09:06 +01:00
Matthew Miller
be0d21e2a9
Filter out commands that the player doesn't have permissions for. Workaround for a Spigot issue.
2018-12-05 16:32:20 +10:00
Matthew Miller
8e18ecb645
Merge pull request #330 from Europia79/vpcmdfix
...
Fixes issue 3315 with VirtualPlayers
2018-11-24 13:16:56 +10:00
NotMyFault
99fb2b546c
Fixing Italian translation
2018-11-21 14:37:44 +01:00
Matthew Miller
2dc9321da6
Added support for axis rotations.
2018-11-17 12:00:19 +10:00
NotMyFault
ec22c4f180
Merge pull request #19 from IronApollo/master
...
Fix for '//mask ?' resulting in pattern error
Fixes CommandSuggestionEvent
Update FaweLocalBlockQueue to support Plotsquared restrictions
2018-11-14 07:41:42 +01:00
Matthew Miller
24800a662a
Finish removal of PlayerDirection, and partially added diagonal support back to commands.
2018-11-12 12:38:13 +10:00
NotMyFault
9b1836f336
Language update 2/2
2018-11-05 16:54:31 +01:00
Matthew Miller
626861aa99
Fixed serialisation of vectors.
2018-11-05 23:27:03 +10:00
NotMyFault
291ce3dfd7
Adding Italian translation
2018-11-04 20:56:22 +01:00
Matthew Miller
4e4ed6c893
Fixed missing BaseBlock import
2018-11-04 17:27:36 +10:00
Matthew Miller
53bc730909
Merge pull request #435 from sk89q/feature/trace-unflushed-sessions
...
Add tracing for unflushed EditSessions
2018-11-04 17:21:25 +10:00
Kenzie Togami
b6f6f3dde6
Correct trace property name
2018-11-03 23:06:52 -07: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
e202348dac
Simplify commit-required detection
2018-11-03 22:22:43 -07:00
NotMyFault
69168c7262
Updating & fixing repo
...
- Updated Paper download link going to 1.13
- Updated translations from boy0001/FastAsyncWorldEdit
-
2018-11-02 13:20:54 +01:00
IronApollo
9896a1339e
Updates to FaweLocalBlockQueue to allow FAWE-P2 compatibility
2018-11-01 07:24:56 -04:00
Kenzie Togami
b8ae611c73
Checkstyle requires calling super.finalize
2018-10-30 18:44:32 -07:00
Kenzie Togami
e1fbaaff59
Add tracing for unflushed EditSessions
2018-10-30 18:39:51 -07:00
Kenzie Togami
3b5972b7f2
Flush / unbuffer more tools
2018-10-30 18:06:00 -07:00
IronApollo
767607ea68
Fix for '//mask ?' resulting in pattern error
2018-10-29 06:39:40 -04:00
Matthew Miller
93de97dc19
Allow modifying the region of a BlockArrayClipboard
2018-10-24 16:50:15 +10:00
Matthew Miller
275a2fa887
Fixed a few bad javadoc imports
2018-10-24 16:33:04 +10:00
Kenzie Togami
d1312c66e1
Ensure we flush iff it is needed
2018-10-20 19:54:13 -07: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