Commit Graph

1087 Commits

Author SHA1 Message Date
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
Jesse Boyd
f254027f4b
Fix //wand 2018-08-16 00:04:40 +10:00
Jesse Boyd
659ed09bf1
Fix compile 2018-08-16 00:04:16 +10:00
Jesse Boyd
be574391ed
Update WorldGuard hook 2018-08-15 23:30:42 +10:00
Jesse Boyd
13d2ae20d5
Make end tag singleton 2018-08-15 17:02:17 +10:00
Jesse Boyd
8d68191b2c
Implement spawnParticle 2018-08-15 14:22:42 +10:00
Jesse Boyd
a67441bbff
Merge remote-tracking branch 'refs/remotes/sk89q/master'
# Conflicts:

#	worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java
#	worldedit-core/src/main/java/com/sk89q/worldedit/blocks/BaseBlock.java
#	worldedit-core/src/main/java/com/sk89q/worldedit/world/NullWorld.java
2018-08-15 14:02:51 +10:00
Matthew Miller
c31161d068 Moved report framework to WorldEdit and fixed a few bugs. 2018-08-15 12:45:18 +10:00
Jesse Boyd
131fd39f63
Various minor
Add entity registry
Re-add AbstractLoggingExtent
Fill in missing nbt on entity load
2018-08-14 19:24:10 +10:00
Jesse Boyd
55d34343dd
Fix some api compatibility issues 2018-08-14 17:18:49 +10:00
Jesse Boyd
22511b2e19
Make this public 2018-08-14 12:07:11 +10:00
Jesse Boyd
198c53ff58
Fix wrong import 2018-08-14 12:00:48 +10:00
Jesse Boyd
1740c845d2
What are the dud BlockCategories? 2018-08-14 11:00:44 +10:00
Jesse Boyd
76a55b7712
Merge remote-tracking branch 'refs/remotes/sk89q/master'
# Conflicts:

#	worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitAdapter.java
#	worldedit-core/src/main/java/com/sk89q/util/yaml/YAMLProcessor.java
#	worldedit-core/src/main/java/com/sk89q/worldedit/blocks/BlockType.java

#	worldedit-core/src/main/java/com/sk89q/worldedit/command/ToolCommands.java

#	worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/BlockReplacer.java

#	worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/LongRangeBuildTool.java

#	worldedit-core/src/main/java/com/sk89q/worldedit/extent/reorder/MultiStageReorder.java

#	worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockType.java

