sk89q
09f3364d9f
Moved the block data check to LocalWorld, adding preliminary support for custom blocks.
...
All unknown blocks are now assumed to carry data, and so this will also future proof WorldEdit (for the immediate future). However, be aware that full custom block support requires carrying TileEntity data (and perhaps other data) and that is not yet supported.
2012-02-05 17:47:09 -08:00
TomyLobo
8aa65fd7f4
License block changes
...
Added some missing license blocks
Added "and contributors" to all copyright notices.
Added $Id$ to files that were still missing it.
Changed "All rights reserved" to GPLv3 on Injector.java.
2012-01-20 08:24:32 +01:00
TomyLobo
050442fac3
Added a -l flag to /butcher, which spawns fake lightning on all killed entities.
2011-12-21 19:03:21 +01:00
zml2008
98216e2762
Added support for non-128 worldheights
2011-12-13 04:50:53 +01: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
7a429e9932
Made Node.getPosition final and fixed some whitespace in LocalWorld.
2011-12-04 20:06:23 +01:00
TomyLobo
6be514cdf9
Added LocalWorld.queueBlockBreakEffect.
2011-11-29 09:15:29 +01:00
TomyLobo
36fbfa409f
Added LocalWorld.playEffect and an implementation for Bukkit.
2011-11-28 07:13:19 +01:00
TomyLobo
7e13b60a51
Cleanup
2011-11-23 04:48:40 +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
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
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
050eef8dc7
Fixed checkLoadedChunk
2011-10-10 02:01:50 -04: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
TomyLobo
88b4f4de18
Cleanup.
...
- Fixed a few warnings
- Unified the formatting of the command prologue
- Put down why it was deprecated in the javadoc of a deprecated method.
- Gave //none a better usage line
- Switchcaseified some elseifs
2011-09-19 07:24:49 +02:00
zml2008
3f369f104a
Abstracted type detection of simulateBlockMine into BlockType.
2011-09-17 22:00:14 -07: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
3bcd9a932b
Replaced lots of else if constructs by switch/case and other simpler constructs.
2011-09-05 04:20:36 +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
zml2008
bc6315fb24
Fixed getting and setting of blocks in unloaded chunks
2011-08-29 17:31:08 -07:00
TLUL
22cbc90b6d
setTypeIdAndData in LocalWorld is no longer abstract - it now defaults to calling setBlockType and setBlockData. Restores compatibility with SinglePlayerCommands 2.10_2.
2011-08-14 03:48:18 -04:00
masteroftime
750d6dd1d0
Destroying tall grass with superpickaxe now randomly drops seed
2011-08-11 19:27:00 +02:00
hretsam
990915b23f
Merge remote-tracking branch 'remotes/pull_117/multiworld-snapshots'
2011-08-05 12:29:49 +02:00
Jacob Scott
86d12a62a0
superpickaxe on a piston head wont drop an unplacable block
2011-07-15 03:22:58 -05:00
Jacob Scott
66dcc99809
fixed superpickaxe for gravel & lightstone, preprocessors faster than postprocessors, added methods so same-type changes are visble client-side, fixed fixliquid & setblocks block count
2011-07-15 02:00:48 -05:00
Jacob Scott
75660547d9
fixed superpickaxe for gravel & lightstone, preprocessors faster than postprocessors, added methods so same-type changes are visble client-side, fixed fixliquid & setblocks block count
2011-07-15 01:59:30 -05:00
James Robinson
858f8d3c36
Add multiworld snapshot support
2011-07-07 18:23:12 +01:00
Wizjany
5231352f6c
Updated item ids and names for 1.7
2011-07-01 00:26:40 -04:00
sk89q
e20cca38fd
Change the block type check to be implementation-dependent. The Bukkit plugin now checks Bukkit's Material.
2011-06-04 22:22:23 -07:00
sk89q
d881c14e2d
Added //fast mode, which allows the server to skip the dirtying of chunks. This means that you have to rejoin to see changes though, but most operations are doubled in speed.
2011-06-04 10:30:45 -07:00
Wizjany
8f032fb2ea
Added -p flag to //butcher to kill pet wolves.
2011-05-24 18:19:11 -04:00
sk89q
7dcb4da83b
Moved EntityType to its own class to hopefully fix the unexplainable IllegalAccessErrors.
2011-05-01 13:55:38 -07:00
sk89q
582b98dad0
More file moving.
2011-05-01 01:30:33 -07:00