Commit Graph

217 Commits

Author SHA1 Message Date
d4157b7e0e Current progress with update 2018-12-23 11:19:33 -05:00
cf96c478be change entity list to ignore player when pasting 2018-12-22 00:46:05 +01:00
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
2c8b2fe089 Move vectors to static creators, for caching 2018-11-03 23:00:24 -07:00
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
dd2fcbac23 Merge pull request #430 from sk89q/feature/chunk-batching-mode
Chunk Batching
2018-10-15 13:50:10 +10:00
1a12c065a1 Various minor fixes
Fix drain
Fix some messages lacking prefix
Fix non persistent brushes
2018-10-13 15:15:38 +11:00
0a149a796f Make distr operation based 2018-10-12 15:28:40 +10:00
ff391ca0b3 Update licenses 2018-10-10 11:38:23 -07:00
e059490cd1 Rework block-batching, create draft of chunk batching 2018-10-10 11:38:23 -07:00
cfbf7dbec0 Update from sk89q/master 2018-09-25 15:35:21 +10:00
82ede1d42b freebuild region restrictions 2018-09-05 05:10:15 +10:00
b24d322d29 Update from sk89q/master 2018-09-03 00:10:38 +10:00
fdc3cd56f7 Add a mask for block categories. Eg, you can now do //replace ##wool minecraft:sand to replace all wool with sand 2018-08-30 14:51:38 +10:00
abd886acd7 some hasty refactoring 2018-08-28 02:56:28 +10:00
c931095736 Little bit of formatting 2018-08-27 17:24:18 +10:00
dbd31ea347 Fixes boy0001/FastAsyncWorldedit#1090 2018-08-24 01:22:30 +10:00
f43faae917 Update favs 2018-08-23 06:02:04 +10:00
c55353e5b1 Various command (use es6 if java9 + nashorn) 2018-08-22 03:22:37 +10:00
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
44c5447edb Parse instead of get block for masks 2018-08-17 23:05:34 +10:00
177bfaa930 Rename setCopyEntities to setCopyingEntities 2018-08-17 18:33:37 +10:00
2172ebba83 Fix some issues with java 9 / reflection 2018-08-16 19:56:31 +10:00
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
659ed09bf1 Fix compile 2018-08-16 00:04:16 +10:00
1740c845d2 What are the dud BlockCategories? 2018-08-14 11:00:44 +10:00
0632a9ce96 Fix some merge issues 2018-08-14 00:38:33 +10:00
6f04022738 And these stubs 2018-08-13 03:23:53 +10:00
e7c27b08bf Remove stub injector methods 2018-08-13 02:36:39 +10:00
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
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
1480606b52 Fixed a few more issues found looking over the changeset. 2018-08-04 11:43:42 +10:00
521238b4eb Fixed a few clipboard related issues. 2018-08-04 11:43:41 +10:00
2239d14a01 Fixed //replace and masks with states. 2018-08-04 11:43:41 +10:00
663dd1f4d8 Added an entity, weathertype, and gamemode registry. 2018-08-04 11:43:41 +10:00
59ca29577c Remove weird TODO import and moved BlockType == Material to BukkitUtil 2018-08-04 11:43:40 +10:00
ca06a05117 Update the Bukkit adapter to the Spigot API Preview 2018-08-04 11:43:40 +10:00
a48c319e7e package move 2018-08-04 11:43:40 +10:00
93b225ca3c Expose a way of switching between ItemType and BlockType for ItemBlocks. 2018-08-04 11:43:39 +10:00
b06937d1c8 Setup a legacy mapper system. The file does not exist yet. 2018-08-04 11:43:39 +10:00
66d70f00e7 Removed more deprecated code 2018-08-04 11:43:39 +10:00
416480c16d Separated out fluids and blocks - they're different now 2018-08-04 11:43:39 +10:00
70aceb3837 Use default state a bit more. 2018-08-04 11:43:39 +10:00
282eca7663 Added a category system and refactored registries 2018-08-04 11:43:39 +10:00
484687a49d Further work on BlockState transition 2018-08-04 11:43:39 +10:00
e99190225e Further BaseBlock modernisation 2018-08-04 11:43:39 +10:00
aaaf2d5678 More deprecation removal 2018-08-04 11:43:38 +10:00
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
a71e39d777 Convert the data system to a state system. This doesn't work, needs new data 2018-08-04 11:43:38 +10:00
f5f1d357d9 Get rid of the string equality and convert a few more ID uses over. 2018-08-04 11:43:14 +10:00