#	worldedit-core/src/main/java/com/sk89q/worldedit/world/item/ItemType.java
2018-08-14 01:36:00 +10:00
Matthew Miller
96388df4b0 Add adapters for EntityType 2018-08-13 22:29:48 +10:00
Jesse Boyd
f72977e69a
Register BlockExplodeEvent in separate class 2018-08-13 03:46:57 +10:00
Jesse Boyd
7fb3899bb7
Use BlockState for player inventory getBlock 2018-08-13 03:31:26 +10:00
Jesse Boyd
e7c27b08bf
Remove stub injector methods 2018-08-13 02:36:39 +10:00
Jesse Boyd
26593a135d
Don't need this adapter class 2018-08-13 00:51:37 +10:00
Jesse Boyd
712ae5aec5
Register individual methods for chunk listener 2018-08-13 00:36:00 +10:00
Jesse Boyd
a629d15c74
Copy paste/merge FAWE classes to this WorldEdit fork
- so certain people can look at the diff and complain about my sloppy code :(

Signed-off-by: Jesse Boyd <jessepaleg@gmail.com>
2018-08-13 00:03:07 +10:00
Jesse Boyd
1b2fec8e09
Add readme 2018-08-12 23:43: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
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
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 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
Matthew Miller
e1c2ea3a3b Update configs, and remove unused BlockData methods. 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
b292a39765 Fixed the fuzzy matcher 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
Matthew Miller
f5f1d357d9 Get rid of the string equality and convert a few more ID uses over. 2018-08-04 11:43:14 +10:00
Matthew Miller
41a80064f5 I guarantee this is broken. Start some form of string ID for blocks 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
Legoman99573
9d61ecfb75
Fixed Grammar Mistakes
Thanks to @kenzierocks for showing me some mistakes i forgot to fix
2018-02-16 11:11:18 -06:00
Legoman99573
63da23a819
Made configuration file comments easier to read
This should make it a little more clearer to read when someone configures WorldEdit config.yml file
2018-02-16 09:24:48 -06:00
Matthew Miller
50f60da69f Prevent players and complex parts being pasted in schematics. 2018-01-02 20:49:36 +10:00
Jesse Boyd
01e082a1a4
Fix FallbackRegistrationListener 2017-09-02 18:09:53 +10:00
Kenzie Togami
d6aa1ad509
Make Java 8 detection work on Java 9
Closes #393.
2017-08-16 16:39:42 -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
Jesse Boyd
dd00bb13c6 Restrict command & structure block placement
You can't place these blocks without Op & Creative;
WorldEdit should also disable placement of them by default.
2017-06-08 10:01:23 -04:00
wizjany
a4f1f57c9d Add Bukkit adapter for 1.12.
Fixes WORLDEDIT-3567.
2017-06-08 10:01:23 -04:00
wizjany
82fdab35d1 Update 1.11 adapter with md_5's fix.
Fixes WORLDEDIT-3524.
2016-12-02 15:27:56 -05:00
wizjany
cd266ad96c Add adapter for CraftBukkit 1.11 2016-11-17 22:23:59 -05:00
wizjany
ac1b4f7251 Add adapter for 1.10. Currently untested. 2016-06-09 10:17:52 -04:00
wizjany
a5f5dc099b Disable left-click air task creation.
This should really not be necessary anymore.
Reverts 13f36757.
Fixes WORLDEDIT-3444.
2016-05-29 00:54:58 -04:00
wizjany
32fb5b302d Ignore PlayerInteracts with off-hand item.
Fixes WORLDEDIT-3437
The API will need to be changed to accomodate off-hand tools etc
2016-05-15 03:29:58 -04:00
wizjany
7be1395ae2 Add 1.9.4 adapter.
Fixes WORLDEDIT-3438.
2016-05-15 03:17:29 -04:00
Kenzie Togami
301d02c9c5 Warn when not using Java 8 or greater.
Note: this warning is not in the shared WorldEdit class because it
doesn't get loaded as early as the individual plugin/mod
implementations for some reason.
2016-05-05 17:55:22 -07:00
wizjany
de3578137b Add bukkit adapter for MC 1.9. 2016-03-02 18:14:18 -05:00
sk89q
935de4c93d Add some experimental brush commands.
/br set <shape> <radius> <pattern>
/br deform <shape> <expression>
/br scatter <shape> <density> <generator>
/br apply <shape> <generator>

<shape> can be: cuboid, cyl[inder], sphere

<density> is 0-100

<generator> can be:
forest|tree <type>
item <item>[:<data>] (ONLY WORKS ON FORGE)

Examples:

/br deform cuboid 5 y-=0.2
/br scatter sphere 5 100 minecraft:dye:15
2015-10-26 23:14:30 -07:00
sk89q
b4d574273d Add more random tree types. 2015-06-05 00:30:14 -07:00
wizjany
a3a4039646 Added Bukkit adapter for 1.8 R3 (1.8.4-1.8.6 atm). 2015-05-28 15:38:02 -04:00
wizjany
604b1d8515 Added Bukkit adapter for 1.8.3. 2015-03-10 23:49:02 -04:00
wizjany
ec9c77c31b Excluded armor stands from //butcher by default.
Someone got lazy and just made armor stands a living entity instead of extracting an ArmorEquippable interface.
2015-01-22 15:54:01 -05:00
Kenzie Togami
372a520382 Directly access entity list
This replaces the very slow chunk dance that was being used.
2015-01-20 10:43:37 -05:00
zml
6a6c590a07
WEPIF: Use UUIDs wherever possible in PermissionsExResolver 2015-01-10 16:57:53 -08:00
sk89q
ad9c1a03cf [Bukkit] Fix missing configuration file. 2014-12-05 19:00:27 -08:00
sk89q
ba72585a98 Add Bukkit adapter for Spigot 1.8R1. 2014-12-05 18:48:24 -08:00
sk89q
a41ba326af Update CraftBukkit adapters for latest NBT library changes. 2014-11-14 17:14:07 -08:00
sk89q
7192780251 Switch to Gradle. Use git log --follow for history.
This converts the project into a multi-module Gradle build.

By default, Git does not show history past a rename, so use git log
--follow to see further history.
2014-11-14 11:27:39 -08:00