* Add tracing feature to EditSessions
This helps track down what plugin (or more specifically, extent) is
blocking actions from happening.
* Set a trace hook instead of a one-off command
* Correct the logic for determining tracing active
* Fix extra newline in AbstractPlayerActor
* Fix checkstyle
* Improve messaging of trace mode
* Added a snow brush
* Re-add the Apply class for deprecation reasons
* Use the context extent rather than an EditSession
* Only freeze water source blocks.
* Fixed the bind message for snow stacker
* Fixed PR issues
Everything delegates to the original EditSession signature. The new
RegenOptions + EditSession variant is removed, as it was never
officially published. A delegation check was installed in the
NAFC-marked method.
* Convert simulateSnow to an Operation and add stacking support
* Fixed height calculations
* Use a LayerVisitor for SnowSimulator
* Fixed few issues
* Update the 1.16 block mappings, and use isSolid rather than !isTranslucent due to translucent no longer existing. A better solution should come later.
* I feel this is a better temporary check
* Localise the ExceptionConverter
* Further work on localising exceptions
* Everything but input parsing is now localised
* Finish making errors localisable
* Fixed a few notes from review
* Fixed another spot
* More changes
* Specialise parser errors
* Add RegenOptions to the API
* Integerate regen options into //regen
* Rename isRegenBiomes to shouldRegenBiomes
* Go through the EditSession for setting biomes
* Respect 3D biome support in regen
* Add RegenOptions implementation for 1.16 Bukkit adapter.
Co-authored-by: wizjany <wizjany@gmail.com>
* Replace BlockStates reading with new 1.16 logic
* Account for running on older platforms
Splits out the new reading to AnvilChunk16, uses data version to detect
the appropriate version.
* Move data versions to Constants
Also fixes some logic hiccups that become obvious with the new names.
* Fix LegacyMapper DFU handling
* Fix factor indexing
People have issues copy/pasting with this on, so I think for now it's
better to leave it off. If someone needs the special behavior for
setting panes or fences, they can turn it back on.
We do need to investigate the reason why it's not working, and
potentially save validation for post-edit, rather than prior to
placement.
This re-adds a deprecated `//fast` and moves the current logic to
`//perf`. Later `//perf` will have its syntax reworked, when Piston
finally supports sub-commands properly!
* Allow API detection of the biome fuzzer in use
This allows us to warn, fix, or optimize biome edits to the overworld.
* Drop edits to Y = 0 for biomes in overworld
* Re-work ArbitraryBiomeShape to simplify logic
Also fixes not being able to use THE_VOID with it