Commit Graph

649 Commits

Author SHA1 Message Date
Jesse Boyd
b39ab79f16
Add #iddatamask pattern
Use to mask a pattern to a certain data range
e.g. #iddatamask:7:slab
2017-04-02 15:41:05 +10:00
Jesse Boyd
fda69a4f33
Fix hay rotation + remove duplicate perms 2017-04-02 05:55:34 +10:00
Jesse Boyd
594b836373
Fix brush scroll size with -1 brush radius 2017-04-01 16:59:33 +11:00
Jesse Boyd
381966e0ee
Ignore mask manager error. 2017-03-31 22:52:43 +11:00
Jesse Boyd
df15ba6cd7
Simplify config comments, messages, add permpack.
fawe.permpack.basic
2017-03-31 13:12:23 +11:00
Jesse Boyd
cba04dc208
* fix compile 2017-03-31 12:06:20 +11:00
Jesse Boyd
b19402ae17
Some minor code cleanup 2017-03-31 06:46:05 +11:00
Jesse Boyd
5c6a5c48d1
Fix paste -a 2017-03-31 00:54:44 +11:00
Jesse Boyd
f4752fe733
Color brush invert (use negative yscale) 2017-03-29 15:18:51 +11:00
Jesse Boyd
7a939e08bb
Add mask flag to stack - alternate to //gsmask 2017-03-29 07:07:55 +11:00
Jesse Boyd
ecbcc7e64b
* 2017-03-29 06:59:23 +11:00
Jesse Boyd
bb56a39792
Optimize schem paste + add MCAWriter to anvil 2017-03-29 06:57:01 +11:00
Jesse Boyd
11327d49e1
concurrency issue w/ data not being cleared 2017-03-28 13:04:36 +11:00
Jesse Boyd
8afcc054f0
CFI with dimensions 2017-03-28 11:26:41 +11:00
Jesse Boyd
addfb8b0e5
Oops, wrong alias 2017-03-27 11:30:59 +11:00
Jesse Boyd
7937a544ce Merge pull request #480 from Bogdan2402/patch-2
Russian localization commands.yml
2017-03-27 09:29:07 +11:00
Jesse Boyd
a694cabb2e
Send message on outdated P2 2017-03-27 09:09:39 +11:00
Jesse Boyd
f23d63b7d9
Allow higher BaseBlock ids 2017-03-27 08:44:51 +11:00
Jesse Boyd
6cd724668e
Let BaseBlock be a pattern 2017-03-27 08:25:32 +11:00
Jesse Boyd
7926b5a3f6
Per player schematic listing 2017-03-27 08:13:14 +11:00
Jesse Boyd
0e33b1f06d
Fix compile 2017-03-27 06:27:51 +11:00
Jesse Boyd
6ce16714d8
Switch back to to fastutil lite + tweak ore gen 2017-03-27 06:16:27 +11:00
Jesse Boyd
d6ea16f7ef
*Don't use implementation specific setup class 2017-03-27 05:20:05 +11:00
Jesse Boyd
4cab0b223d
Various
will document in next commit
2017-03-27 05:14:28 +11:00
Богдан
2fed3bf177 Russian localization message.yml 2017-03-25 13:19:06 +02:00
Богдан
30ca93debb Russian localization commands.yml 2017-03-25 12:49:32 +02:00
Jesse Boyd
06f61208f3
Reset selector on error. 2017-03-25 05:31:13 +11:00
Jesse Boyd
48c6bfe21c
Fixes #474 2017-03-24 00:44:18 +11:00
Jesse Boyd
661f02de17
Recover on failed session load. 2017-03-23 10:20:54 +11:00
Jesse Boyd
1fa63d8452
* 2017-03-19 05:50:15 +11:00
Jesse Boyd
1eacab40ef
Fix compile 2017-03-19 01:51:43 +11:00
Jesse Boyd
682bf051a6
Use latest P2 2017-03-19 01:32:24 +11:00
Jesse Boyd
6ac7782d9a
Fixes #471 2017-03-18 16:56:53 +11:00
Jesse Boyd
26404fc9db
Fixes #469 2017-03-18 03:04:11 +11:00
Jesse Boyd
b435fbfb33
* 2017-03-15 01:26:13 +11:00
Jesse Boyd
2532f0ba22
Setup dispatcher during startup 2017-03-15 01:22:12 +11:00
Jesse Boyd
54642914e5
Various minor
Optimize Vector2D
Optimize HeightMap
Optimize biome changes
Reformatting of the MCA classes
2017-03-15 00:42:28 +11:00
Jesse Boyd
d052725a7a
/smooth -s 2017-03-14 12:52:24 +11:00
Jesse Boyd
eedc3f4069
Snow heightmap! 2017-03-14 11:23:50 +11:00
Jesse Boyd
1b71bcd4a1
Always write tile tag 2017-03-14 08:40:12 +11:00
Jesse Boyd
91450e569b
Fixes for thermos 2017-03-13 18:55:33 +11:00
Jesse Boyd
6400505807
Fix sspl with visual enabled 2017-03-13 04:07:54 +11:00
Jesse Boyd
147cfeed10
Add surface spline 2017-03-13 03:17:22 +11:00
Jesse Boyd
b20120a1f2
Multi clipboard pattern 2017-03-13 02:44:29 +11:00
Jesse Boyd
b56f6664d5
Fix some pattern stuff 2017-03-12 05:51:56 +11:00
Jesse Boyd
b53b9af4bd
Fix biome patter apply 2017-03-12 03:34:46 +11:00
Jesse Boyd
503cb7f108
Some pattern fixes 2017-03-12 03:09:40 +11:00
Jesse Boyd
8c4ed29edb
Biome pattern! #biome:<biome> (possibly buggy) 2017-03-12 02:38:56 +11:00
Jesse Boyd
71fab26845
Tiny fix 2017-03-11 23:57:36 +11:00
Jesse Boyd
8a5fb59a7e
endSet for manual queue flushing 2017-03-11 23:23:57 +11:00
Jesse Boyd
338d2094ce
Add mask/command registration to FaweAPI 2017-03-11 23:07:26 +11:00
Jesse Boyd
ec455189dc
Add scatter overlay 2017-03-11 21:26:35 +11:00
Jesse Boyd
cff2cc846a
Fix brush pattern reset + add offset transform 2017-03-11 21:10:58 +11:00
Jesse Boyd
d765b24b27
Some new brushes
Scatter - Set a pattern at random points on a surface
ScatterCommand - Runs a command at random points on a surface
Splatter - Recursively set blocks at random points on a surface
2017-03-11 20:50:37 +11:00
Jesse Boyd
fb76ff4ea0
Heightmap rotation 2017-03-11 17:16:10 +11:00
Jesse Boyd
cf0bd96308
Optimize cuboid region contains 2017-03-11 15:11:35 +11:00
Jesse Boyd
5bbc381dd0
Various minor
Stencil/Color brush can now be used on any surface, not just the top
Optimize adjacency and radius mask
2017-03-11 00:27:39 +11:00
Jesse Boyd
0434755333
Better angle mask + some command tweaks 2017-03-10 14:25:09 +11:00
Jesse Boyd
177e2252cc
Stencil brush depth 2017-03-10 08:39:39 +11:00
Jesse Boyd
9cbe38359c
Angle mask by angle 2017-03-10 08:26:16 +11:00
Jesse Boyd
1e90948581
Fix gravity brush 2017-03-10 08:04:24 +11:00
Jesse Boyd
e021358b5c
Fix gen cmd not parsing expressions, + other fixes
Fix console EditSession using wrong fastmode setting
Fix minor lighting error
2017-03-10 07:32:35 +11:00
Jesse Boyd
3a2451e551
Fix hand/pos1 not respecting blacklist 2017-03-08 19:18:59 +11:00
Jesse Boyd
5759cd0589
Fix for @UUID00 2017-03-08 06:06:04 +11:00
Jesse Boyd
50d80b3d1c
Stencil brush + HeightMap optimizations 2017-03-07 23:42:21 +11:00
Jesse Boyd
b595ec2f2d
Various
Fixes #456
Delay command registration
WIP shatter/stencil brush
Minor FaweQueue optimization
2017-03-07 22:00:49 +11:00
Jesse Boyd
eb55f5fd7d
Allow third party command registration 2017-03-07 16:27:41 +11:00
Jesse Boyd
fc8fbbb0c4
Fixes #395 2017-03-07 04:31:54 +11:00
Jesse Boyd
bc46688a98
Fixes #450 2017-03-06 21:37:16 +11:00
Jesse Boyd
4237c6e21a
Fixes #451 2017-03-06 14:46:56 +11:00
Jesse Boyd
400d0319ab
Fixes #452 2017-03-06 14:45:29 +11:00
Jesse Boyd
119a332d83
Slight changes 2017-03-06 14:00:34 +11:00
Andrew Gazelka
8d3b918441 Add option to limit //calc max execute time
This fixes players abusing //calc by spamming it, causing more
calculation threads be created than destroyed.
2017-03-05 19:57:57 -06:00
Jesse Boyd
2a3f92ad18
Fixes #446 2017-03-06 06:25:25 +11:00
Jesse Boyd
61892c50dc
Use player session to allow undo. 2017-03-06 04:41:26 +11:00
Jesse Boyd
150a5b16db
Remove clipboard load message 2017-03-06 03:22:53 +11:00
Jesse Boyd
6c505c8c02
Clean up brushes 2017-03-06 03:19:14 +11:00
Jesse Boyd
0775b55fbb
Allow binding by data 2017-03-05 15:46:48 +11:00
Jesse Boyd
c10520c010
Clear visualizer on item change 2017-03-05 15:34:26 +11:00
Jesse Boyd
4007155b8f
Fix index bounds error 2017-03-05 15:30:21 +11:00
Jesse Boyd
e7e833789a
Fix clipboard scroll with 1 entry 2017-03-05 03:04:10 +11:00
Jesse Boyd
c325f0745c
Add async relighting option 2017-03-05 02:57:59 +11:00
Jesse Boyd
b3b86bd3df
Various
Fix brush scroll
Fix spline reset
Allow setting offhand brush settings (use -h flag)
2017-03-05 01:48:04 +11:00
Jesse Boyd
52740d1e1c
*Wrong url 2017-03-05 01:36:34 +11:00
Jesse Boyd
9c805f2de2
Fix for 1.10 2017-03-05 00:43:32 +11:00
Jesse Boyd
e9250d6e7c
Add flag for copy brush random rotate 2017-03-04 22:07:03 +11:00
Jesse Boyd
8c592d1506
Assets 2017-03-04 21:33:45 +11:00
Jesse Boyd
5ead47ba2f
Possibly fixes #438 2017-03-04 18:22:11 +11:00
Jesse Boyd
cb2f9ebf11
Move class 2017-03-04 17:19:23 +11:00
Jesse Boyd
9e9339b9ab
*Rename command 2017-03-04 17:03:32 +11:00
Jesse Boyd
04603b7cee
Various
Improved web integrated clipboard
Fully fledged brush visualization (modes 0-2): //br vis
Brush targeting modes (0-3): //br target
Brush scroll actions: //br scroll
- change clipboard from directory or web
- change mask
- change pattern
- change range
- change size
- change target mode
Build multi-brushes (choose the brush for left click and right click
individually)
- //br primary
- //br secondary
- Changing the pattern/mask will affect the currently selected brush,
not both
Changes to brush behavior
- spline connects by clicking the same spot twice
- line/copy brush tweaks
Schematics now default per user
- To save/load globally use "../" before the filename
Easily save a schematic to a directory
- `//schem save folder/` will choose save a the next lowest free number
Improved block parsing
Add resettable brushes
- e.g. line brush resets points by shift + left click
2017-03-04 00:54:50 +11:00
Jesse Boyd
9c74d0b981
Various (unfinished)
Fixes #439
Update to Java 8
Adds scrollable brushes to the API (action on brush scroll)
- Clipboard
- Mask
- Pattern
- Range
- Size
Adds movable brushes to the API (action on brush move)
Adds different targeting modes for brushes (see enum TargetMode)
Adds VisualBrush to API (sends client block changes instead of changing
the world)
Updater now checks every 30m for updates
Adds in game updater changelog (/fawe changelog)
Adds language option to config
Adds german translations
Adds CircleBrush (WIP)
Simplify DoubleActionBrush and DoubleActionBrushTool to extend
Brush/BrushTool
Use ImmutableBlock instead of anonymous BaseBlock for cache
Fixes CuboidRegion iteration (affected some commands)
Fixes WorldCopyClipboard schematic saving
Optimize FawePlayer -> Player by caching value
Simplified pattern and mask API by extending legacy versions
Optimize sphere, cylinder and deform
Added brush cancellation by SHIFT + LEFT CLICK
Probably some other stuff
2017-02-26 16:39:00 +11:00
Jesse Boyd
74baf5fee8
Fixes #442 2017-02-26 16:23:55 +11:00
Jesse Boyd
01a7c9c388
Async flush AsyncWorld 2017-02-20 11:11:28 +11:00
Jesse Boyd
e6dfdf0ecf
Chat progress tracker 2017-02-20 11:10:23 +11:00
Jesse Boyd
a080735b83
Fix stack outside region 2017-02-20 07:46:30 +11:00
Jesse Boyd
32808dfc81
Some fixes to the erode brush 2017-02-20 01:50:05 +11:00
Jesse Boyd
d1682d6938
Fixes #430 2017-02-19 14:44:13 +11:00
Jesse Boyd
b9fdfb8b01
Fixes #427 Fixes #426 2017-02-18 16:12:42 +11:00
Jesse Boyd
3d81e98a2a
Fix remove message 2017-02-17 12:52:23 +11:00
Jesse Boyd
2637cbc9cd
Include Javassist (bytecode manipulation)
Will be used to optimize the server jar
2017-02-16 20:32:16 +11:00
Jesse Boyd
e3a56fcc50
Fix center + tweak updater 2017-02-16 13:25:48 +11:00
Jesse Boyd
79f7a95fc6
Fix cuboid iteration 2017-02-16 02:21:58 +11:00
Jesse Boyd
1cd090ce01
use different method for history flushing/close 2017-02-16 01:57:03 +11:00
Jesse Boyd
0af82fd31f
Fixes #421 2017-02-15 14:26:40 +11:00
Jesse Boyd
47b7e858ff
Optimize BFS and ellipsoid iteration 2017-02-15 14:25:48 +11:00
Jesse Boyd
4caadb8ab9
Probably fixes #423 2017-02-14 09:06:44 +11:00
Jesse Boyd
686e932943
Timed expression evaluation 2017-02-14 09:01:32 +11:00
Jesse Boyd
760de4af24
Fix the flatmap scaling issues 2017-02-13 21:16:53 +11:00
Jesse Boyd
861ebad1ea
Forgot to flush undo/redo 2017-02-13 15:08:57 +11:00
Jesse Boyd
8168c08ab6
Fix heightmap scaling 2017-02-13 15:08:32 +11:00
Jesse Boyd
2c119c468c
Possibly fixes #422 2017-02-13 15:08:09 +11:00
Jesse Boyd
4d09354bd4
Flat brush shapes 2017-02-13 05:34:27 +11:00
Jesse Boyd
7069966f5f
Fix bad cast 2017-02-13 04:39:42 +11:00
Jesse Boyd
47999d323b
Fix some chunk loading issues
Affected 1.8/1.7
Also improves performance for various operations
2017-02-13 02:55:19 +11:00
Jesse Boyd
897d86b5cb
Only update if using java 8 2017-02-12 14:19:25 +11:00
Jesse Boyd
f95190bf51
Forgot to smooth/fix scaling 2017-02-08 16:26:37 +11:00
Jesse Boyd
49fc44bb4d
Add flatten brush (needs testing) 2017-02-08 15:44:21 +11:00
Jesse Boyd
85ac3dff41
preloading chunks is significantly faster
The RegionVisitor loads (default: 32) expected chunks just in time for
the operation.

