Commit Graph
100 Commits
Author SHA1 Message Date
Matthew MillerandIronApollo 628c9cc0b7 Make BaseBlock more memory efficient, and make it clear in the API that it's not intended to be used for every single block. 2019-01-10 09:54:21 -05:00
Matthew MillerandGitHub 88f22f2e59 Merge pull request #429 from sk89q/bugfix/config-no-plat-dependency
Make block states lazy, fix forge for new block API
2018-10-07 18:21:30 +10:00
Matthew Miller 79a4121098 Return null if the material is null. 2018-10-04 20:29:40 +10:00
Matthew MillerandGitHub 7961fa5891 Merge pull request #428 from sk89q/feature/gradle-licenses
Switch to a license plugin for headers
2018-10-04 17:46:12 +10:00
Matthew Miller b46b0c3801 Updated changelog, contributing info, gradle, etc 2018-10-04 16:15:35 +10:00
Matthew MillerandGitHub 5aa8f7784e Merge pull request #425 from sk89q/feature/forge-world-improvements
Implement some optional methods in ForgeWorld
2018-10-04 15:59:15 +10:00
Matthew MillerandGitHub 6b33f08f3a Merge pull request #426 from sk89q/feature/cleaner-javadoc
Cleanup javadoc warnings
2018-10-02 11:03:00 +10:00
Matthew Miller aee011ea89 Added discord link to README 2018-09-30 14:00:08 +10:00
Matthew Miller 59584ba10c [Experimental] Don't check for permissions on root parents. 2018-09-26 15:41:27 +10:00
Matthew Miller 42e0cceeab Bukkit really needs methods to get by key/get key 2018-09-26 15:03:01 +10:00
Matthew Miller 18abaa21a2 Update the shadow plugin 2018-09-25 20:24:10 +10:00
Matthew Miller cc1a54b5f0 Added an implementation tester to Bukkit, to determine which impl is in use. (For WE,WG,CB to use Paper/Spigot specific APIs) 2018-09-23 22:48:04 +10:00
Matthew Miller fd6034fbdd Added the 1.13.1 new blocks. 2018-09-23 20:22:33 +10:00
Matthew Miller 02c6f11bb9 Added bStats 2018-09-20 22:59:42 +10:00
Matthew Miller 568643d08a Back to snapshot for continued development 2018-09-20 17:31:14 +10:00
Matthew Miller 8975469efb Bump to beta 01 2018-09-20 17:18:11 +10:00
Matthew Miller 1a2cd3a948 Fixes WORLDEDIT-3609, Message should say cut when //cut is used. 2018-09-20 17:09:50 +10:00
Matthew Miller 4969dac39c Potential minor performance improvements when checking fuzzy equality. 2018-09-20 16:56:46 +10:00
Matthew MillerandGitHub 6a71cd2155 Merge pull request #423 from Gerrygames/master
fix sponge schematic offset
2018-09-10 16:41:45 +10:00
Matthew MillerandGitHub 2521a9a2d0 Merge pull request #422 from Brokkonaut/chunkformat1_13
Add 1.13 chunk format for snapshots
2018-09-03 12:45:31 +10:00
Matthew Miller 8bfbc55c71 Enable experimental //walls for non-cuboid regions. 2018-08-30 16:42:50 +10:00
Matthew Miller 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
Matthew Miller fdb9d77710 Finish the BlockData caching in Bukkit 2018-08-28 18:45:24 +10:00
Matthew Miller c931095736 Little bit of formatting 2018-08-27 17:24:18 +10:00
Matthew Miller fb5cb9a7bb Added a 1.13.1 adapter. 2018-08-27 13:29:29 +10:00
Matthew MillerandGitHub 3b88fc361d Merge pull request #421 from Pieter12345/master
Fix plugin enabling on Bukkit without compatible adapter
2018-08-27 12:33:10 +10:00
Matthew Miller 58a5d9961b Minor formatting and neatness changes. 2018-08-23 20:15:44 +10:00
Matthew Miller 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
Matthew MillerandGitHub d3b3d57041 Merge pull request #420 from sk89q/server-side-cui
Added a server side version of WorldEditCUI with limited functionality
2018-08-20 14:46:08 +10:00
Matthew Miller 7b83f97c35 Fixed NotABlockException not getting thrown 2018-08-19 14:41:09 +10:00
Matthew Miller 0f8cc99c35 Disable server CUI by default. 2018-08-19 13:46:24 +10:00
Matthew Miller a354267e85 Try sending fake operator packets to support non-OP 2018-08-19 13:41:38 +10:00
Matthew Miller 4d0df10f88 Fixed sessions not saving on shutdown 2018-08-19 13:01:08 +10:00
Matthew Miller 41c307a4b5 Set the session to dirty if the server CUI is changed. 2018-08-19 10:46:46 +10:00
Matthew MillerandGitHub 034c165bee Merge pull request #396 from boy0001/FallbackRegistrationListener-fix
Fix FallbackRegistrationListener
2018-08-18 20:46:48 +10:00
Matthew MillerandGitHub dc39300af8 Merge pull request #364 from mickare/patch-1
Fix region contain method
2018-08-18 20:33:53 +10:00
Matthew Miller eba91cac5f Added a config option to entirely disable server side cui. 2018-08-18 19:42:45 +10:00
Matthew Miller 0cbfc9308e Add base of sendFakeBlock to Sponge and Forge impls 2018-08-18 19:35:53 +10:00
Matthew Miller 20b67db48d Added a command to turn it on/off 2018-08-18 16:34:32 +10:00
Matthew Miller f8585adc79 Remove debug code 2018-08-18 15:27:26 +10:00
Matthew Miller 7f419618cc Switch to using fake blocks, no more world pollution 2018-08-18 15:22:49 +10:00
Matthew Miller cf10f8ff8a Proof of concept server-side CUI handler. Note: This pollutes the world with blocks atm 2018-08-18 14:22:08 +10:00
Matthew Miller 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
Matthew Miller c31161d068 Moved report framework to WorldEdit and fixed a few bugs. 2018-08-15 12:45:18 +10:00
Matthew Miller 96388df4b0 Add adapters for EntityType 2018-08-13 22:29:48 +10:00
Matthew Miller e0e7778536 Fixed some bugs and cleanup some code. 2018-08-13 22:18:12 +10:00
Matthew Miller f96487a2d1 Use BlockStateHolder for setBlocks 2018-08-10 20:36:00 +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 526aa6cf49 If we fail to set NBT Data, try it without the adapter/NBT Data 2018-08-06 18:29:07 +10:00
Matthew Miller d11c3ae600 Fixed reading in schematics failing if they had tile entity data because of a Spigot change. 2018-08-06 17:57:40 +10:00
Matthew Miller 1d9546f9c7 Fixed a typo in the adapter. 2018-08-05 15:02:01 +10:00
Matthew Miller 88fc1771b5 Wrap createEntity in BukkitWorld to detect corrupt entities. 2018-08-05 14:24:09 +10:00
Matthew Miller 334143357a Added LongArrayTag support to NBT 2018-08-05 13:36:53 +10:00
Matthew MillerandGitHub 9494c4445a Merge pull request #418 from sk89q/string-ids
[WIP] Update WorldEdit to 1.13, and heavily refactor the internals.
2018-08-04 11:45:04 +10:00
Matthew Miller 38cff7c7b2 Fixed up tile entities in Sponge schematics. 2018-08-04 11:43:43 +10:00
Matthew Miller b2769befdb Added a few utility methods. 2018-08-04 11:43:42 +10:00
Matthew Miller b2bc043eeb Added 155:3 and 155:4 translation 2018-08-04 11:43:42 +10:00
Matthew Miller 3d265ff9b9 Added entity translations 2018-08-04 11:43:42 +10:00
Matthew Miller 2f3bc59e1b Fixed //move 2018-08-04 11:43:42 +10:00
Matthew Miller 7773ef6f9a Fixed a few issues with Sponge schematic handling. 2018-08-04 11:43:42 +10:00
Matthew Miller 2c1b234e38 Fixed some issues with Sponge schematics. 2018-08-04 11:43:42 +10:00
Matthew Miller ea349bdbf1 Fix checkstyle issues. 2018-08-04 11:43:42 +10:00
Matthew Miller a75d9e896b Start work on the Sponge schematic format. This should work but it may not, it's untested. 2018-08-04 11:43:42 +10:00
Matthew Miller a4b9ceaeb2 Finish off the last of the legacy mapper warnings (Excluding TNT as I've got the 1.13.1 names) 2018-08-04 11:43:42 +10:00
Matthew Miller c05c33cab0 Make a lot of progress on legacy conversions. 2018-08-04 11:43:42 +10:00
Matthew Miller fdb7ada295 Added some error handling for legacy conversions of schematics. 2018-08-04 11:43:42 +10:00
Matthew Miller 57eaa5f8f2 Using toBlockPoint appears to fix a fair few issues. 2018-08-04 11:43:42 +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 db21f51a18 Fixed up data cycler command, and the fixwater & fixlava commands. 2018-08-04 11:43:41 +10:00
Matthew Miller 64e0d99696 Improvements to the legacy mapper. Still a lot of work. 2018-08-04 11:43:41 +10:00
Matthew Miller fc5a6a01b3 Update gradle 2018-08-04 11:43:41 +10:00
Matthew Miller 1090c44a2e Parser must use lowercase. 2018-08-04 11:43:41 +10:00
Matthew Miller 965e977411 Fixed a few more errors, and added legacy support to the item parser. 2018-08-04 11:43:41 +10:00
Matthew Miller bc2279f2f6 Refactor schematics to use kenzierocks registerable system. 2018-08-04 11:43:41 +10:00
Matthew Miller 3f1f52d1f1 Made a few schematic related fixes. Made the deprecation error more obvious. 2018-08-04 11:43:41 +10:00
Matthew Miller 9f9fda72b7 Re-add legacy support to block parser, and fix query tool. 2018-08-04 11:43:41 +10:00
Matthew Miller 5f551d1ed4 Include default blockstate information. 2018-08-04 11:43:41 +10:00
Matthew Miller af74627b69 Switch to release 1.13 API 2018-08-04 11:43:41 +10:00
Matthew Miller 65420af09e Fixed //fill and //rotate 2018-08-04 11:43:41 +10:00
Matthew Miller 2239d14a01 Fixed //replace and masks with states. 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 572bf04482 Cleanup the bukkit implementation, and update to the 1.13 release items/blocks. 2018-08-04 11:43:41 +10:00
Matthew Miller c3d832c3fd State system is done. It works. Finally. Still a few rough edges that need fixing however. 2018-08-04 11:43:41 +10:00
Matthew Miller 6b5f218809 Basically finish the state system. Just 1 more bug that I'm encountering. 2018-08-04 11:43:41 +10:00
Matthew Miller 4938f419ad Almost finished the state system. Just got to have it actually load in the values. 2018-08-04 11:43:41 +10:00
Matthew Miller 3e1d438565 Get it to a point where it works minimally on 1.13 Spigot. 2018-08-04 11:43:41 +10:00
Matthew Miller 59ca29577c Remove weird TODO import and moved BlockType == Material to BukkitUtil 2018-08-04 11:43:40 +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 724661d903 Fixed DefaultBlockParser not working for things with _ 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
Matthew Miller 7db443a69a Migrate the logic for which pass a block goes into. Also updated it and made it use tags where possible. 2018-08-04 11:43:40 +10:00
Matthew Miller efa09001c2 Remove the 'natural only' smooth brush feature due to inaccuracies. 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 11f5d05e7b Update BlockState to remove legacy ID usage. 2018-08-04 11:43:40 +10:00
Matthew Miller 93b225ca3c Expose a way of switching between ItemType and BlockType for ItemBlocks. 2018-08-04 11:43:39 +10:00
Matthew Miller b06937d1c8 Setup a legacy mapper system. The file does not exist yet. 2018-08-04 11:43:39 +10:00