Commit Graph

18 Commits

Author SHA1 Message Date
b4d7562b87 Looks like automagical relighting (#838)
Fixes #686
2021-01-11 19:29:16 +00:00
82bcc0e9a5 Allow "post processing" of chunks (#658)
* begin allowing "post processing" of chunks
 - restores legacy capability to continue saving edits in the background after sending the chunks
 - speeds up the edit clientside
 - nail in the coffin of the terrible and staticly coded coreedit
 - We should totally make IronGolem work so Core* is no longer used by anyone

* begin allowing background history saving

* Handle post processors in queues properly

* Use futures for postprocessing so we're not waiting for them needlessly

* better use of closed boolean

* Reword
2020-09-28 11:13:02 +01:00
7375827844 implement getBiome(BlockVector3)
fixes #622
2020-09-18 11:52:49 +01:00
d6c9a887ac Fixlighting now also calculates heightmaps
Fixes #386 and #438 seems fixed, but that might be something else that fixed?
2020-09-14 14:19:23 +01:00
3bc692ff11 Part 1 of upstream merge and format 2020-07-13 22:50:59 -04:00
bdc14c10c7 Fix relight and removelight (#475)
* Start work on lighting engine (does not build)

* Implement getLighting

* Setting, flushing light etc works. Getting light should be working..?

* Better queue/chunk handling

* Use correct location for lighting update

* Correct set location, remove debug

* cleanup a little

* Fix fixlight

* Apply to all versions for the numpties

* Remove lighting extent if not using

* Actually bitmask blocks when setting in chunks

* Initialise Maps and Dequeues with inital size

* format

* Documentation maybe
2020-05-27 11:45:08 +01:00
e648b35b95 Small code quality changes 2020-03-24 12:32:36 -04:00
f37bc9417c Merge branch 'merge' into 1.15 2019-12-19 19:05:27 +01:00
6a49b71cf2 Fix compile 2019-12-19 16:19:46 +00:00
6ddeb2ebf5 Various minor
refactor some region dependencies
swithc masking extent to a filter (so it can be parallelized)
Some unfinished refactoring of the filters
remove piston messages from strings.json
2019-12-16 09:07:51 +00:00
144ea2ef34 Lazy tags + get / set tiles
Lazy tags means tiles/ents are not translated into the nms NBTBase until it is needed. Should be faster in cases where getFullBlock is called, but nbt is not always needed.
Commands like Copy and Paste, where the input/output are both nms worlds, can entirely bypass WorldEdit translating to and from the WorldEdit JNBT classes.
2019-11-20 03:40:52 +00:00
a23a4e5496 misc changes. 2019-11-11 16:02:28 -05:00
8356004ec9 chunk sending / cfi 2019-10-26 14:21:49 +01:00
2080e9786b commanding-pipeline diff 2019-10-23 05:23:52 +01:00
d434dfcfdd some minor refactoring 2019-08-18 02:09:09 +01:00
74fe88ae01 merge 2019-08-07 01:28:12 +10:00
f99d6e7478 wip on 1.14 2019-07-09 17:18:51 +10:00
c797dcb194 WIP filter patterns 2019-05-12 23:32:04 +10:00