TODO rewrite operations to use the new RegionVisitor
2017-02-08 14:43:34 +11:00
Jesse Boyd
d5d5b47cdb
tweak the syntax 2017-02-08 12:12:55 +11:00
Jesse Boyd
a3b8f4c917
Add heightmap from imgur 2017-02-08 12:01:44 +11:00
Jesse Boyd
295baa4217
Fixes #418 2017-02-07 19:23:26 +11:00
Jesse Boyd
8fd908232e
Add memory/CPU optimized BlockVectorSet
Which internally it uses a map of LocalBlockVectorSet
2017-02-06 13:13:18 +11:00
Jesse Boyd
0427771b7e
Re-add the forge/sponge modules 2017-02-06 13:09:44 +11:00
Jesse Boyd
1fdc0a59ec
*Use player limit rather than int max 2017-02-02 10:33:07 +11:00
Jesse Boyd
6439f28c0c
Add restrictions to region copy 2017-02-02 10:29:37 +11:00
Jesse Boyd
479d92b573
synchronize NMSRelighter map as switched to fastutil 2017-01-30 20:42:14 +11:00
Jesse Boyd
6408320843
synchronize on block map access 2017-01-30 06:26:47 +11:00
Jesse Boyd
116a1869b1
Fixes #400 2017-01-29 13:31:08 +11:00
Jesse Boyd
ebc7ba43e6
Various
Fix biome change not sending packet
Add optimized biome get and set (AsyncWorld, EditSession etc.)
Add undo for biome changes
Fix tile entities for slow (non NMS) bukkit queue
Translate some stuff
Fix some concurrency issues with autoqueue
cuboid region geChunks() now has fixed memory cost (applies to commands
e.g. //listchunks)
Fix some undo issues
2017-01-29 09:25:53 +11:00
Jesse Boyd
7f1390803f
Override BlockWorldVector 2017-01-16 01:44:34 +11:00
Jesse Boyd
8ac81b51e5
Check if web url is configured before download 2017-01-15 22:38:22 +11:00
Jesse Boyd
a7b29ab82f
Tweak some stuff 2017-01-15 22:15:22 +11:00
Jesse Boyd
55f95e5022
ignore EOF 2017-01-15 20:26:51 +11:00
Jesse Boyd
812c12fce4
Undo/Settings
Fix some disk and undo issues
FaweQueue uses Settings instance
2017-01-15 18:45:12 +11:00
Jesse Boyd
9d2e9212fa
Add option to send packets before relight 2017-01-15 15:50:12 +11:00
Jesse Boyd
5e2d3b2523
Fixes distr region bypass 2017-01-13 16:53:55 +11:00
Jesse Boyd
ef145dbbc4
Fixes #394 2017-01-13 16:45:20 +11:00
Jesse Boyd
90e381a132
Minor vector optimizations
For the MutableBlockVector, use int instead of double
- Should reduce how quickly memory is used/collected
2017-01-13 06:05:32 +11:00
Jesse Boyd
4dc6cadc5d
Fixes #387 2017-01-11 18:08:12 +11:00
Jesse Boyd
de7c0bb013
* 2017-01-11 07:54:07 +11:00
Jesse Boyd
bc677f823e
Various
Fix for Vector/BlockVector
Use optimized LocalBlockVectorSet for various operations
- Ideally I'd like the operations to use O(1) memory, but for now it'll
use substantially reduced O(n)
Some message tweaks
Some minor entity placement optimizations
Refactor set optimization to be in the EditSession class
Fix and minor optimizations for for countBlocks()
Minor optimizations for affine transforms (//rotate etc.)
Optimizations for fuzzy block mask
2017-01-11 07:47:59 +11:00
Jesse Boyd
674d40f19c
Add optimized Set<Vector>
The LocalBlockVectorSet implements Set<Vector>
- Faster than a HashSet and uses 100-800x less memory
- Limited to vectors all within a 2048x256x2048 area
2017-01-11 07:29:34 +11:00
Jesse Boyd
21c77a2fc8
Fixes #391 2017-01-09 14:39:55 +11:00
Jesse Boyd
f6db2cf7d3
I should probably have a perm for that 2017-01-09 04:47:55 +11:00
Jesse Boyd
ea637dbbfd
Allow specifying nbt in block pattern 2017-01-09 04:34:31 +11:00
Jesse Boyd
22c89ce33a
*This should probably also have nbt 2017-01-09 03:41:00 +11:00
Jesse Boyd
ffd3275904
Fixes #320 2017-01-09 03:34:43 +11:00
Jesse Boyd
c0cbe8b4cd
Clean up the brush class 2017-01-08 23:53:46 +11:00
Jesse Boyd
1f83319c8f
Fix FakePlayer error (API usage) 2017-01-08 23:52:44 +11:00