Matthew Miller
679b00bde6
feat(i18n): add support for translatable text replacement ( #478 )
...
* Rebase translation work for easier rebasing
* Fixed gradle setup
* Further translations
* Add a few more strings
* Remove support for pluralisation to match Minecraft and alleviate issues with over-complexity
* Further translations
* Added a tonne more translations
* Added the remaining translation nodes
* When custom files are found, use the base files for default values.
* Only download translations if a key is provided
* Fixed typo in brush radius too large
* Allow translation files to be missing entries, and use the english version in place.
* Fixed issues brought up in review
* Reverse translation order (#533 )
* Fix a lot of PR comments
* Add JD to the Operation warned field due to no private fields in J8
* Only warn when there are messages
2019-12-09 12:46:18 +10:00
Kenzie Togami
91a78f725a
Some shading fixes
2019-10-19 00:48:49 -07:00
Kenzie Togami
03c0cce53e
Update to Piston 0.5.2 + Doctools/Deprecation improvements ( #523 )
...
* Update to Piston 0.5.2
* [Doctools] Fix output, be verbose about deprecations
* Improve deprecation system, doctools output
2019-10-05 19:06:18 +10:00
Kenzie Togami
8af68fc884
Initial watchdog setup. Bukkit needs adapters, everything needs testing.
2019-09-29 22:09:55 -07:00
Kenzie Togami
23ca70e49a
[Forge] Update to Recommended Forge, newer mappings
2019-09-14 01:06:49 -07:00
Kenzie Togami
0898adac99
Add defaultVerticalHeight to other configurations
2019-09-09 03:47:32 -07:00
Barteks2x
3fdc1d1ab6
Better support for very tall worlds and negative heights
...
Avoid iterating the world top to bottom/bottom to top for very tall worlds
2019-09-09 03:20:38 -07:00
Kenzie Togami
fa364dd738
[Forge] Update FG + Forge
2019-09-07 21:59:13 -07:00
Matthew Miller
0620478763
feature(cli): Added a CLI version of WorldEdit, and allowed most commands to be run from console ( #508 )
...
* Re-do commits to avoid awful rebase
* You can load and save a schematic file now. Still gotta setup ability to use commands as a console actor.
* Add a world override concept to LocalSession, and allow a lot more commands to be performed by actors.
* Fixed commands, and set the loaded schematic as the world override in CLI
* Properly load tags
* Added 1.14.4 data values
* Allow a majority of commands to be performed by the console.
* Fixed a lot of PR requested changes
* Added a Locatable interface and use that for getting the location of the player in commands.
* Added script support. Currently requires a newline at the end of the script.
* Shade everything to allow this to run locally - should probably minimize this to an extent later.
* Actually hook up the version
* Added a //world command to set the override
* Fixed a missed checkstyle issue
* Added CommandBlock support to Bukkit
* Make command block support configurable
* Minor cleanup and implementing a few of the final functions
* Fixed most issues from PR
* Improve UX, saving is now automatic and unknown command messages show
* Better save docs and support any clipboard format
* Include the entire formats list
* Arrays.copyOf
* Clear the world override if the selector is called on another world.
* Update logging extent to allow basic logging with non-player actors
2019-08-25 19:58:28 +10:00
wizjany
17cfdee347
Update/remove more dead links.
2019-08-06 23:07:26 -04:00
Kenzie Togami
8880385878
[Forge] Switch off of deprecated getEntityPlayer
2019-08-05 14:21:18 -07:00
Kenzie Togami
35edd95c87
[Forge] Update to 28.0.45 for package rename
2019-08-05 14:17:56 -07:00
Kenzie Togami
5f5c067081
[Forge] Mark chunks for save after editing biomes
2019-08-02 20:39:34 -07:00
Kenzie Togami
7d31ac6dea
Update to Forge 28.0.34 for PlayerInteract fix
2019-08-02 14:03:06 -07:00
Kenzie Togami
50cea37439
Fix other minor suggestion bugs
2019-07-27 23:49:11 -07:00
Kenzie Togami
c8cf0d8ba6
[Forge] Update to 1.14.4, pending Forge bugfixes
2019-07-25 19:19:03 -07:00
wizjany
2cc6a367c6
Move floatAt logic to AbstractPlayer, add isAllowedToFly and setFlying.
2019-07-23 22:16:26 -04:00
wizjany
8545417b3a
Fix error in /up when used out of bounds.
...
Also reduce calls to Entity#getLocation() all over since it's
more expensive than it needs to be (adapts world/vector every time).
2019-07-23 22:16:26 -04:00
Kenzie Togami
8975347703
Fix Forge regen, by retaining the world reference. Also close the world.
2019-07-17 18:02:45 -07:00
Kenzie Togami
5277f99bf2
Minor fixes for craftscripts in Forge
2019-07-12 13:49:45 -07:00
Kenzie Togami
5a14693aa9
Migrate Sponge, Libs to Kotlin DSL
2019-07-12 13:49:45 -07:00
Kenzie Togami
3bdc1c1cf2
Fixup after shade rhino merge
2019-07-12 13:49:45 -07:00
Kenzie Togami
3d4025c757
Migrate Forge to Kotlin DSL
2019-07-12 13:49:45 -07:00
Kenzie Togami
19802e478c
Re-write root and libs to Kotlin DSL
2019-07-12 13:49:45 -07:00
Kenzie Togami
59c2a15cda
Further minor cleanup from Gradle 5 change
2019-07-12 13:49:45 -07:00
Kenzie Togami
5a464142ae
Shade Rhino and truezip into Forge dist
2019-07-08 20:21:31 -07:00
wizjany
f0c0eedde7
Fix handling CUI on Forge server.
...
Probably.
2019-07-05 17:08:18 -04:00
Matthew Miller
aa8d34c913
feature(fabric): added fabric support ( #491 )
...
* Initial work towards Fabric compat. This does not compile yet
* Further updates - should compile but Gradle is being weird.
* Remove useless buildscript extras
* Added mixins to buildscript classpath to fix Loom crash
* Make it compile
* Got it building and added interaction
* Fixed review comments
* Use ServerPlayerEntity for FakePlayer
* Use method references for nicer names
* Fixed remaining comments and added networking for CUI
* Output as dist.jar
* Added mixins for left click air
* Use regex for cleanliness
2019-06-27 22:25:02 +10:00
Kenzie Togami
255f016df3
[Forge] Update to 1.14.3
2019-06-26 19:44:42 -07:00
wizjany
2347fdff62
[Forge] Use IClearable to clear containers.
2019-06-24 22:44:45 -04:00
Kenzie Togami
7879be157e
[Forge] Update to newer 1.14.2 forge, mappings
2019-06-22 12:42:20 -07:00
wizjany
d763ab374c
Re-add delchunks command ( #481 )
...
The new command now writes a json file to WorldEdit's working directory with instructions on which chunks to delete, which is read by the plugin/mod at startup and calls the ChunkDeleter.
The chunk deleter parses the json and iterates the instructions, backing up .mca files as it goes and overwriting the offset headers with 0 wherever a chunk needs to be deleted.
This allows Minecraft to reclaim the space used for that chunk, as well as forcing it to be generated from scratch next time the area is loaded.
2019-06-22 14:20:14 -04:00
wizjany
078d6f6440
Update to Forge 1.14.
2019-06-15 20:47:48 -04:00
Kenzie Togami
27c7d488a2
Add perf. improvments for Forge
2019-06-15 17:33:17 +10:00
Kenzie Togami
8c17aab9c5
Clean-up some misc. parts of the code
2019-06-15 17:33:17 +10:00
Matthew Miller
2571efb5c3
Few fixes for worldedit changes
2019-06-15 17:33:17 +10:00
Kenzie Togami
a3a175ab8c
Initial attempt at binding state IDs
2019-06-15 17:33:17 +10:00
wizjany
e69ba31d6b
Bring FakePlayer cache to Forge.
2019-06-14 18:09:21 -04:00
wizjany
213cadf093
Import cleanup, ensure gradle uses https for deps, bump deps.
2019-06-13 09:17:00 -04:00
wizjany
c361da11f1
Various fixes and improvements for Forge WE 1.13.
2019-06-09 20:45:24 -04:00
wizjany
1e7c074217
Few misc command fixes.
2019-06-01 09:35:27 -04:00
wizjany
6ad274677f
Don't require command for CUI init.
2019-05-29 23:15:06 -04:00
Kenzie Togami
3b2b7f2c68
Initial attempt at restoring regen functionality ( #475 )
2019-05-26 20:00:45 -04:00
wizjany
feed5173ec
Add Forge DataFixer.
...
Unsure how useful this will be, but eh.
2019-05-20 16:39:58 -04:00
Kenzie Togami
389671b43b
Apply eclipse plugin to prevent crash in FG
2019-05-10 03:39:29 -07:00
Kenzie Togami
067a570df0
Implement basic Forge suggestions
2019-05-05 23:06:20 -07:00
Kenzie Togami
8a3e6a12b9
Implement suggestions for Bukkit + Sponge
2019-05-05 23:06:20 -07:00
Kenzie Togami
acc0e7d09c
Fix logging on Bukkit, align adapter versions
2019-05-05 23:06:20 -07:00
Matthew Miller
62353a46db
Added a pagination box and use it in Biome List and Chunk List
2019-04-27 21:57:45 +10:00
Kenzie Togami
7ff537138a
Merge master again
2019-04-26 01:25:42 -07:00
Matthew Miller
302cd8f348
Update note in ForgePlatform on data version.
2019-04-26 16:41:39 +10:00
wizjany
17fba54305
Update SpongeSchematic format to version 2.
...
Allows saving and loading entities and biomes.
2019-04-26 16:41:39 +10:00
Kenzie Togami
853bfab022
Merge master, update to texts
2019-04-25 22:11:46 -07:00
Matthew Miller
c325b789b2
Revert lighting changes and add a 1.14 adapter
2019-04-25 23:15:09 +10:00
Matthew Miller
db4871f022
Merge pull request #462 from EngineHub/feature/expanded-styleset
...
feat(text): added modern text formatting to worldedit, and switch a few things over to it
2019-04-25 19:39:26 +10:00
Matthew Miller
4f5f9c8a5d
Add forge support to the text system.
2019-04-25 19:38:32 +10:00
Matthew Miller
0434bcf48c
Remove unnecessary gradle entries
2019-04-22 23:59:31 +10:00
Kenzie Togami
5c19866809
Some fixes for new libs shading
2019-04-20 23:33:54 -07:00
Kenzie Togami
1e7b4fc835
Move shaded libraries to their own artifacts
2019-04-20 23:11:39 -07:00
Matthew Miller
5b1573a24e
Replace the message system
2019-04-19 23:06:00 +10:00
Matthew Miller
55348346e9
Shade in Kashike's lib
2019-04-19 14:49:29 +10:00
Kenzie Togami
477e78bd17
[Forge] Update to latest forge for keyevent fixes
2019-04-17 00:15:05 -07:00
wizjany
99da55dc94
Fix building above bounds.
2019-04-15 20:44:02 -04:00
Kenzie Togami
267ccf2298
First attempt at integrating Piston as the only command system
2019-04-15 01:21:15 -07:00
wizjany
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
Kenzie Togami
8ab6585815
Patch new cmds system into old system
2019-04-04 16:16:04 -07:00
Matthew Miller
4629c1f7e4
Few fixes for the Forge version.
2019-03-26 21:09:41 +10:00
Matthew Miller
d186cce393
Merge remote-tracking branch 'origin/feature/slf4j-logging'
2019-03-19 20:32:21 +10:00
wizjany
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
Kenzie Togami
fba12b1282
More shading fixes
2019-03-13 20:15:01 -07:00
Kenzie Togami
4be72fb983
Shade logger bridges as well
2019-03-13 19:56:58 -07:00
Kenzie Togami
d6804737cf
Switch to SLF4J logging.
2019-03-13 19:51:48 -07:00
Kenzie Togami
4191f017f1
[Forge] Fix sub-commands by registering even less
2019-03-13 18:54:23 -07:00
wizjany
4f0506ec8b
Fix versions in toml. Use internalversion (with git hash).
2019-03-12 17:30:45 -04:00
Matthew Miller
6e24472af5
Bump to latest forge and cleanup some old files.
2019-03-11 22:45:41 +10:00
wizjany
a59d994d84
Hook up the biome registry.
2019-03-11 00:15:21 -04:00
wizjany
6192ba8dc1
Checkstyle fixes and warnings.
...
Should get 'working' builds now.
2019-03-11 00:02:51 -04:00
Kenzie Togami
bb33897221
Handle all commands like pre-1.13 for now
2019-03-04 19:57:22 -08:00
Kenzie Togami
4878f38250
Fix platform registration, config setup
2019-03-04 19:36:06 -08:00
Kenzie Togami
9ee0f00030
Initial command registration setup. Pretty hacky, subcommands do not work, some arguments missing.
2019-03-04 18:31:20 -08:00
Kenzie Togami
a0f127813d
Pull config dir from FMLPaths
2019-02-21 00:40:00 -08:00
Matthew Miller
aa295d91e8
All but commands and config directory are ported.
2019-02-19 21:49:06 +10:00
Matthew Miller
29b6c84230
Rebase and properly setup the registries
2019-02-19 20:30:52 +10:00
Kenzie Togami
7faafa1635
Update mappings and forge, correct toml keys
2019-02-19 18:16:28 +10:00
Matthew Miller
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
Matthew Miller
cf435fd63d
Bump to 1.13.2
2019-02-19 18:16:28 +10:00
Matthew Miller
d079f06c31
Make it actually load into an IDE on latest FG
2019-02-19 18:16:28 +10:00
Matthew Miller
e4ce51003e
Bump to latest Forge
2019-02-19 18:16:28 +10:00
Matthew Miller
c849f69ef4
Convert across the network handlers
2019-02-19 18:16:28 +10:00
Matthew Miller
9fccfdfaeb
Further work on 1.13
2019-02-19 18:16:28 +10:00
Matthew Miller
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
Matthew Miller
7a08098b03
Further work on Forge 1.13 compat.
2019-02-19 18:11:37 +10:00
Matthew Miller
11cf5377d9
Further attempts
2019-02-19 18:11:37 +10:00
Matthew Miller
e6d5ce8165
Start work on Forge 1.13
2019-02-19 18:11:37 +10:00
Matthew Miller
db1315e043
Refactor registries to entirely use the platform
2019-02-16 19:35:13 +10:00
Matthew Miller
1b101740fe
Use a proper registry for biomes
2019-02-16 17:27:00 +10:00
Kenzie Togami
3fefcbf971
Remove all raw usages of BSH, improve API generics
2018-12-26 16:39:10 -08:00
Matthew Miller
b75d5149eb
Fixed the bundle being directly used outside of the registry system.
2018-12-23 21:43:20 +10:00
Matthew Miller
6312bcecf6
Fixed the item parser not using the ItemRegistry
2018-12-23 19:02:58 +10:00
Matthew Miller
ea30578781
Added a way to get the spawn position of a world
2018-12-21 17:05:30 +10:00
Matthew Miller
c949b07df1
Added a method to teleport entities across worlds.
2018-12-21 16:56:10 +10:00
Matthew Miller
7d468357e3
Added "fast mode corrections"
2018-12-09 16:27:02 +10:00
Matthew Miller
53bc730909
Merge pull request #435 from sk89q/feature/trace-unflushed-sessions
...
Add tracing for unflushed EditSessions
2018-11-04 17:21:25 +10:00
Matthew Miller
1150256df1
Update config
2018-11-04 17:21:01 +10:00
Kenzie Togami
2c8b2fe089
Move vectors to static creators, for caching
2018-11-03 23:00:24 -07:00
Kenzie Togami
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
Kenzie Togami
e1fbaaff59
Add tracing for unflushed EditSessions
2018-10-30 18:39:51 -07:00
Matthew Miller
815f14d4a1
Remove a config option that's now unused.
2018-10-13 15:12:04 +10:00
Kenzie Togami
ef2c07ca24
Update forge for new block API
2018-10-04 17:18:43 -07:00
Kenzie Togami
2cad9a2c09
Switch to a license plugin for headers
2018-10-04 00:29:34 -07:00
Kenzie Togami
3e1c58c99b
Implement some optional methods in ForgeWorld
2018-10-01 15:17:05 -07:00
Matthew Miller
4d0df10f88
Fixed sessions not saving on shutdown
2018-08-19 13:01:08 +10:00
Matthew Miller
0cbfc9308e
Add base of sendFakeBlock to Sponge and Forge impls
2018-08-18 19:35:53 +10:00
Matthew Miller
c31161d068
Moved report framework to WorldEdit and fixed a few bugs.
2018-08-15 12:45:18 +10:00
Matthew Miller
e0e7778536
Fixed some bugs and cleanup some code.
2018-08-13 22:18:12 +10:00
Matthew Miller
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
Matthew Miller
5f4cc3e694
Cleanup a little bit more code.
2018-08-06 19:08:15 +10:00
Matthew Miller
1480606b52
Fixed a few more issues found looking over the changeset.
2018-08-04 11:43:42 +10:00
Matthew Miller
521238b4eb
Fixed a few clipboard related issues.
2018-08-04 11:43:41 +10:00
Matthew Miller
663dd1f4d8
Added an entity, weathertype, and gamemode registry.
2018-08-04 11:43:41 +10:00
Matthew Miller
39c6a5e958
Fixed items not being registered
2018-08-04 11:43:40 +10:00
Matthew Miller
ca06a05117
Update the Bukkit adapter to the Spigot API Preview
2018-08-04 11:43:40 +10:00
Matthew Miller
e1c2ea3a3b
Update configs, and remove unused BlockData methods.
2018-08-04 11:43:40 +10:00
kashike
d33e2e98aa
registry changes
2018-08-04 11:43:40 +10:00
kashike
a48c319e7e
package move
2018-08-04 11:43:40 +10:00
Matthew Miller
57c13ef8f4
Continue moving out of legacy BlockType
2018-08-04 11:43:40 +10:00
Matthew Miller
e291cccb94
Move simulateBlockMine up to the platforms.
2018-08-04 11:43:40 +10:00
Matthew Miller
b06937d1c8
Setup a legacy mapper system. The file does not exist yet.
2018-08-04 11:43:39 +10:00
Matthew Miller
282eca7663
Added a category system and refactored registries
2018-08-04 11:43:39 +10:00
Matthew Miller
484687a49d
Further work on BlockState transition
2018-08-04 11:43:39 +10:00
Matthew Miller
e99190225e
Further BaseBlock modernisation
2018-08-04 11:43:39 +10:00
Matthew Miller
e2608bc0c9
Further modernise and remove legacy item classes
2018-08-04 11:43:39 +10:00
Matthew Miller
aaaf2d5678
More deprecation removal
2018-08-04 11:43:38 +10:00
Matthew Miller
20bf6e079b
Continue the great purge
2018-08-04 11:43:38 +10:00
Matthew Miller
d12ad2548a
Add block registration to Forge WorldEdit.
2018-08-04 11:43:38 +10:00
Matthew Miller
d5012bb072
Rename legacy things to bundled things.
2018-08-04 11:43:14 +10:00
Qveshn
f680635ded
Added customizable command log format (Date+Time are now available)
...
Added the option format to config files (config.yml + worldedit.properties). By default, current date and time are displayed.
The formatting function is implemented by analogy with the class java.util.logging.SimpleFormatter
2018-05-19 18:47:45 +03:00
Matthew Miller
50f60da69f
Prevent players and complex parts being pasted in schematics.
2018-01-02 20:49:36 +10:00
wizjany
437ad00658
Move asm dep to buildscript section.
2017-10-19 20:06:01 -04:00
wizjany
21d89311c9
Update asm dep for ForgeGradle.
2017-10-16 18:08:41 -04:00
Kenzie Togami
d6aa1ad509
Make Java 8 detection work on Java 9
...
Closes #393 .
2017-08-16 16:39:42 -07:00
Kenzie Togami
6c6e1b4ce2
[Forge] Officially move to Java 8
2017-08-16 16:07:18 -07:00
Kenzie Togami
f2c5b272ad
Add client-side left-click-air handler
2017-08-16 15:20:33 -07:00
wizjany
f34bc7aca5
Updated Bukkit to 6.1.7.3 for MC 1.12.1 and Forge to 6.1.8 for MC 1.12.
2017-08-05 12:18:52 -04:00
Kenzie Togami
cd4729f82f
[Forge] Update to latest 1.11.2 mappings
2017-08-01 23:01:12 -07:00
Kenzie Togami
537c6694e1
[Forge] Update to 1.11.2
2017-02-22 23:36:25 -08:00
wizjany
a8d04c24be
[Forge] Release 6.1.6 for Forge 1.11.
...
Using Forge recommended build 2189.
2016-12-13 21:16:37 -05:00
Kenzie Togami
85ef47ae0c
[Forge] Update mappings to 11/30.
2016-12-01 23:14:16 -05:00
Kenzie Togami
c75fd3a449
[Forge] Remove now-unused ATs 🎉
2016-12-01 23:14:16 -05:00
Kenzie Togami
1752963288
[Forge] Make //regen work better
...
It now creates a brand-new world, generates the appropriate section
there, and copies it over to the original world.
2016-12-01 23:14:16 -05:00