Commit graph

429 Commits

Autor SHA1 Nachricht Datum
James Logsdon
09c6389b3f Adding PLAYER_PICKUP_ITEM event hook 2011-02-12 01:39:00 +01:00
James Logsdon
82931a601d Adding PLAYER_DROP_ITEM event hook 2011-02-12 01:09:42 +01:00
cvpcs
71f97ffc5b Send a BlockRedstoneEvent if powered redstone is destroyed
When a powered redstone block is destroyed, a BlockRedstoneEvent should
be sent to notify plugins that particular block is returning to current
0 before the BlockDamageEvent is sent.  This allows plugins dealing with
redstone to not have to listen for redstone destruction, but just listen
to changes in current.
2011-02-12 00:32:39 +01:00
Dinnerbone
4b6c633659 Removed debug and fixed //craftbukkit comments from 0239b76f611597f8486a 2011-02-11 09:27:57 +00:00
Tahg
c0b940d619 more chunk fixes 2011-02-11 02:01:32 -05:00
Tahg
41e136b880 fix in LongHashset.java 2011-02-10 14:59:41 -05:00
Tahg
89232b826b fixes for chunks 2011-02-10 14:33:41 -05:00
Tahg
524f966ef3 Merge branch 'master' of https://github.com/Bukkit/CraftBukkit 2011-02-10 09:24:14 -05:00
Dinnerbone
1d49e5a4b1 Fixed chunk unloading 2011-02-10 13:27:53 +00:00
Dinnerbone
a52f5ef520 Threadsafe World.c(int i, int j) 2011-02-10 11:56:30 +00:00
Zenexer
96794e15db Added spawn-protection property to server.properties 2011-02-10 12:16:31 +08:00
Zenexer
1da852265a Added spawn-protection property to server.properties 2011-02-10 12:16:30 +08:00
Zenexer
fbe54b05f4 Added spawn-protection property to server.properties 2011-02-10 12:16:30 +08:00
Dinnerbone
814c9d444f Fixed LongHashtable.values() 2011-02-09 20:55:04 +00:00
Dinnerbone
18efbd82b6 Worlds are now in the order they are loaded, with [0] being default 2011-02-09 20:25:14 +00:00
Dinnerbone
6e58053eb7 Probably fixed getLoadedChunks() 2011-02-09 20:00:17 +00:00
Dinnerbone
7401ee54a3 Added Creature.getTarget 2011-02-09 13:44:46 +00:00
James Logsdon
e3011157b1 Added Creature.setTarget per jlogsdon 2011-02-09 13:27:28 +00:00
Dinnerbone
7988345368 Added call to new event on world save (at stop and force save). (Per EyvindRM) 2011-02-09 12:59:00 +00:00
Ben64
0592b334f6 Terrain generation bugfix (will also be in Mojang 1.3) 2011-02-09 10:01:41 +01:00
Tahg
03be05790e added method to force an inventory update 2011-02-08 21:52:06 -05:00
Tahg
43ef3b3037 fixed explosions 2011-02-08 20:28:10 -05:00
Tahg
61b79e8f98 inventory fixes 2011-02-08 19:47:08 -05:00
Tahg
b9a37399ae changed fence behaviour 2011-02-08 17:10:48 -05:00
Alexander Hesse
6ad4ca2a42 Implemented Sneak event 2011-02-08 17:12:51 +01:00
Dinnerbone
1a983aceb3 Just cleaning some commits. Don't mind me. 2011-02-08 15:22:46 +00:00
Dinnerbone
3526a66fbe Added loadChunk, unloadChunk and unloadChunkRequest. 2011-02-08 14:26:55 +00:00
Dinnerbone
6b9b59db4e Added getContents() to TileEntityDispenser to be compatible with
InventoryChanged TileEntityDispenser to be built against latest mc-dev
Merge branch 'merge-fork' of https://github.com/Hidendra/CraftBukkit
2011-02-08 14:22:52 +00:00
culturespy
a9a0ad6278 Adding Craftbukkit comment-tags. 2011-02-08 14:11:34 +00:00
culturespy
f20af7b129 Make Explosion remember whether it was canceled so that WorldServer can avoid sending unneeded explode packets. 2011-02-08 14:11:34 +00:00
Dinnerbone
499d44763d Finalizing the breakage! 2011-02-08 12:54:28 +00:00
Dinnerbone
7d1849567a Implemented WORLD_LOADED 2011-02-08 12:50:36 +00:00
Dinnerbone
bcf9b5ca19 Oops! This matters. 2011-02-08 12:48:29 +00:00
Dinnerbone
6751433a8e Implemented new Server methods (getWorld + changes to createWorld) 2011-02-08 12:03:36 +00:00
Erik Broes
50e42496e3 @Override interface implementation is 1.6 exclusively 2011-02-07 11:03:56 +01:00
Erik Broes
7b840489a3 Oopsie on compile issue 2011-02-07 10:43:50 +01:00
Erik Broes
2497a61044 Moved changes we did to WorldServer back down to World. 2011-02-07 10:26:12 +01:00
Erik Broes
421d1c1c1f Fixing missing mandatory comments. 2011-02-07 09:49:42 +01:00
Tahg
8acebcd7d6 Fixed Chunk cache in world 2011-02-07 03:34:32 -05:00
Tahg
3629580868 Chunk fetching improvements 2011-02-07 01:33:57 -05:00
Dinnerbone
172db788b3 I'm quite aware that I fail at merging. 2011-02-07 01:59:06 +00:00
Dinnerbone
919023fe5d CraftWorld.toString has name 2011-02-07 01:51:07 +00:00
Dinnerbone
7a71347cdf Fixed logging into the correct world 2011-02-07 01:51:06 +00:00
Dinnerbone
3f8d9c0e1f Fixed inventory transition 2011-02-07 01:51:06 +00:00
Dinnerbone
e9b1607fdc Fixed entity updating 2011-02-07 01:51:06 +00:00
Dinnerbone
7bdc190637 Possibly fixed block/chunk leaking 2011-02-07 01:51:06 +00:00
Dinnerbone
8b14c72a8d Changes to reflect new Environment enum 2011-02-07 01:51:06 +00:00
Dinnerbone
4e6f4e3031 NPE 2011-02-07 01:51:06 +00:00
Dinnerbone
dcabbda57c Fixed invisibility after cross-world teleportation 2011-02-07 01:51:06 +00:00
Dinnerbone
590b3874a8 Fixed various multiworld teleporting issues 2011-02-07 01:51:05 +00:00
Dinnerbone
4c9f1a2275 Fixed NPE after traveling to another world 2011-02-07 01:51:05 +00:00
Dinnerbone
7e81245caf Probably definitely fixed mob leaking 2011-02-07 01:51:05 +00:00
Dinnerbone
ac899e51c1 Possibly fixed world leaks (mobs crossing into other worlds) 2011-02-07 01:51:05 +00:00
Erik Broes
550ad6f9d1 Proper 'otherworld' chunkloading 2011-02-07 01:51:05 +00:00
Dinnerbone
b229931ce6 Attempt to clear loaded chunks during multiworld teleportation 2011-02-07 01:51:05 +00:00
Dinnerbone
bf304ddc43 Fixed player teleportation 2011-02-07 01:45:32 +00:00
Dinnerbone
2be5181b0c Added internal MC support for multiple worlds 2011-02-07 01:44:43 +00:00
Raphfrk
9e7991ab52 Scheduler 2011-02-07 01:03:32 +01:00
Erik Broes
b64667cde4 Remove deprecated [gs]etTime calls 2011-02-06 13:30:50 +01:00
Forsaken
002b5ebefc Added PlayerKick (setReason, setLeaveMessage, setCancelled) and PlayerRespawn (setLocation) 2011-02-06 12:38:38 +01:00
Erik Broes
228b5e7ccd Added VEHICLE_COLLISION_ENTITY which vanished after porting the code 2011-02-06 11:51:35 +01:00
sk89q
4026cd656f Added CraftBlock.getVector(). 2011-02-05 23:19:36 -08:00
Raphfrk
101d01ef64 getLoadedChunks method 2011-02-05 15:06:02 +01:00
EvilSeph
767c15369c Added version output to CraftBukkit that displays on startup.
Add a version display to the startup of CraftBukkit so that we have all
the information we need for support purposes simply by requesting a
server log be pastebinned. I wanted to have it display right after the
official Minecraft version is, but that would require modifying
the server itself.
2011-02-05 03:39:13 -05:00
Animosity
8932430aed Addded: int getMaxPlayers() 2011-02-05 01:36:41 -05:00
tahg
10f4f33ed0 fixed addItem hopefully 2011-02-04 21:38:15 -08:00
Tahg
d59a2332fb Merge branch 'master' of https://github.com/Bukkit/CraftBukkit 2011-02-05 00:03:01 -05:00
Tahg
2c798a9e9b Fix for multi-stack adds 2011-02-05 00:02:09 -05:00
EvilSeph
e79139d3f2 Save player data on save-all. 2011-02-04 22:49:24 -05:00
Erik Broes
be10e54235 Fixed NPE on missing kick-reason - http://redmine.bukkit.org/issues/359 2011-02-04 23:02:52 +01:00
VictorD
059d23b4c9 Half-step placement bug fix, all credits to Brettflan 2011-02-03 22:34:22 +01:00
Brettflan
2f2bc28915 Fixes placement cancellation of single-step blocks, such as in protected areas like the spawn area.
The first line edited fixes it so other blocks placed on a single-step block aren't considered (only single-step blocks), and so that they're only considered when placed on the top face of the existing single-step block.
The second section of changed code keeps the final world.setTypeIdAndData() call from being incorrectly applied if it was indeed a single-block placed on an existing single-block.

