Commit Graph

91 Commits

Author SHA1 Message Date
TomyLobo 1ce9d39f45 Removed fast lighting completely for the release. 2011-12-13 06:00:08 +01:00
zml2008 914dd647b5 Changed EditSessionBlockDelegate.getHeight's return to match what Bukkit's worldheightheight methods return 2011-12-12 20:05:38 -08:00
zml2008 98216e2762 Added support for non-128 worldheights 2011-12-13 04:50:53 +01:00
TomyLobo 90b062a9d8 Fixed some warnings 2011-12-08 11:54:35 +01:00
zml2008 c2460a6305 PlayerInteract listener should now respect cancelled status. 2011-12-06 15:03:34 -08:00
TomyLobo c21c380bba Added a -a flag to /butcher to kill animals. Its now disabled by default. 2011-12-06 07:10:15 +01:00
TomyLobo bc3a4377ec The /butcher command no longer kills NPCs, except when the -n flag is passed.
Also:
- Moved some code from BukkitWorld to LocalWorld.
- Replaced the "boolean killPets" argument by an "int flags" to provide extensibility
- Made the radius argument a double
- Basically rewrote the entire function
- Deprecated all old versions of killMobs
2011-12-06 06:50:11 +01:00
TomyLobo 3ccb152350 Added support for line breaks to BukkitPlayer.print* 2011-12-05 10:33:13 +01:00
zml2008 daf1dde701 Moved WEPIF to the com.sk89q.wepif package and made PermissionsResolverManager a singleton
Added OfflinePlayer permissions fetching methods to WEPIF
2011-12-04 17:42:46 -08:00
sk89q 11245014c8 Added @Override annotations. 2011-11-29 20:17:50 +01:00
TomyLobo a4ccadacdc Added ServerInterface.schedule(delay, period, task). 2011-11-29 09:09:04 +01:00
TomyLobo cc0e39b493 Added particle and sound effects to the single super pickaxe. 2011-11-28 07:36:42 +01:00
TomyLobo 36fbfa409f Added LocalWorld.playEffect and an implementation for Bukkit. 2011-11-28 07:13:19 +01:00
zml2008 255e342353 Added enchantment support 2011-11-27 15:29:51 -08:00
TomyLobo c8180e641f Reverting part of a cleanup that made java cry for some obscure reason. 2011-11-25 06:34:10 +01:00
TomyLobo 7e13b60a51 Cleanup 2011-11-23 04:48:40 +01:00
TomyLobo c6fee413dc Changed BukkitWorld.killMobs, so it compiles with the latest RB again.
Also increased forward compatibility as a side-effect.
2011-11-21 06:21:21 +01:00
Wizjany 19194ccb88 Made //butcher apply to enderdragons 2011-11-20 19:31:13 -05:00
TomyLobo 1194f4448e Fixed the unused Polygonal2DSelection(List, int, int) constructor. 2011-11-19 15:09:28 +01:00
TomyLobo 13f36757c2 Fixed compass teleporting twice on cliff edges 2011-11-16 16:54:05 +01:00
TomyLobo 86dfa3dce8 Cleaned up WorldEditPlayerListener.onPlayerInteract. 2011-11-13 15:17:08 +01:00
TomyLobo ae3adae8a8 Disabled fast lighting until the issues are resolved. 2011-11-09 02:49:24 +01:00
TomyLobo 3ed5841863 The block bag fetch/place mapping is now taken from BlockType.getBlockBagItem. 2011-11-04 16:56:53 +01:00
TomyLobo 8e368ceef1 Employed a set of consistent rules for getDroppedBlock(type, data) and renamed it to getBlockBagItem. 2011-11-04 13:27:51 +01:00
TomyLobo ff39121fc8 Begun adding support for data/damage values to the blockbag. 2011-11-03 15:51:23 +01:00
TomyLobo 4c05050d73 Improved /we version output for dev builds. 2011-11-02 17:23:45 +01:00
TomyLobo 6b0f237a46 Removed extra fastLighting flag.
Fast lighting is now used when available.
2011-10-31 03:28:05 +01:00
Wizjany 699807665d Cleanup 2011-10-29 11:57:45 -04:00
TomyLobo 0ba3da2641 Reverted to old manual lighting system that doesn't call notch's block lighting functions directly. 2011-10-29 05:27:17 +02:00
TomyLobo 0ca66ce350 Moved check for fastLightingAvailable from BukkitWorld.fixAfterFastMode to fixLighting and adjusted the description for //generate. 2011-10-26 23:24:23 +02:00
TomyLobo 7dfc2a34e5 Improved fast mode.
BukkitWorld's fast lighting mode now also does what the old fast mode did.
In addition, both fast lighting mode and the fallback resend all modified chunks when done.
This should prevent display issues.
2011-10-25 18:41:07 +02:00
TomyLobo a1fb1fd4e4 Using Notch's block lighting functions now.
Also removed some debug messages
2011-10-24 23:42:04 +02:00
TomyLobo a0461aeb2c BukkitWorld.fixLighting now also fixes block light. 2011-10-24 20:49:17 +02:00
TomyLobo 4f7e1a6b31 Improved speed greatly by deferring lighting until after all blocks are in place.
This needs CraftBukkit to work.
2011-10-24 13:44:22 +02:00
TomyLobo e8dcee1acf Added LocalWorld.fixLighting(Set<BlockVector2D>)
This method redos lighting in the given chunks.
BukkitWorld's current implementation introduces some slight errors and doesn't redo torch light, but it's better than nothing.
2011-10-24 13:35:48 +02:00
zml2008 52982c7c0f Moved YAML classes from RegionBook from WorldGuard into WorldEdit and made everything use those. 2011-10-22 23:48:15 -07:00
zml2008 050eef8dc7 Fixed checkLoadedChunk 2011-10-10 02:01:50 -04:00
zml2008 24056df78a Fixed config generation for Windows users 2011-10-02 01:27:52 -07:00
zml2008 ccfabd94b9 Should fix broken config generation some people have been getting 2011-09-28 19:05:47 -07:00
zml2008 3bbebcd64e Updated for Bukkit changes. 2011-09-24 15:45:49 -07:00
Wizjany b5b55a2775 Cleanup and a few bugfixes 2011-09-24 15:24:10 -04:00
Wizjany b10498b9c7 Added 'xp' as a parameter of the /remove command to remove experience orbs. 2011-09-17 01:44:10 -04:00
Wizjany afa8e873e9 Reverted block id checking in BukkitWorld to prevent false positives and made LoclWorld use the internal list for easier updates 2011-09-14 21:27:24 -04:00
TomyLobo cb927d17e1 Fixed a warning. 2011-09-14 18:33:07 +02:00
zml2008 6f43c6a312 Updated for 1.8 blocks and items 2011-09-13 22:47:17 -07:00
zml2008 c38a6b0677 Bug fixes 2011-09-09 15:15:03 -07:00
zml2008 6b3f19f857 Minor cleanup of WEPIF constructors 2011-09-07 17:56:39 -07:00
zml2008 6f1d263e16 Added getting of the Bukkit player to BukkitPlayer (for RegionBook) 2011-09-04 19:29:45 -07:00
TomyLobo 9ea977af77 Fixed some warnings. 2011-09-04 23:20:03 +02:00
Wizjany 4c00a24c1d Abstracted all block IDs to BlockID and item ids to ItemType. Overloaded recently changed methods for compatibility and cleaned a few things up. 2011-09-03 13:01:51 -04:00