Matthew Miller
79a4121098
Return null if the material is null.
2018-10-04 20:29:40 +10:00
Kenzie Togami
2cad9a2c09
Switch to a license plugin for headers
2018-10-04 00:29:34 -07:00
Kenzie Togami
388187d26b
Cleanup javadoc warnings in worldedit-bukkit
2018-10-01 15:31:26 -07:00
Matthew Miller
42e0cceeab
Bukkit really needs methods to get by key/get key
2018-09-26 15:03:01 +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
02c6f11bb9
Added bStats
2018-09-20 22:59:42 +10:00
Matthew Miller
fdb9d77710
Finish the BlockData caching in Bukkit
2018-08-28 18:45:24 +10:00
Pieter12345
6c7a49733c
Fix plugin enabling on Bukkit without compatible adapter
...
When loading WorldEdit on a Bukkit server which it does not have an adapter for, a stacktrace is printed to console and WorldEdit does not load. This commit fixes that by registering the BukkitServerInterface before attempting to find a matching adapter.
2018-08-26 21:34:33 +02:00
Matthew Miller
58a5d9961b
Minor formatting and neatness changes.
2018-08-23 20:15:44 +10:00
Matthew Miller
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
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
034c165bee
Merge pull request #396 from boy0001/FallbackRegistrationListener-fix
...
Fix FallbackRegistrationListener
2018-08-18 20:46:48 +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
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
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
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
88fc1771b5
Wrap createEntity in BukkitWorld to detect corrupt entities.
2018-08-05 14:24:09 +10:00
Matthew Miller
b2769befdb
Added a few utility methods.
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
65420af09e
Fixed //fill and //rotate
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
ca06a05117
Update the Bukkit adapter to the Spigot API Preview
2018-08-04 11:43:40 +10:00
kashike
a48c319e7e
package move
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
57c13ef8f4
Continue moving out of legacy BlockType
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
Matthew Miller
66d70f00e7
Removed more deprecated code
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
811f1d4433
Rewrote block parsing, and further switch to BlockState
2018-08-04 11:43:39 +10:00
Matthew Miller
5f5a1797ad
Remove legacy ServerInterface
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
c537a2e948
Remove a tonne of code from WorldEdit. This breaks backwards compatibility. More will be removed. Sorry :)
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