Best way to test before and after is to put a bunch of single-step blocks in the spawn area as an Op, then de-Op yourself and try placing more blocks (single-step and otherwise, for example I also tested dirt blocks) on the sides and tops of the ones which you previously added as an Op.
2011-02-03 22:07:34 +01:00
Warren
dde3f5b474 Removed tab on line 97. 2011-02-03 12:57:17 -08:00
Limb
e77b080d83 Implemented Inventory.contains with a minimum amount of item required. As per feature request #187 2011-02-04 04:04:16 +08:00
Dinnerbone
c1c61b73c9 Totally useless commit to satisfy lukegb's outrageous demands 2011-02-02 18:23:19 +00:00
Erik Broes
04be2b9b31 Generic cleanup/reformat. 2011-02-02 00:39:08 +01:00
Erik Broes
001a45804e Clean vehicle code. 2011-02-02 00:29:37 +01:00
Erik Broes
1dac92a766 Update chunk handling. 2011-02-02 00:29:37 +01:00
Dinnerbone
21b8ef4435 Added CraftNoteBlock.play 2011-02-01 23:18:25 +00:00
Dinnerbone
e0416ca7fb Added CraftDispenser.dispense() 2011-02-01 23:18:11 +00:00
Forsaken
d228e0c311 Fixed the onDisable() event of plugins again after it was overwritten some days ago. 2011-02-02 06:12:35 +08:00
Dinnerbone
661f209b7e Fixed dispenser 2011-02-01 22:01:37 +00:00
Dinnerbone
f8cdbe1d82 Fixed tabs 2011-02-01 21:55:30 +00:00
Luke GB
3a3a0e6169 Introduce better versioning system, mark 2. 2011-02-01 21:48:21 +00:00
Tyler
eea070ed85 Dispensers now obey BLOCK_INTERACT 2011-02-02 05:29:12 +08:00
Erik Broes
5c467e941b Actually implement the spiral stuff now, oops 2011-02-01 21:40:52 +01:00
Erik Broes
a3fbada1e8 Chunkloading around player now happens in a spiral! No more floating over the void waiting for the floor to load! 2011-02-01 20:26:47 +01:00
Dinnerbone
21b8c16886 Commands can be sent from the console (WIP, needs improvements) 2011-02-01 18:13:12 +00:00
Dinnerbone
657913faeb Dinner time! 2011-02-01 14:53:39 +00:00
Dinnerbone
923ab54e38 Don't hate me :( 2011-02-01 11:43:31 +00:00
Dinnerbone
743ff05b2e Added setItemStack(ItemStack stack) to CraftItemDrop 2011-02-01 10:43:16 +00:00
Dinnerbone
24f140d1f4 Implemented VEHICLE_UPDATE 2011-02-01 10:20:18 +00:00
Dinnerbone
2b0ab5a130 Fixed VEHICLE_MOVE 2011-02-01 10:14:59 +00:00
Dinnerbone
408ed37a01 Implemented VEHICLE_EXIT 2011-02-01 10:02:43 +00:00
Dinnerbone
6f13c9dc55 Implemented VEHICLE_COLLISION_BLOCK 2011-01-31 22:25:27 +00:00
Dinnerbone
82febb3887 ENTITY_DAMAGED now knows hot from wet 2011-01-31 21:50:28 +00:00
Dinnerbone
c2fdd5cadd Implemented PLAYER_ITEM_HELD 2011-01-31 01:35:29 +00:00
Dinnerbone
7369ef7300 Implemented getRemainingAir/setRemainingAir/getMaximumAir/setMaximumAir on LivingEntity 2011-01-31 01:23:10 +00:00
Dinnerbone
c75e53935f Renamed ItemStack.set/getDamage to durability, which is now a short 2011-01-31 01:07:38 +00:00
Dinnerbone
0dd9e4873d Fixed BLOCK_DAMAGED 2011-01-31 00:02:47 +00:00