Commit graph

183 commits

Author SHA1 Message Date
Erik Broes
25d519aaf2 Initial implementation of inventory stuff, (read-)only for StorageMinecart sofar 2011-01-05 01:00:57 +01:00
Dinnerbone
3dbacbc2c3 Implemented LEAVES_DECAY 2011-01-04 22:09:40 +00:00
Dinnerbone
8c9f1090a4 More NPEs! 2011-01-04 21:19:43 +00:00
Dinnerbone
4a9c761707 Fixed random NPE on startup 2011-01-04 21:13:59 +00:00
Dinnerbone
ca765c3512 Fixed building in water 2011-01-04 16:17:05 +00:00
Dinnerbone
1ed14de10e Implemented CHUNK_LOADED 2011-01-04 15:54:41 +00:00
Dinnerbone
a2c944d3c0 Implemented Chunk.getWorld() 2011-01-04 14:17:05 +00:00
durron597
4c483edf08 Merge remote branch 'upstream/master' 2011-01-03 20:21:02 -05:00
Dinnerbone
8680ee387f Added -w for world directory 2011-01-04 01:19:26 +00:00
Dinnerbone
e3b3dcfde5 Merge branch 'master' of github.com:Bukkit/CraftBukkit 2011-01-04 00:45:10 +00:00
Dinnerbone
7b08efd9d9 Added command-line arguments, forced nogui 2011-01-04 00:43:23 +00:00
FrozenCow
43db386fe4 Added getHighestBlockYAt 2011-01-04 06:08:14 +08:00
durron597
8a717dddad Merge remote branch 'upstream/master' 2011-01-03 15:48:56 -05:00
Dinnerbone
b7f7c3ffb5 Fixed NPE on Player related methods in CraftServer 2011-01-03 19:41:23 +00:00
Dinnerbone
fd5892db51 Fixed compile errors 2011-01-03 16:37:08 +00:00
angelsl
d6aff66290 Direct fire exposure event 2011-01-03 16:20:36 +00:00
angelsl
7a9de3159b Explosion damage entity hook. 2011-01-03 16:20:36 +00:00
angelsl
baf59f7451 Cactus damage event. 2011-01-03 16:20:36 +00:00
angelsl
8f358b4b2b Mark CraftEntity as abstract, add dummy health methods to CraftArrowEntity. 2011-01-03 16:20:36 +00:00
sk89q
5a9b2d0c2e Added LivingEntity.throwEgg() and LivingEntity.throwSnowball(). 2011-01-03 23:17:14 +08:00
Dinnerbone
497de4d81c Fixed missing import for craftworld 2011-01-03 15:13:29 +00:00
sk89q
198ffee203 Implemented some minecart vehicle hooks, but there's a some things missing in CraftBukkit before the implementation can be finished. 2011-01-03 14:54:20 +00:00
sk89q
9d68035410 Added minecart classes and World.spawn*Minecart(). Minecart.getPassenger() is still a stub that needs to be implemented (due to of a need of a MC entity -> CraftBukkit entity lookup) and StorageMinecart.getInventory() is waiting on the implementation of inventory. 2011-01-03 14:54:20 +00:00
sk89q
ca47ccf674 Renamed ArrowEntity->Arrow to be consistent. 2011-01-03 22:15:26 +08:00
durron597
a712a74c23 Merge remote branch 'upstream/master' 2011-01-02 22:31:39 -05:00
durron597
f481184612 fixed spelling error in comment 2011-01-02 22:31:32 -05:00
Dinnerbone
31c5894743 Light levels are bytes 2011-01-03 03:27:47 +00:00
Dinnerbone
7ecc3d5b4b Fixed isChunkLoaded(Chunk chunk) 2011-01-03 03:27:47 +00:00
sk89q
b2812b74d4 Added world.spawnTree(), world.spawnBigTree(). 2011-01-03 03:27:47 +00:00
sk89q
fe34bbbb10 Block.getLightLevel() 2011-01-03 03:27:47 +00:00
Dinnerbone
853d00fe98 Changed to pluginmanager direct for enabling plugins 2011-01-03 02:40:47 +00:00
Dinnerbone
c7b0db5f50 Enable plugins by default the right way 2011-01-03 02:25:09 +00:00
Dinnerbone
620c42b321 Added getPlayer(String name) to server 2011-01-03 00:16:00 +00:00
durron597
904c220d5c Removed @Override for the interface method spawnArrow 2011-01-02 05:54:16 -05:00
durron597
1c5d80a8ce Merge remote branch 'upstream/master' into HEAD 2011-01-02 05:50:26 -05:00
durron597
e708281250 Added notchToBlockFace convenience method 2011-01-02 05:29:51 -05:00
sk89q
8222af3e4d Implemented arrows. 2011-01-02 16:58:01 +08:00
durron597
54c2780d1b Merge remote branch 'upstream/master' 2011-01-02 02:16:48 -05:00
Lymia
32224b916d Fixed a bunch of warnings. 2011-01-02 00:36:27 -06:00
durron597
c80748c8cc Changed BLOCK_CANBUILD to have some checks that user can't override
(building on top of themselves, for example)
2011-01-01 18:48:58 -05:00
durron597
cb7e2ee234 Changed commenting to use the system of writing XXX for methods that
we copied out of World.java
2011-01-01 18:36:24 -05:00
durron597
ce271f8abc Changed base of the source file to be based off of grum/mc-dev:
net/minecraft/server/BlockFlowing.java
2011-01-01 18:14:26 -05:00
durron597
f199cc7190 Changed tabs to 4 spaces, removed unnecessary imports 2011-01-01 08:06:04 -05:00
Erik Broes
84bf373c55 Transition to Maven 2011-01-01 11:47:24 +01:00
durron597
fc58672e6a Changed BlockCanBuildEvent to store the int and not the material 2011-01-01 03:21:49 -05:00
durron597
3094b40b89 Changed BlockCanBuild event to pass the material 2011-01-01 03:12:39 -05:00
Dinnerbone
49b225ac08 Fixed Material 2011-01-01 07:05:05 +00:00
durron597
c7d680163f Didn't work correctly before. Now it does 2011-01-01 01:39:28 -05:00
durron597
2efc265b96 Implemented BLOCK_CANBUILD 2011-01-01 01:20:44 -05:00
durron597
02c469a93d Changed Block to CraftBlock. Changed callHook to getServer 2010-12-31 22:59:30 -05:00
durron597
4af385af1f Reimplemented BlockFlow to use multiple BlockFromToEvents 2010-12-31 21:17:16 -05:00
Dinnerbone
d72ecbaf3f Merge branch 'master' of github.com:Dinnerbone/Craftbukkit
Conflicts:
	src/net/minecraft/server/WorldServer.java
