Commit Graph

117 Commits

Author SHA1 Message Date
2a1fdf470f Implement getMaxY for ForgeWorld.
Should play nicer with things like CubicChunks. Note that there is no
way to get the min point in Minecraft itself, so this only supports
going up, not down.
2019-04-14 11:16:49 -04:00
4629c1f7e4 Few fixes for the Forge version. 2019-03-26 21:09:41 +10:00
678a78a982 Update adapters.
Don't update unchanged blocks, do change NBT, no need to light.

Also clean up the forge side a bit.
2019-03-15 20:56:49 -04:00
4191f017f1 [Forge] Fix sub-commands by registering even less 2019-03-13 18:54:23 -07:00
4f0506ec8b Fix versions in toml. Use internalversion (with git hash). 2019-03-12 17:30:45 -04:00
6e24472af5 Bump to latest forge and cleanup some old files. 2019-03-11 22:45:41 +10:00
a59d994d84 Hook up the biome registry. 2019-03-11 00:15:21 -04:00
6192ba8dc1 Checkstyle fixes and warnings.
Should get 'working' builds now.
2019-03-11 00:02:51 -04:00
bb33897221 Handle all commands like pre-1.13 for now 2019-03-04 19:57:22 -08:00
4878f38250 Fix platform registration, config setup 2019-03-04 19:36:06 -08:00
9ee0f00030 Initial command registration setup. Pretty hacky, subcommands do not work, some arguments missing. 2019-03-04 18:31:20 -08:00
a0f127813d Pull config dir from FMLPaths 2019-02-21 00:40:00 -08:00
aa295d91e8 All but commands and config directory are ported. 2019-02-19 21:49:06 +10:00
29b6c84230 Rebase and properly setup the registries 2019-02-19 20:30:52 +10:00
7faafa1635 Update mappings and forge, correct toml keys 2019-02-19 18:16:28 +10:00
de9798bf7e Further work on 1.13.2 WorldEdit for Forge. Forge still is missing too many features to finish this, and I need to work out how to port the command wrapper system over. 2019-02-19 18:16:28 +10:00
d079f06c31 Make it actually load into an IDE on latest FG 2019-02-19 18:16:28 +10:00
c849f69ef4 Convert across the network handlers 2019-02-19 18:16:28 +10:00
9fccfdfaeb Further work on 1.13 2019-02-19 18:16:28 +10:00
a64d8dc6fa Fixed a lot of the errors, still more to go. Gotta switch to Forge registries once they exist. 2019-02-19 18:14:58 +10:00
7a08098b03 Further work on Forge 1.13 compat. 2019-02-19 18:11:37 +10:00
db1315e043 Refactor registries to entirely use the platform 2019-02-16 19:35:13 +10:00
1b101740fe Use a proper registry for biomes 2019-02-16 17:27:00 +10:00
3fefcbf971 Remove all raw usages of BSH, improve API generics 2018-12-26 16:39:10 -08:00
b75d5149eb Fixed the bundle being directly used outside of the registry system. 2018-12-23 21:43:20 +10:00
6312bcecf6 Fixed the item parser not using the ItemRegistry 2018-12-23 19:02:58 +10:00
ea30578781 Added a way to get the spawn position of a world 2018-12-21 17:05:30 +10:00
c949b07df1 Added a method to teleport entities across worlds. 2018-12-21 16:56:10 +10:00
7d468357e3 Added "fast mode corrections" 2018-12-09 16:27:02 +10:00
53bc730909 Merge pull request #435 from sk89q/feature/trace-unflushed-sessions
Add tracing for unflushed EditSessions
2018-11-04 17:21:25 +10:00
1150256df1 Update config 2018-11-04 17:21:01 +10: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
e1fbaaff59 Add tracing for unflushed EditSessions 2018-10-30 18:39:51 -07:00
815f14d4a1 Remove a config option that's now unused. 2018-10-13 15:12:04 +10:00
ef2c07ca24 Update forge for new block API 2018-10-04 17:18:43 -07:00
2cad9a2c09 Switch to a license plugin for headers 2018-10-04 00:29:34 -07:00
3e1c58c99b Implement some optional methods in ForgeWorld 2018-10-01 15:17:05 -07:00
4d0df10f88 Fixed sessions not saving on shutdown 2018-08-19 13:01:08 +10:00
0cbfc9308e Add base of sendFakeBlock to Sponge and Forge impls 2018-08-18 19:35:53 +10:00
c31161d068 Moved report framework to WorldEdit and fixed a few bugs. 2018-08-15 12:45:18 +10:00
e0e7778536 Fixed some bugs and cleanup some code. 2018-08-13 22:18:12 +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
5f4cc3e694 Cleanup a little bit more code. 2018-08-06 19:08:15 +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
663dd1f4d8 Added an entity, weathertype, and gamemode registry. 2018-08-04 11:43:41 +10:00
39c6a5e958 Fixed items not being registered 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
e1c2ea3a3b Update configs, and remove unused BlockData methods. 2018-08-04 11:43:40 +10:00