2010-12-31 21:58:18 +00:00
Dinnerbone
1795a66df3 Fixed physics event 2010-12-31 21:46:19 +00:00
durron597
ea0b616492 Implemented BLOCK_FLOW 2010-12-31 07:53:56 -05:00
durron597
4d05943bab Added callHook method to WorldServer so we can get callEvents from
any world instance
2010-12-31 07:52:40 -05:00
Dinnerbone
a69c75bede Implemented BLOCK_PHYSICS 2010-12-30 22:07:54 +00:00
Dinnerbone
a9191c24b3 Fixed insane fall damage (entities reset on death) 2010-12-30 20:34:26 +00:00
Dinnerbone
a063036210 Fixed player handle being reset on death or disconnection 2010-12-30 05:35:30 +00:00
Dinnerbone
bd53a823d2 Implemented Player.sendMessage() 2010-12-30 04:56:34 +00:00
Dinnerbone
f8e01e128b Don't override getName in CraftPlayer 2010-12-30 04:39:28 +00:00
Dinnerbone
416964ef5a No lookup for worlds, store on object 2010-12-30 04:37:32 +00:00
Dinnerbone
c57530392c Implemented entities 2010-12-30 04:30:12 +00:00
Dinnerbone
193bf01367 Moved the PLAYER_MOVE and PLAYER_TELEPORT hooks to be packet-based, fixed player.getLocation() to return pitch/yaw 2010-12-29 01:25:32 +00:00
Dinnerbone
6d28eb0111 Made Block.setType/Block.setData functional 2010-12-29 01:07:57 +00:00
Dinnerbone
36b95edc0c Merge branch 'master' of github.com:Dinnerbone/Craftbukkit 2010-12-29 00:29:31 +00:00
Dinnerbone
e85cabeb4f Add some .toString()s 2010-12-29 00:29:18 +00:00
VictorD
5faa476554 Updated PLAYER_MOVE hook to deal correctly with a cancelled event. 2010-12-29 01:19:19 +01:00
Dinnerbone
b3c6a7953d Merge branch 'master' of github.com:Dinnerbone/Craftbukkit 2010-12-28 23:52:43 +00:00
Dinnerbone
804b5e7d2b Keep Blocks updated when changed by the world 2010-12-28 23:52:29 +00:00
VictorD
5402eb5c86 Added support for event PLAYER_MOVE 2010-12-29 00:42:19 +01:00
Dinnerbone
ef622b20d1 Implemented PLAYER_LOGIN 2010-12-28 22:22:26 +00:00
Dinnerbone
f9eb5a92a1 Implemented PLAYER_CHAT and PLAYER_COMMAND 2010-12-28 21:52:39 +00:00
Erik Broes
c49239fa8c Moved from jd-gui to jad 2010-12-28 20:52:24 +01:00
Dinnerbone
656f8a8e40 Changed event calling to reflect new event structure 2010-12-28 15:41:36 +00:00
Dinnerbone
b04fa07b45 Added chunk/block/location/world 2010-12-27 02:13:03 +00:00
Dinnerbone
b5aa876278 Changed quit to use PlayerEvent 2010-12-27 02:12:38 +00:00
Dinnerbone
01a0562cab Call hooks, update to new code 2010-12-26 02:20:29 +00:00
Dinnerbone
2798e5b84f PluginManager => SimplePluginManager 2010-12-25 15:42:17 +00:00
Dinnerbone
cc734a3aa6 No longer hardcoding sample plugin, now uses plugins dir 2010-12-24 19:04:35 +00:00
Dinnerbone
c8b9f833d9 Fixed a few bugs getting sample plugin to load 2010-12-24 18:16:10 +00:00
Dinnerbone
8274655360 Load sample plugin for now 2010-12-24 17:24:21 +00:00
Dinnerbone
a799b1463b Hook onto the server, and added player 2010-12-22 15:22:23 +00:00
Dinnerbone
84f7c6c8d2 Initial structure 2010-12-21 16:52:15 +00:00