Commit graph

6109 commits

Author SHA1 Message Date
CraftBukkit/Spigot
39b417df5d getContents now returns null for items whose underlying item is null
By: Tahg <tahgtahv@gmail.com>
2011-04-06 12:45:03 -04:00
CraftBukkit/Spigot
ce4ef77ead Restored .gitignore
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-05 16:46:36 +01:00
CraftBukkit/Spigot
65201e75c6 Added prerequisite org.avaje.ebean 2.7.3 to pom.xml
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-05 16:42:40 +01:00
CraftBukkit/Spigot
b09f01d4f7 added some API for entities
By: Tahg <tahgtahv@gmail.com>
2011-04-04 00:48:40 -04:00
CraftBukkit/Spigot
cebf24179e Added player.saveData and player.loadData.
By: afforess <afforess@gmail.com>
2011-04-03 11:40:08 -04:00
CraftBukkit/Spigot
4ac4aa674c Prevent junit:junit from being packaged as its not needed to run
By: Erik Broes <erikbroes@grum.nl>
2011-04-03 11:21:40 +02:00
CraftBukkit/Spigot
b2456309ff Fix chunk.getEntities
By: Erik Broes <erikbroes@grum.nl>
2011-04-02 17:56:06 +02:00
CraftBukkit/Spigot
7dc8bdfeaa Implemented entity.getNearbyEntities()
By: Stephen <stephen@jazer.com>
2011-03-27 19:50:43 -04:00
CraftBukkit/Spigot
7b406bfc1e implementation of Entity.isDead
By: afforess <afforess@gmail.com>
2011-04-02 01:08:57 -04:00
CraftBukkit/Spigot
f8292a5eb6 Forces clients to update to the new time immediately when setTime or setFullTime is called.
By: afforess <afforess@gmail.com>
2011-04-02 04:04:57 -04:00
CraftBukkit/Spigot
3547e8a410 Implemented the new SpawnChangeEvent in CraftWorld.setSpawnLocation()
By: William Bowers <william.bowers@gmail.com>
2011-03-29 02:04:42 -07:00
CraftBukkit/Spigot
7deee386c8 Changed default database location to {NAME}.db instead of database.db
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-01 16:52:00 +01:00
CraftBukkit/Spigot
57d84a1582 Added mysql dep
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-01 16:00:34 +01:00
CraftBukkit/Spigot
959d335a0e Implemented ebeans
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-31 02:35:08 +01:00
CraftBukkit/Spigot
16a666c20e Made Server a singleton
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-30 14:55:42 +01:00
CraftBukkit/Spigot
ba7e83927e Fix Entity.setVelocity
By: Erik Broes <erikbroes@grum.nl>
2011-04-01 12:28:55 +02:00
CraftBukkit/Spigot
26be6db6d5 Fix world.getFullTime()
By: Erik Broes <erikbroes@grum.nl>
2011-04-01 09:24:42 +02:00
CraftBukkit/Spigot
f3fe2a426c Capture errors in plugins onLoad
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-31 22:33:06 +01:00
CraftBukkit/Spigot
57fa7c0118 Implemented Wolf
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-31 22:10:48 +01:00
CraftBukkit/Spigot
adcc9c9ddf Updated to Minecraft version 1.4
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-31 21:40:00 +01:00
CraftBukkit/Spigot
3669bb0d8b CreatureSpawnEvent: Fix forgotten inheritance with CreatureType
By: Erik Broes <erikbroes@grum.nl>
2011-03-30 08:51:42 +02:00
CraftBukkit/Spigot
2fddd09aea world.spawnCreature cast fix
By: Erik Broes <erikbroes@grum.nl>
2011-03-30 00:40:46 +02:00
CraftBukkit/Spigot
58ba4e379d Add MONSTER to CreatureSpawnEvent
By: Erik Broes <erikbroes@grum.nl>
2011-03-29 23:18:48 +02:00
CraftBukkit/Spigot
0258613d15 Move passenger-handling to CraftEntity
By: Erik Broes <erikbroes@grum.nl>
2011-03-29 23:06:53 +02:00
CraftBukkit/Spigot
eb1386fbbb RegisterInterface reload bug fix
By: Stephen <stephen@jazer.com>
2011-03-07 13:58:19 -05:00
CraftBukkit/Spigot
44f7dca0de Ctrl+C saves world before stopping
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-29 21:01:04 +01:00
CraftBukkit/Spigot
6f8ecc04e5 Moved WORLD_LOAD event to after world is actually loaded
By: Drakia <Contact@TheDgtl.net>
2011-03-26 20:50:52 -07:00
CraftBukkit/Spigot
fe15903b22 Line endings, damnit!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-27 20:57:46 +01:00
CraftBukkit/Spigot
6f8786f02e Fix some wrong event creations after previous change
By: Erik Broes <erikbroes@grum.nl>
2011-03-26 23:20:35 +01:00
CraftBukkit/Spigot
bf25c4a47e Updated for the cleanups done in Bukkit
By: Erik Broes <erikbroes@grum.nl>
2011-03-26 22:32:56 +01:00
CraftBukkit/Spigot
f9d32acfe5 Implement Sheep.get/setSheared.
By: Celtic Minstrel <celtic.minstrel.ca@>
2011-03-18 17:13:54 -04:00
CraftBukkit/Spigot
4e68f7523b Implement Slime.set/getSize()
By: Celtic Minstrel <celtic.minstrel.ca@>
2011-03-18 17:13:54 -04:00
CraftBukkit/Spigot
11902a86ff World.spawnCreature now returns LivingEntity instead of Creature, to allow Ghasts and Slimes to be spawned using the command.
By: Celtic Minstrel <celtic.minstrel.ca@>
2011-03-19 01:29:21 -04:00
CraftBukkit/Spigot
ca3c9c0dcf Switched biome coords from chunk based to block based
By: Raphfrk <raphfrk@gmail.com>
2011-03-26 13:51:11 +00:00
CraftBukkit/Spigot
ac67e06163 Added Server.getServerId() for ID purposes.
By: sk89q <the.sk89q@gmail.com>
2011-03-26 01:39:23 -07:00
CraftBukkit/Spigot
fa0a51520c Updated README.md
By: Erik Broes <erikbroes@grum.nl>
2011-03-25 23:26:44 +01:00
CraftBukkit/Spigot
b80723bd12 Copy displayname when cross-world teleporting
By: Erik Broes <erikbroes@grum.nl>
2011-03-25 21:22:57 +01:00
CraftBukkit/Spigot
1a013161ec Implement player.getCompassTarget
By: Erik Broes <erikbroes@grum.nl>
2011-03-25 21:22:03 +01:00
CraftBukkit/Spigot
2b32c8242e Fixed CraftWorld.getSpawnLocation() not return the exact spawn location.
By: sk89q <the.sk89q@gmail.com>
2011-03-25 00:52:50 -07:00
CraftBukkit/Spigot
c61f2d0af0 Stop GIANT discrimination
By: Erik Broes <erikbroes@grum.nl>
2011-03-24 22:51:47 +01:00
CraftBukkit/Spigot
1490b27578 Fix CreatureType of CreatureSpawn event
By: Erik Broes <erikbroes@grum.nl>
2011-03-24 22:44:03 +01:00
CraftBukkit/Spigot
1fd4236de4 Prevent double CraftWorld for the same world
By: Erik Broes <erikbroes@grum.nl>
2011-03-24 22:43:21 +01:00
CraftBukkit/Spigot
4455272132 Implementation of LivingEntity maximumNoDamageTicks, noDamageTicks, lastDamage
By: Erik Broes <erikbroes@grum.nl>
2011-03-24 00:32:41 +01:00
CraftBukkit/Spigot
731d949bd6 Updated SoftMap to be concurrent.
By: Raphfrk <raphfrk@gmail.com>
2011-03-10 22:13:47 +00:00
CraftBukkit/Spigot
bd7be2c7b6 Now also handle entities spawning on a loading a world. (Redacted by Grum)
By: lem21h <lem21h@anon>
2011-03-20 21:18:38 +01:00
CraftBukkit/Spigot
54d451934e Fixed the PLAYER_TELEPORT event so event.getTo().getWorld() is correct. (#451)
By: Byron Shelden <byron.shelden@gmail.com>
2011-03-22 23:50:14 -07:00
CraftBukkit/Spigot
d5ca2267db Re-Implement BlockDamage
By: Erik Broes <erikbroes@grum.nl>
2011-03-23 16:38:42 +01:00
CraftBukkit/Spigot
9757c74cb3 Major overhaul implementing PLAYER_INTERACT, removing PLAYER_ITEM, BLOCK_INTERACT, BLOCK_RIGHT_CLICK
By: Erik Broes <erikbroes@grum.nl>
2011-03-23 12:22:13 +01:00
CraftBukkit/Spigot
c964c8657e Fix BlockPlace
By: Erik Broes <erikbroes@grum.nl>
2011-03-21 00:25:26 +01:00
CraftBukkit/Spigot
7b978d1dd4 Fixing event names
By: Erik Broes <erikbroes@grum.nl>
2011-03-18 22:57:22 +01:00
CraftBukkit/Spigot
2d45e34e63 Adds an onLoad method to Plugin. The onLoad method is called for all plugins before the onEnable calls
By: Raphfrk <raphfrk@gmail.com>
2011-03-12 17:38:10 +00:00
CraftBukkit/Spigot
9d4b497e25 Fixed setTypeIdAndData sending client updates when not using physics
By: Raphfrk <raphfrk@gmail.com>
2011-03-12 21:28:38 +00:00
CraftBukkit/Spigot
94404a16fe This should fix the chunk ghosting bug
By: Raphfrk <raphfrk@gmail.com>
2011-03-11 19:39:09 +00:00
CraftBukkit/Spigot
38856db579 Fix getDisplayName getting lost when getBukkitEntity is called
By: Erik Broes <erikbroes@grum.nl>
2011-03-13 12:52:01 +01:00
CraftBukkit/Spigot
55afbe647a Added methods to support RemoteBukkit
This means all commands even "default" server commands work within the command structure
returning output to the command sender

Updated default kick command to be compatible with kick + msg used by remote tools that work with hMod

By: stevenh <steven.hartland@multiplay.co.uk>
2011-03-12 18:23:57 +00:00
CraftBukkit/Spigot
e4e806d1ac Blocks now return power for sources other than redstone dust
By: Tahg <tahgtahv@gmail.com>
2011-03-12 12:28:07 -05:00
CraftBukkit/Spigot
abe3dff1e1 TextWrapper now wraps text at the proper width and also prevent splitting unless it is needed
By: Erik Broes <erikbroes@grum.nl>
2011-03-12 16:58:05 +01:00
CraftBukkit/Spigot
d8a6aa252d Sourcefiles shouldn't be executable
By: Erik Broes <erikbroes@grum.nl>
2011-03-12 15:00:55 +01:00
CraftBukkit/Spigot
46286db7eb Clean code a bit
By: Erik Broes <erikbroes@grum.nl>
2011-03-12 14:59:50 +01:00
CraftBukkit/Spigot
d8ae459868 Kill stupid encoding warnings finally
By: Erik Broes <erikbroes@grum.nl>
2011-03-12 14:57:30 +01:00
CraftBukkit/Spigot
c79b4a6f88 Added Player.sendRawMessage().
By: sk89q <the.sk89q@gmail.com>
2011-03-12 01:05:34 -08:00
CraftBukkit/Spigot
c21d7cb77c stupid ChunkPosition's are relative to the chunk
By: Tahg <tahgtahv@gmail.com>
2011-03-11 17:57:59 -05:00
CraftBukkit/Spigot
a7ed1c966b Code cleanup, fixed doors, chunk entity fetching
By: Tahg <tahgtahv@gmail.com>
2011-03-11 16:25:35 -05:00
CraftBukkit/Spigot
ff806bfa66 properly implement locks
By: Tahg <tahgtahv@gmail.com>
2011-03-10 21:37:55 -05:00
CraftBukkit/Spigot
b79442a3fb Additional hooks for chunks
By: Tahg <tahgtahv@gmail.com>
2011-03-07 13:48:35 -05:00
CraftBukkit/Spigot
fcf7b1039e Additional redstone hooks
By: Tahg <tahgtahv@gmail.com>
2011-03-07 13:48:03 -05:00
CraftBukkit/Spigot
e890eb1a79 Add non updating type/data sets
By: Tahg <tahgtahv@gmail.com>
2011-03-07 13:45:15 -05:00
CraftBukkit/Spigot
95de556b3a Add locks to Hashset
By: Tahg <tahgtahv@gmail.com>
2011-03-07 13:43:26 -05:00
CraftBukkit/Spigot
16f5b6991c Attempt to fix console crash
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-09 23:34:26 +00:00
CraftBukkit/Spigot
88de992943 Changed block cache to soft references (should help a lot with memory usage)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-09 22:12:28 +00:00
CraftBukkit/Spigot
57d31f1940 Implemented LivingEntity.getEyeLocation()
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-03-10 05:37:12 +11:00
CraftBukkit/Spigot
9e55a258eb Purged deprecated MobType and MobSpawner
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-07 16:32:41 +00:00
CraftBukkit/Spigot
6168074191 Implemented LivingEntity.damage
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-07 15:59:10 +00:00
CraftBukkit/Spigot
3cc43d44f5 Regenerate and refresh chunk methods
By: Raphfrk <raphfrk@gmail.com>
2011-03-02 20:27:44 +00:00
CraftBukkit/Spigot
0ee94a8a24 Fixed isChunkInUse()
By: Raphfrk <raphfrk@gmail.com>
2011-03-02 18:50:39 +00:00
CraftBukkit/Spigot
dda9f2ec3d Velocity now sends updates to players
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-05 18:48:58 +00:00
CraftBukkit/Spigot
cc8b390338 Updated CraftServer to lowercase r in registerInterface method..
By: VictorD <victor.danell@gmail.com>
2011-03-05 12:33:11 +01:00
CraftBukkit/Spigot
7e0c663e2a Implemented Entity.get/setMomentum
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-04 14:23:45 +00:00
CraftBukkit/Spigot
95a285bfe9 Removed Block.getRawData
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-04 14:20:05 +00:00
CraftBukkit/Spigot
58aa293c7f Implements World.save and Server.savePlayers()
By: Morgan Humes <mrh9724@lanaddict.com>
2011-02-25 21:29:42 -05:00
CraftBukkit/Spigot
ce87c1fa2c Java 1.5 compat.
By: Erik Broes <erikbroes@ripe.net>
2011-03-02 15:22:45 +01:00
CraftBukkit/Spigot
2803cc2b23 Synchronized and moved Hash classes
By: FrozenCow <frozencow@gmail.com>
2011-03-01 19:19:50 +01:00
CraftBukkit/Spigot
dc8f7eb294 Fixed chat
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-01 19:04:16 +00:00
CraftBukkit/Spigot
f5b9f5745f Let's handle (bwhaha) the Craft* entities a bit better.
By: Erik Broes <erikbroes@ripe.net>
2011-03-01 17:08:18 +01:00
CraftBukkit/Spigot
be2b78fb4c Added method to set spawn location
By: SpeaKeasY <mekevin1917@gmail.com>
2011-02-28 20:21:27 -06:00
CraftBukkit/Spigot
93b688f5bf Sped up teleporting even more, + fixed isSneaking
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-28 20:30:33 +00:00
CraftBukkit/Spigot
1729498173 implement World.getPlayers
By: Tanel Suurhans <tanel.suurhans@perfectline.ee>
2011-02-24 21:37:53 +02:00
CraftBukkit/Spigot
3d06ec7a13 Spiral teleporting! Wheeeee!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-28 13:21:50 +00:00
CraftBukkit/Spigot
6280efc753 Implemented Server.getPluginCommand
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-28 00:31:25 +00:00
CraftBukkit/Spigot
170a0b4340 Catch errors loading plugins
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-27 14:55:29 +00:00
CraftBukkit/Spigot
1c5b9d4efc Fixed empty console! Oops!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-26 11:51:31 +00:00
CraftBukkit/Spigot
6940b583c4 Added command line option 'date-format' to control how dates are printed to console (not to log)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-26 11:29:37 +00:00
CraftBukkit/Spigot
4908869924 Added ">" to input command line, separated it from output buffer properly
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-25 19:01:14 +00:00
CraftBukkit/Spigot
d865062d64 Seal. Ooohh oooh.
By: Luke GB <github@lukegb.com>
2011-02-25 16:15:37 +00:00
CraftBukkit/Spigot
a4d2cf2a38 Much better console interaction. History, no more losing the command, colours, inline editing, etc. Shorter log output to console (but not to file).
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-25 16:12:38 +00:00
CraftBukkit/Spigot
0114eb89e9 Attempt to convert multiworld worlds... world.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-24 12:07:33 +00:00
CraftBukkit/Spigot
4071d89641 Fixed CraftItem NPEs
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-23 16:08:28 +00:00
CraftBukkit/Spigot
9cb3bad796 ConsoleCommandSender no longer has a default constructor, use ConsoleCommandSender(server). Added entity.getServer and updated the version number of mc
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-23 11:32:19 +00:00
CraftBukkit/Spigot
78a0cd044b Fix for isOp
By: Tahg <tahgtahv@gmail.com>
2011-02-23 13:57:29 +08:00
CraftBukkit/Spigot
d1e9de156b Update to Minecraft 1.3 beta
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-23 02:37:56 +00:00
CraftBukkit/Spigot
745746fc1c refactor Items
By: Tahg <tahgtahv@gmail.com>
2011-02-21 19:43:12 -05:00
CraftBukkit/Spigot
ed40bc0373 returning if a thread is not alive should happen before any changes to
the list of workers, hence the return statement should be in the
synchronized block.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-02-21 12:30:45 +11:00
CraftBukkit/Spigot
70098c0548 implementation of isQueued()
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-02-21 12:28:35 +11:00
CraftBukkit/Spigot
3f3a924762 Modify URI to repo.bukkit.org
By: Luke GB <github@lukegb.com>
2011-02-21 00:37:09 +01:00
CraftBukkit/Spigot
094c4c043f Second part of NPE and arctan update :3
By: VictorD <victor.danell@gmail.com>
2011-02-20 23:22:28 +01:00
CraftBukkit/Spigot
0baea2a20c Added null pointer check and switched to a faster arctan method
By: VictorD <victor.danell@gmail.com>
2011-02-20 23:16:05 +01:00
CraftBukkit/Spigot
a6afd3e020 Fixed issue with color markers in messages sent to the client.
This fix eliminates crashes related to color markers being at end-of-line, and also makes colors persist across line breaks.

- The broadcast message is split up in multiple packets, one per line
- Color markers are reorganized, so that color 'sticks across lines'
- The wrapping method calculates the *rendered* line length. Thus, if the user has a weird font, it might look weird.

By: David Flemström <david.flemstrom@gmail.com>
2011-02-20 13:38:27 +01:00
CraftBukkit/Spigot
7b11e33f85 Prevent Blocks from getting lost when a chunk reloads
By: Erik Broes <erikbroes@grum.nl>
2011-02-20 17:09:02 +01:00
CraftBukkit/Spigot
4ee3f413af Added Entity.remove() which marks an entity for removal.
By: sk89q <the.sk89q@gmail.com>
2011-02-18 20:02:20 -08:00
CraftBukkit/Spigot
4389934bb8 Redirect System.out and System.err to a Logger
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-20 01:53:06 +00:00
CraftBukkit/Spigot
d24be8c986 Magic - updated gitdescriber
By: Luke GB <github@lukegb.com>
2011-02-19 15:36:07 +01:00
CraftBukkit/Spigot
f883848b8d When deprecating, the alternative should be provided.
By: EvilSeph <evilseph@unaligned.org>
2011-02-19 06:02:27 -05:00
CraftBukkit/Spigot
78978db92c Added target block ray trace functionality.
By: Raphfrk <raphfrk@gmail.com>
2011-02-13 17:04:33 +00:00
CraftBukkit/Spigot
1b81a00661 Added setFireTicks(), getFireTicks() and getMaxFireTicks().
By: Protected <myshelter@gmail.com>
2011-02-14 17:36:25 +00:00
CraftBukkit/Spigot
85d6ef5bd8 Added pull request conventions that should be followed if you want your pull request accepted.
By: EvilSeph <evilseph@unaligned.org>
2011-02-18 17:15:19 -05:00
CraftBukkit/Spigot
a9f5460f0c Implemented a whole buncha Location overrides in CraftWorld
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-18 16:35:05 +00:00
CraftBukkit/Spigot
a816dcad82 Implementation of spawnCreature(Location, CreatureType)
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-02-17 16:25:03 +11:00
CraftBukkit/Spigot
4a3c54648b Updated to use CreatureType and CreatureSpawner
Nothing will break as a result of the refactoring of MobType due to
deprecated code being left in. These will be removed after 1 week,
enough time for plugin devs time to migrate.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-02-17 14:47:33 +11:00
CraftBukkit/Spigot
ddc6442b3b Added Player.chat().
By: sk89q <the.sk89q@gmail.com>
2011-02-16 21:46:01 -08:00
CraftBukkit/Spigot
e44ffec0f5 implementation of isCurrentlyRunning(int taskId);
Burrows down to the worker thread assigned to this task, and returns
its alive status. If no such thread exists, then the task is not
running!

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-02-14 15:29:52 +11:00
CraftBukkit/Spigot
3588f74305 That messed up Jenkins
By: Luke GB <github@lukegb.com>
2011-02-15 22:55:23 +01:00
CraftBukkit/Spigot
b190070f09 Further POM haxx. Now reads git description during build process.
NOTE: This may break people building on Windows - you must have git on your path. Ah well, who cares.

By: Luke GB <github@lukegb.com>
2011-02-15 22:35:47 +01:00
CraftBukkit/Spigot
67db991462 Add repository info to POM
By: Luke Granger-Brown <github@lukegb.com>
2011-02-15 00:36:00 +01:00
CraftBukkit/Spigot
886838b453 Allows calling of functions in the main thread
By: Raphfrk <raphfrk@gmail.com>
2011-02-12 00:29:23 +00:00
CraftBukkit/Spigot
85e1d48e88 Fixes a deadlock issue in CraftScheduler
By: Raphfrk <raphfrk@gmail.com>
2011-02-13 03:45:34 +00:00
CraftBukkit/Spigot
afd79ce40e Replace a net.minecraft accessor with a public attr.
By: Stéphan Kochen <stephan@kochen.nl>
2011-02-12 15:57:31 +01:00
CraftBukkit/Spigot
c5f9d74807 Added MaxSpeed methods to minecarts. Added MaxSpeed methods to boats. Added SlowWhenEmpty, FlyingMod, and DerailedMod methods to minecarts.
By: afforess <afforess@gmail.com>
2011-02-12 15:57:16 +01:00
CraftBukkit/Spigot
05035305f4 Added implementation of Colorable to CraftSheep
inspired by xpansive

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-02-12 12:29:22 +11:00
CraftBukkit/Spigot
4b63a73ffe Merge branch 'master' of https://github.com/Bukkit/CraftBukkit
By: Tahg <tahgtahv@gmail.com>
2011-02-10 09:24:14 -05:00
CraftBukkit/Spigot
62b0d3e6bb Fixed chunk unloading
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-10 13:27:53 +00:00
CraftBukkit/Spigot
5528de8f3c Worlds are now in the order they are loaded, with [0] being default
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-09 20:25:14 +00:00
CraftBukkit/Spigot
70fde138ab Probably fixed getLoadedChunks()
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-09 20:00:17 +00:00
CraftBukkit/Spigot
3b73bf1447 Added Creature.getTarget
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-09 13:44:46 +00:00
CraftBukkit/Spigot
6589841a6f added method to force an inventory update
By: Tahg <tahgtahv@gmail.com>
2011-02-08 21:52:06 -05:00
CraftBukkit/Spigot
0788f8e7d0 inventory fixes
By: Tahg <tahgtahv@gmail.com>
2011-02-08 19:37:53 -05:00
CraftBukkit/Spigot
12bb9e3573 Unseal net.bukkit
Fix fail
Prepare to seal. THIS IS ONE WEEK'S NOTICE.

By: Luke GB <github@lukegb.com>
2011-02-08 22:46:48 +00:00
CraftBukkit/Spigot
cd7a065eaa JAR is now sealed! No com.bukkit, org.bukkit or net.bukkit packaged plugins will load.
By: Luke GB <github@lukegb.com>
2011-02-08 21:59:00 +00:00
CraftBukkit/Spigot
64354406fc Added Creature.setTarget per jlogsdon
By: James Logsdon <dwarf@girsbrain.org>
2011-02-03 18:17:53 -05:00
CraftBukkit/Spigot
f3a00a79b4 Implemented Sneak event
By: Alexander Hesse <webmasterœaquanasoft.de>
2011-01-25 19:08:54 +01:00
CraftBukkit/Spigot
beb34ae835 Just cleaning some commits. Don't mind me.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-08 15:22:46 +00:00
CraftBukkit/Spigot
32ebb2e2e1 Added loadChunk, unloadChunk and unloadChunkRequest.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-08 14:26:55 +00:00
CraftBukkit/Spigot
c68ddf76c0 Implemented WORLD_LOADED
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-08 12:50:36 +00:00
CraftBukkit/Spigot
0996ee1a6d Implemented new Server methods (getWorld + changes to createWorld)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-08 12:03:36 +00:00
CraftBukkit/Spigot
6a5734b2ff @Override interface implementation is 1.6 exclusively
By: Erik Broes <erikbroes@grum.nl>
2011-02-07 11:03:56 +01:00
CraftBukkit/Spigot
ca376a1225 I'm quite aware that I fail at merging.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-07 01:59:06 +00:00
CraftBukkit/Spigot
7ebb3fa77c CraftWorld.toString has name
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-07 01:22:43 +00:00
CraftBukkit/Spigot
7804a304fb Fixed inventory transition
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-07 00:03:34 +00:00
CraftBukkit/Spigot
970239f979 Possibly fixed block/chunk leaking
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-06 22:53:48 +00:00
CraftBukkit/Spigot
defd90752e Changes to reflect new Environment enum
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-06 20:50:57 +00:00
CraftBukkit/Spigot
be3e8a666e NPE
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-06 14:25:19 +00:00
CraftBukkit/Spigot
88c99f6a7b Fixed invisibility after cross-world teleportation
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-06 14:03:28 +00:00
CraftBukkit/Spigot
a56535ac56 Fixed various multiworld teleporting issues
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-06 02:04:15 +00:00
CraftBukkit/Spigot
e304a85e74 Fixed NPE after traveling to another world
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-05 23:41:57 +00:00
CraftBukkit/Spigot
138429d8b8 Probably definitely fixed mob leaking
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-05 23:37:33 +00:00
CraftBukkit/Spigot
f4f4b368db Possibly fixed world leaks (mobs crossing into other worlds)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-05 21:26:58 +00:00
CraftBukkit/Spigot
87d721733f Proper 'otherworld' chunkloading
By: Erik Broes <erikbroes@grum.nl>
2011-02-05 22:13:53 +01:00
CraftBukkit/Spigot
5ddeb60d33 Attempt to clear loaded chunks during multiworld teleportation
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-05 20:51:22 +00:00
CraftBukkit/Spigot
4da4e3ed2e Fixed player teleportation
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-05 20:25:28 +00:00
CraftBukkit/Spigot
7d933716df Added internal MC support for multiple worlds
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-05 18:15:04 +00:00
CraftBukkit/Spigot
622ca3e68c Scheduler
By: Raphfrk <raphfrk@gmail.com>
2011-02-02 23:53:04 +00:00
CraftBukkit/Spigot
68f094f38b Remove deprecated [gs]etTime calls
By: Erik Broes <erikbroes@grum.nl>
2011-02-06 13:30:50 +01:00
CraftBukkit/Spigot
9c3badbaaf Added CraftBlock.getVector().
By: sk89q <the.sk89q@gmail.com>
2011-02-05 23:19:26 -08:00
CraftBukkit/Spigot
a827e1d875 Updated README.md
By: Erik Broes <erikbroes@grum.nl>
2011-02-05 15:58:03 +01:00
CraftBukkit/Spigot
e4dc51e235 getLoadedChunks method
By: Raphfrk <raphfrk@gmail.com>
2011-02-04 20:11:57 +00:00
CraftBukkit/Spigot
f7ae67a1c4 Modified .gitignore to remove Mac filesystem dust (/.DS_Store)
By: Peter Lamonica <plamoni@gmail.com>
2011-01-23 08:38:40 +08:00
CraftBukkit/Spigot
3402e64ba9 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.

By: EvilSeph <evilseph@unaligned.org>
2011-02-05 03:10:03 -05:00
CraftBukkit/Spigot
608ef2636e Addded: int getMaxPlayers()
By: Animosity <nullcline@gmail.com>
2011-02-04 14:12:33 +08:00
CraftBukkit/Spigot
28b41663ea fixed addItem hopefully
By: tahg <tahgtahv@gmail.com>
2011-02-04 21:38:15 -08:00
CraftBukkit/Spigot
331c51643d Fix for multi-stack adds
By: Tahg <tahgtahv@gmail.com>
2011-02-05 00:02:09 -05:00
CraftBukkit/Spigot
e92ced90dd Fixed NPE on missing kick-reason - http://redmine.bukkit.org/issues/359
By: Erik Broes <erikbroes@grum.nl>
2011-02-04 23:02:52 +01:00
CraftBukkit/Spigot
c3c665c6f8 Added brief coding conventions - these may not be complete.
By: Warren <evilseph@unaligned.org>
2011-02-03 13:15:38 -08:00
CraftBukkit/Spigot
d01cc84ade Removed tab on line 97.
By: Warren <evilseph@unaligned.org>
2011-02-03 12:57:17 -08:00
CraftBukkit/Spigot
2ce76c6810 Implemented Inventory.contains with a minimum amount of item required. As per feature request #187
By: Limb <ibelimb@gmail.com>
2011-01-24 07:42:59 +08:00
CraftBukkit/Spigot
b9e5c762b3 Totally useless commit to satisfy lukegb's outrageous demands
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-02 18:23:19 +00:00
CraftBukkit/Spigot
f981a18f45 Generic cleanup/reformat.
By: Erik Broes <erikbroes@grum.nl>
2011-02-02 00:32:18 +01:00
CraftBukkit/Spigot
6a7e7141f8 Clean vehicle code.
By: Erik Broes <erikbroes@grum.nl>
2011-02-01 23:52:36 +01:00
CraftBukkit/Spigot
db46d059ce Update chunk handling.
By: Erik Broes <erikbroes@grum.nl>
2011-02-01 23:49:28 +01:00
CraftBukkit/Spigot
defe56d4a9 Added CraftNoteBlock.play
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 23:18:25 +00:00
CraftBukkit/Spigot
0c1b5191ad Added CraftDispenser.dispense()
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 23:16:25 +00:00
CraftBukkit/Spigot
9291fe9e98 Fixed tabs
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 21:55:30 +00:00
CraftBukkit/Spigot
9a102a26c1 Introduce better versioning system, mark 2.
By: Luke GB <github@lukegb.com>
2011-02-01 21:47:28 +00:00
CraftBukkit/Spigot
19eadde312 Dinner time!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 14:53:39 +00:00
CraftBukkit/Spigot
94b8e2a239 Added setItemStack(ItemStack stack) to CraftItemDrop
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-01 10:43:16 +00:00
CraftBukkit/Spigot
e658c25515 Implemented getRemainingAir/setRemainingAir/getMaximumAir/setMaximumAir on LivingEntity
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-31 01:23:10 +00:00
CraftBukkit/Spigot
91b6778723 Renamed ItemStack.set/getDamage to durability, which is now a short
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-31 01:07:38 +00:00
CraftBukkit/Spigot
4388c95e43 toString!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-30 22:01:53 +00:00
CraftBukkit/Spigot
b6d877d771 Added support for different tree generation types and a callback.
By: sk89q <the.sk89q@gmail.com>
2011-01-30 13:53:57 -08:00
CraftBukkit/Spigot
71abdb0010 Optimized blockCache, now only stores blocks asked for
By: Erik Broes <erikbroes@grum.nl>
2011-01-30 20:19:56 +01:00
CraftBukkit/Spigot
922b141e94 Fixed rogue chmods
By: Erik Broes <erikbroes@grum.nl>
2011-01-30 20:18:15 +01:00
CraftBukkit/Spigot
f6f082a753 Reworked getEntity; Hi instanceof, bay 16 classes
By: Erik Broes <erikbroes@grum.nl>
2011-01-30 16:15:17 +01:00
CraftBukkit/Spigot
91ef607f11 Updated pom to reference 'second patched version' of the server.
By: Erik Broes <erikbroes@grum.nl>
2011-01-30 13:38:07 +01:00
CraftBukkit/Spigot
6820f5de76 Port to new mc-dev format.
By: Erik Broes <erikbroes@grum.nl>
2011-01-29 22:50:29 +01:00
CraftBukkit/Spigot
785e22677c Merge branch 'master' of github.com:Bukkit/CraftBukkit
By: stevenh <steven.hartland@multiplay.co.uk>
2011-01-29 21:04:16 +00:00
CraftBukkit/Spigot
4dd5046a0d Updated commands to use CommandSender instead of Player
By: stevenh <steven.hartland@multiplay.co.uk>
2011-01-29 21:04:02 +00:00
CraftBukkit/Spigot
6eb906ae20 Added Block.isBlockPowered(), block.isBlockIndirectlyPowered().
By: sk89q <the.sk89q@gmail.com>
2011-01-28 10:24:53 -08:00
CraftBukkit/Spigot
89b8395123 server.reload() now reloads plugins
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-28 14:18:49 +00:00
CraftBukkit/Spigot
991af11e0b Implemented player.performCommand(String)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-28 09:15:32 +00:00
CraftBukkit/Spigot
78473d2dd4 onDisable on stop - stephank
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-27 16:15:41 -05:00
CraftBukkit/Spigot
ccf32b63ef You don't override for interfaces!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-27 13:26:37 +00:00
CraftBukkit/Spigot
5e8077112f Added methods to get a list of entities to World. This replies on net.minecraft.server.Entity.bukkitEntity not being null (otherwise it won't be returned).
By: sk89q <the.sk89q@gmail.com>
2011-01-26 12:03:54 -08:00
CraftBukkit/Spigot
182031fe9d added load chunk method
By: Raphfrk <raphfrk@gmail.com>
2011-01-21 04:57:33 +08:00
CraftBukkit/Spigot
b50a636f98 Added getBlockReplacedState to BlockPlaceEvent, in case one wants to see what type of block was there previously.
By: VictorD <victor.danell@gmail.com>
2011-01-24 23:22:28 +01:00
CraftBukkit/Spigot
d85ad792fb removed all instances of new CraftEntity* where appropriate.
Entity.getBukkitEntity() is now used instead.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-01-23 23:23:13 +11:00
CraftBukkit/Spigot
b49ed260f6 Added full tile entity data support for all block types that use it, including chests, dispensers, furnaces, mob spawners, and note blocks.
By: sk89q <the.sk89q@gmail.com>
2011-01-23 00:37:10 -08:00
CraftBukkit/Spigot
bde24c6ec9 Revert "Entity's bukkitEntity field now holds a CraftEntity by default."
This reverts commit 7a64e864fc481f001812d78cc4d767872c458706.

By: sk89q <the.sk89q@gmail.com>
2011-01-21 18:35:32 -08:00
CraftBukkit/Spigot
205cd4cf6d Entity's bukkitEntity field now holds a CraftEntity by default.
By: sk89q <the.sk89q@gmail.com>
2011-01-21 16:21:19 -08:00
CraftBukkit/Spigot
55c3d7e57c Expanded .gitignore with some potential build folders and files.
By: sk89q <the.sk89q@gmail.com>
2011-01-21 00:22:52 -08:00
CraftBukkit/Spigot
a7fcd2be48 CraftBlock instance getLocation() method.
By: Adam Tanner <adam@adamtanner.org>
2011-01-21 19:40:31 +08:00
CraftBukkit/Spigot
938a95b533 Modified POM for better Bamboo integration
By: Luke Granger-Brown <github@lukegb.com>
2011-01-20 21:21:30 +00:00
CraftBukkit/Spigot
18b72bc447 Added compass setting methods.
By: sk89q <the.sk89q@gmail.com>
2011-01-20 02:05:20 -08:00
CraftBukkit/Spigot
554bde3a69 Implemented server reload
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-20 03:53:43 +00:00
CraftBukkit/Spigot
fa61eef933 Implement getSpawnLocation().
By: FeepingCreature <default_357-line@yahoo.de>
2011-01-16 07:00:01 +08:00
CraftBukkit/Spigot
faf7e54b22 Fixed blockcache being inaccurate
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-20 00:16:57 +00:00
CraftBukkit/Spigot
10b548b654 Fix up NPE's in EntityMinecart/CraftVehicle and removed a little un-needed code in EntityArrow
By: speakeasy <mekevin1917@gmail.com>
2011-01-20 05:41:02 +08:00
CraftBukkit/Spigot
52cc6f5bf6 reverted # from server console
By: Tahg <tahgtahv@gmail.com>
2011-01-18 19:42:49 -05:00
CraftBukkit/Spigot
c01cdcb54a Fixed getChunkAt and usage.
By: Erik Broes <erikbroes@grum.nl>
2011-01-18 12:37:01 +01:00
CraftBukkit/Spigot
6e823e9992 Updated plugin commands to allow for aliases and fallback on name collision.
By: VictorD <victor.danell@gmail.com>
2011-01-18 01:13:45 +01:00
CraftBukkit/Spigot
77cff3ea87 Fixed: http://redmine.bukkit.org/issues/204 - fixed armor-slot order.
By: Erik Broes <erikbroes@grum.nl>
2011-01-18 00:46:03 +01:00
CraftBukkit/Spigot
f69c8d2c8a fixed exact name matching
By: Tahg <tahgtahv@gmail.com>
2011-01-17 16:55:48 -05:00
CraftBukkit/Spigot
eeaaea9223 fixed health
By: Tahg <tahgtahv@gmail.com>
2011-01-17 16:45:20 -05:00
CraftBukkit/Spigot
9f88190ab1 allowed partial name matching
By: Tahg <tahgtahv@gmail.com>
2011-01-17 15:50:37 -05:00
CraftBukkit/Spigot
49d67847a7 Depreceated getCraftEntity() as it has been superceded by
getBukkitEntity()

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-01-17 16:26:47 +08:00
CraftBukkit/Spigot
318a071c4c New Entity Classes implementing the new Bukkit interfaces.
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-01-17 16:12:47 +08:00
CraftBukkit/Spigot
ea7442232c Updates to all Entities to use getBukkitEntity() any time an event is
raised.
Similar update to CraftVehicle and CraftLivingEntity

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-01-17 08:53:42 +08:00
CraftBukkit/Spigot
c754e7ffc2 Updated CraftInventory to make use of the proper generics in the Inventory interface.
Updated loads of return values to now return actual Craft* objects.
Added a shitton of constructors to CraftItemStack so you can now finally properly make your ItemStacks.

By: Erik Broes <erikbroes@grum.nl>
2011-01-17 01:55:53 +01:00
CraftBukkit/Spigot
11d156e65e Updated CraftHumanEntity to refresh the inventory on death, should fix odd behavior around that.
By: Erik Broes <erikbroes@grum.nl>
2011-01-17 01:55:18 +01:00
CraftBukkit/Spigot
bbc2093115 Fixed error in CraftInventory.setContents().
By: sk89q <the.sk89q@gmail.com>
2011-01-16 13:29:30 -08:00
CraftBukkit/Spigot
ecc5a3be98 Fixed removeItem implementation
By: Erik Broes <erikbroes@grum.nl>
2011-01-16 16:39:05 +01:00
CraftBukkit/Spigot
3a61243363 Added registration of plugin commands on plugin load.
By: VictorD <victor.danell@gmail.com>
2011-01-16 16:35:37 +01:00
CraftBukkit/Spigot
06f8475467 Implement removeItem(ItemStack...)
By: Erik Broes <erikbroes@grum.nl>
2011-01-16 16:09:59 +01:00
CraftBukkit/Spigot
2f53dbcd0f Fixed NPE while clearing a slot
By: Erik Broes <erikbroes@grum.nl>
2011-01-16 14:34:31 +01:00
CraftBukkit/Spigot
ffc7372165 Implementation of the EntityDamage*Events.
Many files were added to enable the correct hooking of these events, and a new
event EntityDamageByProjectileEvent. EntityDamageByProjectileEvent adds the
ability to get the projectile entity (such as an egg) and also set if the
projectile 'bounces'. Only two projectiles currently respond to bouncing, Arrow
and Fish - were if the fish bounces it means the fish is not hooked. Bouncing
is independent of any damage caused via the event. In addition, the changes to
EntityDamageEvent that enable setting post-event damage were implemented in all
hooks.

Finally, a bug in CraftArrow was fixed, where the constructor was not declared public.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-01-12 16:48:19 +11:00
CraftBukkit/Spigot
31192b03fe Fixed an issue where the block cache became out of date and events were giving erroneous block information.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 21:10:24 -08:00
CraftBukkit/Spigot
5048539bfa Added Block.getRelative(BlockFace).
By: sk89q <the.sk89q@gmail.com>
2011-01-15 19:33:45 -08:00
CraftBukkit/Spigot
88cf954f4e Added item-in-hand related API.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 19:33:28 -08:00
CraftBukkit/Spigot
dbc9e0eb55 Added CraftInventory.setContents(); made CraftInventory.setItem(), CraftInventory.getItem(), and CraftItemStack() damage-aware.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 14:56:35 -08:00
CraftBukkit/Spigot
6ebeca35fe Fixed compilation issues (+small import cleanup in CraftWorld)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:52:43 +00:00
CraftBukkit/Spigot
f4f967ec4d Fixed World.dropItemNaturally() not specifying the Y and Z coordinates correctly.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 13:45:48 -08:00
CraftBukkit/Spigot
705ec7c646 Moved org.bukkit.Vector to org.bukkit.util.
By: sk89q <the.sk89q@gmail.com>
2011-01-15 13:44:22 -08:00
CraftBukkit/Spigot
397ddecd61 Added Server.broadcastMessage().
By: sk89q <the.sk89q@gmail.com>
2011-01-15 13:40:15 -08:00
CraftBukkit/Spigot
39e667c78e Moved org.bukkit.craftbukkit.Block to org.bukkit.craftbukkit.block.Block
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:40:18 +00:00
CraftBukkit/Spigot
6023a1d31b Moved block stuff from org.bukkit to org.bukkit.block
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:36:57 +00:00
CraftBukkit/Spigot
a93d5e571a Missed an Entity
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:31:59 +00:00
CraftBukkit/Spigot
a33d5b32d0 All inventory stuff in org.bukkit.craftbukkit moved to org.bukkit.craftbukkit.inventory
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:29:17 +00:00
CraftBukkit/Spigot
7fea4768fc All inventory stuff in org.bukkit moved to org.bukkit.inventory
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:27:29 +00:00
CraftBukkit/Spigot
f4fdebbd4b All entity stuff in org.bukkit.craftbukkit moved to org.bukkit.craftbukkit.entity
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:23:28 +00:00
CraftBukkit/Spigot
dcbc0f4b64 All entity stuff in org.bukkit moved to org.bukkit.entity
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 21:21:05 +00:00
CraftBukkit/Spigot
7e48b38166 Implemented clear/remove for inventories
By: Erik Broes <erikbroes@grum.nl>
2011-01-15 21:55:53 +01:00
CraftBukkit/Spigot
302b68c3ea Events should be present tense, not paste tense.
By: Erik Broes <erikbroes@grum.nl>
2011-01-15 21:26:05 +01:00
CraftBukkit/Spigot
a265092ce0 Changed BlockFace enum to match coding standards
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 20:16:30 +00:00
CraftBukkit/Spigot
5c16d49e03 Implemented int getBlockTypeIdAt(int x, int y, int z).
By: Erik Broes <erikbroes@grum.nl>
2011-01-15 21:01:49 +01:00
CraftBukkit/Spigot
fb25b100ab Global ID -> Id rename
By: Erik Broes <erikbroes@grum.nl>
2011-01-15 20:53:20 +01:00
CraftBukkit/Spigot
2bc8736604 Implemented BlockState MaterialData
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-15 00:12:55 +00:00
CraftBukkit/Spigot
6f436eaf31 Added kick player
By: speakeasy <mekevin1917@gmail.com>
2011-01-15 09:19:54 +08:00
CraftBukkit/Spigot
c9f019f68c Updated pom once more! proper repo this time :D
By: Erik Broes <erikbroes@grum.nl>
2011-01-15 01:24:18 +01:00
CraftBukkit/Spigot
25e9efb4a5 Moved to more permanent maven repo
By: Erik Broes <erikbroes@grum.nl>
2011-01-15 01:12:53 +01:00
CraftBukkit/Spigot
5899ec007c Fixed blocks not keeping data on placement
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-14 19:44:11 +00:00
CraftBukkit/Spigot
c49063334a Update to Minecraft Server 1.2_01
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-14 13:47:47 +00:00
CraftBukkit/Spigot
c695452813 Update to Minecraft Server 1.2
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-14 13:31:10 +00:00
CraftBukkit/Spigot
ff4b91655a Small whitespace/warning sanitation
By: Erik Broes <erikbroes@grum.nl>
2011-01-11 23:11:10 +01:00
CraftBukkit/Spigot
870ee0b0ec Updated against new mc-dev format, takes out quite some casting troubles at the cost of extra ()'s
By: Erik Broes <erikbroes@ripe.net>
2011-01-11 09:25:13 +01:00
CraftBukkit/Spigot
5b605fdc4f Fixed CraftWorld.spawnArrow() not setting X, Y, Z positions correctly.
By: sk89q <the.sk89q@gmail.com>
2011-01-10 14:13:44 -08:00
CraftBukkit/Spigot
6b25a95a88 Remember, minimal diffs and *NO TABS*
By: Erik Broes <erikbroes@grum.nl>
2011-01-10 09:30:34 +01:00
CraftBukkit/Spigot
38e7b5cb6a Revert "Bukkit Timers, now with 100% less github-services branch."
This reverts commit 7c37a03a092be7e9c3fb242b4cbe4f6644899af6.

By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-10 03:09:41 +00:00
CraftBukkit/Spigot
8ae8293fa8 Fixed CIP
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-10 11:03:53 +08:00
CraftBukkit/Spigot
3b1844601a Bukkit Timers, now with 100% less github-services branch.
By: thylordroot <organicnightmare@gmail.com>
2011-01-10 10:10:37 +08:00
CraftBukkit/Spigot
cc7e6db997 -
By: Taylor Kelly <tkelly910@gmail.com>
2011-01-10 09:57:47 +08:00
CraftBukkit/Spigot
76cc515db3 PlayerInventory.getSize should not count armor slots.
By: Erik Broes <erikbroes@grum.nl>
2011-01-10 00:41:22 +01:00
CraftBukkit/Spigot
87747a1304 Fixed some bugs with inventory
By: Erik Broes <erikbroes@grum.nl>
2011-01-09 23:41:05 +01:00
CraftBukkit/Spigot
31ed08bab5 Merge branch 'master' of https://github.com/Bukkit/CraftBukkit
By: Tahg <tahgtahv@gmail.com>
2011-01-09 15:01:25 -05:00
CraftBukkit/Spigot
c8094f4225 Added function to get player ip
By: Tahg <tahgtahv@gmail.com>
2011-01-09 15:01:09 -05:00
CraftBukkit/Spigot
76e05aa578 Added getContents() to IInventory and implemented it.
Implemented Inventory and PlayerInventory and updated StorageMinecart and Slot.
Added getMaxStackSize to CraftItemStack.

By: Erik Broes <erikbroes@grum.nl>
2011-01-09 18:27:46 +01:00
CraftBukkit/Spigot
e0eb9be1ba Fixed CraftPlayer.isOnline
By: Tahg <tahgtahv@gmail.com>
2011-01-06 02:50:44 -05:00
CraftBukkit/Spigot
514167e661 Show reason for invalid plugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-05 22:56:31 +00:00
CraftBukkit/Spigot
8bb6cd38e7 Added Server.getTime and Server.setTime
By: FrozenCow <frozencow@gmail.com>
2011-01-04 16:22:22 +08:00
CraftBukkit/Spigot
0be5b28936 Merge remote branch 'upstream/master'
By: durron597 <martin.jared@gmail.com>
2011-01-05 04:54:39 -05:00
CraftBukkit/Spigot
d62c61e91b Initial implementation of inventory stuff, (read-)only for StorageMinecart sofar
By: Erik Broes <erikbroes@ripe.net>
2011-01-05 01:00:57 +01:00
CraftBukkit/Spigot
37bc03b43a Implemented CHUNK_LOADED
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-04 15:54:41 +00:00
CraftBukkit/Spigot
596035458a Implemented Chunk.getWorld()
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-04 14:17:05 +00:00
CraftBukkit/Spigot
87d246c1ae Merge remote branch 'upstream/master'
By: durron597 <martin.jared@gmail.com>
2011-01-03 20:21:02 -05:00
CraftBukkit/Spigot
21271ef958 Added -w for world directory
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-04 01:19:26 +00:00
CraftBukkit/Spigot
49285bc5b6 Merge branch 'master' of github.com:Bukkit/CraftBukkit
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-04 00:45:10 +00:00
CraftBukkit/Spigot
fcc27e9e40 Added command-line arguments, forced nogui
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-04 00:43:23 +00:00
CraftBukkit/Spigot
7e9bfd9d43 Added getHighestBlockYAt
By: FrozenCow <frozencow@gmail.com>
2011-01-04 05:56:09 +08:00
CraftBukkit/Spigot
87883daeb5 Merge remote branch 'upstream/master'
By: durron597 <martin.jared@gmail.com>
2011-01-03 15:48:56 -05:00
CraftBukkit/Spigot
449fb6523a Fixed NPE on Player related methods in CraftServer
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 19:41:23 +00:00
CraftBukkit/Spigot
846d1800c5 Added compile instructions in README.md
By: Erik Broes <erikbroes@grum.nl>
2011-01-03 19:32:42 +01:00
CraftBukkit/Spigot
6be6029035 Implemented item drops.
By: sk89q <the.sk89q@gmail.com>
2011-01-08 12:48:45 -08:00
CraftBukkit/Spigot
f992249f27 Changed Block.setTypeID() to return a boolean indicating whether the block was changed (as provided by Minecraft).
By: sk89q <the.sk89q@gmail.com>
2011-01-08 12:24:39 -08:00
CraftBukkit/Spigot
79190cff6c Implemented block.getBiome
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-08 03:44:29 +00:00
CraftBukkit/Spigot
a5f424708d Added World.getName and World.getId
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-08 02:29:57 +00:00
CraftBukkit/Spigot
ee4573d9d1 Added Entity.teleportTo(Entity)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-08 02:20:11 +00:00
CraftBukkit/Spigot
31546ddf8e Implemented BlockState.update(boolean), signs should now work, cleaned up some code a little
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-08 01:22:17 +00:00
CraftBukkit/Spigot
b0bf52751f Added passenger methods to Vehicle/LivingEntity.
By: sk89q <the.sk89q@gmail.com>
2011-01-07 16:26:08 -08:00
CraftBukkit/Spigot
a4aca48cb4 Changed resolution order in CraftWorld.toCraftEntity() to give CraftMappable precedence.
By: sk89q <the.sk89q@gmail.com>
2011-01-07 14:06:08 -08:00
CraftBukkit/Spigot
79b394a914 Implemented World.spawnBoat(), added CraftMappable interface that defines a method to get an org.bukkit.craftbukkit.CraftEntity from implementing net.minecart.server.Entity entities, changed CraftWorld.toCraftEntity() to use this new interface for boats and minecarts.
By: sk89q <the.sk89q@gmail.com>
2011-01-07 14:01:37 -08:00
CraftBukkit/Spigot
4db1faa590 Moved CraftVehicle.*Velocity() to CraftEntity as velocity is a component of all entities.
By: sk89q <the.sk89q@gmail.com>
2011-01-07 13:40:16 -08:00
CraftBukkit/Spigot
76d5da14fd Implemented boat, fixed some event issues with minecarts, and implemented the events for boats that were implemented for minecarts.
By: sk89q <the.sk89q@gmail.com>
2011-01-07 13:05:25 -08:00
CraftBukkit/Spigot
e44031b5c4 Updated Minecart/vehicle Bukkit implementation.
By: sk89q <the.sk89q@gmail.com>
2011-01-07 12:01:37 -08:00
CraftBukkit/Spigot
74629b6c5f Added World.toCraftEntity() to convert Minecraft entities to CraftBukkit entities.
By: sk89q <the.sk89q@gmail.com>
2011-01-07 12:00:44 -08:00
CraftBukkit/Spigot
6dae74f721 Implemented LivingEntity.shootArrow().
By: sk89q <the.sk89q@gmail.com>
2011-01-07 12:00:08 -08:00
CraftBukkit/Spigot
1c5ef4139d Start of update() + added sign
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-07 16:53:16 +00:00
CraftBukkit/Spigot
dc8649f340 Implemented CraftBlockState
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-07 16:26:06 +00:00
CraftBukkit/Spigot
08343616c6 Make matchPlayer return only the exact-matched player, if there is one.
By: Animosity <nullcline@gmail.com>
2011-01-08 00:08:30 +08:00
CraftBukkit/Spigot
0e4e6c21e5 Player display name is shown in chat
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-07 13:28:23 +00:00
CraftBukkit/Spigot
d7d4579cf4 Implemented Player.getDisplayName/setDisplayName
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-07 13:27:26 +00:00
CraftBukkit/Spigot
4cd2b9af93 Block.getFace(BlockFace) is an override for Block.getFace(BlockFace, int)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-07 10:48:09 +00:00
CraftBukkit/Spigot
4938549777 Added block.getFace(Block) and block.getFace(BlockFace, int)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-07 10:43:51 +00:00
CraftBukkit/Spigot
f73b61f1ce Better implementation of matchPlayer(String) - return List of potential matches
By: Animosity <nullcline@gmail.com>
2011-01-07 10:42:53 +08:00
CraftBukkit/Spigot
99fcba15f0 Added CraftServer.matchPlayer(String) - partial-name matching
By: Animosity <nullcline@gmail.com>
2011-01-06 13:10:28 +08:00
CraftBukkit/Spigot
87ab5dc0f8 Fixed plugins being loaded before world.
By: FrozenCow <frozencow@gmail.com>
2011-01-07 02:33:59 +08:00
CraftBukkit/Spigot
dca17e2555 Create a concept of a null item stack
By: durron597 <martin.jared@gmail.com>
2011-01-06 06:20:12 -05:00
CraftBukkit/Spigot
9b1f8245df Fixed compile errors
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 16:37:08 +00:00
CraftBukkit/Spigot
46bdde7180 Mark CraftEntity as abstract, add dummy health methods to CraftArrowEntity.
By: angelsl <angelsl@rpm>
2011-01-03 17:41:26 +08:00
CraftBukkit/Spigot
1e159ac832 Added LivingEntity.throwEgg() and LivingEntity.throwSnowball().
By: sk89q <the.sk89q@gmail.com>
2011-01-03 17:44:43 +08:00
CraftBukkit/Spigot
73f551d19c Fixed missing import for craftworld
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 15:13:29 +00:00
CraftBukkit/Spigot
e8b157df99 Implemented some minecart vehicle hooks, but there's a some things missing in CraftBukkit before the implementation can be finished.
By: sk89q <the.sk89q@gmail.com>
2011-01-03 01:28:06 -08:00
CraftBukkit/Spigot
bccefe4c85 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.
By: sk89q <the.sk89q@gmail.com>
2011-01-02 21:41:57 -08:00
CraftBukkit/Spigot
b3568f83e7 Renamed ArrowEntity->Arrow to be consistent.
By: sk89q <the.sk89q@gmail.com>
2011-01-03 14:11:04 +08:00
CraftBukkit/Spigot
d4ecbac104 Merge remote branch 'upstream/master'
By: durron597 <martin.jared@gmail.com>
2011-01-02 22:31:39 -05:00
CraftBukkit/Spigot
a28d7a476c fixed spelling error in comment
By: durron597 <martin.jared@gmail.com>
2011-01-02 22:31:32 -05:00
CraftBukkit/Spigot
734b691ee8 Light levels are bytes
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 03:25:58 +00:00
CraftBukkit/Spigot
40fe64d5d7 Fixed isChunkLoaded(Chunk chunk)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 03:25:24 +00:00
CraftBukkit/Spigot
dc5b6726dc Changed to pluginmanager direct for enabling plugins
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 02:40:47 +00:00
CraftBukkit/Spigot
8d08cd71c9 Enable plugins by default the right way
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 02:25:09 +00:00
CraftBukkit/Spigot
8d1eea196c Added world.spawnTree(), world.spawnBigTree().
By: sk89q <the.sk89q@gmail.com>
2011-01-02 18:01:17 -08:00
CraftBukkit/Spigot
9a7f982668 Block.getLightLevel()
By: sk89q <the.sk89q@gmail.com>
2011-01-02 18:30:46 -08:00
CraftBukkit/Spigot
161d48858d Added getPlayer(String name) to server
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-03 00:16:00 +00:00
CraftBukkit/Spigot
ca642baafd Removed @Override for the interface method spawnArrow
By: durron597 <martin.jared@gmail.com>
2011-01-02 05:54:16 -05:00
CraftBukkit/Spigot
1a68f03f72 Merge remote branch 'upstream/master' into HEAD
By: durron597 <martin.jared@gmail.com>
2011-01-02 05:50:26 -05:00
CraftBukkit/Spigot
bf8919735d Added notchToBlockFace convenience method
By: durron597 <martin.jared@gmail.com>
2011-01-02 05:29:51 -05:00
CraftBukkit/Spigot
c427a5e808 We're LGPL.
By: Erik Broes <erikbroes@grum.nl>
2011-01-02 10:58:11 +01:00
CraftBukkit/Spigot
755c51da47 Implemented arrows.
By: sk89q <the.sk89q@gmail.com>
2011-01-02 16:40:27 +08:00
CraftBukkit/Spigot
8bec12c50b Fixed a bunch of warnings.
By: Lymia <lymiahugs@gmail.com>
2011-01-02 00:36:27 -06:00
CraftBukkit/Spigot
26adf52a14 POM version crap
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-01 19:47:04 +00:00
CraftBukkit/Spigot
babc1c3e03 Java 1.5!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-01 19:37:52 +00:00
CraftBukkit/Spigot
7f9f16cd58 Updated pom.xml to produce a 'ready to run' jar
By: Erik Broes <erikbroes@grum.nl>
2011-01-01 19:37:22 +01:00
CraftBukkit/Spigot
ae512460b8 Changed tabs to 4 spaces, removed unnecessary imports
By: durron597 <martin.jared@gmail.com>
2011-01-01 08:06:04 -05:00
CraftBukkit/Spigot
f73e384c27 Transition to Maven
By: Erik Broes <erikbroes@grum.nl>
2011-01-01 11:47:24 +01:00
CraftBukkit/Spigot
ab747e99f0 Fixed Material
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-01 07:05:05 +00:00
CraftBukkit/Spigot
5dfaef5542 Fixed insane fall damage (entities reset on death)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 20:34:26 +00:00
CraftBukkit/Spigot
2250c18a63 Fixed player handle being reset on death or disconnection
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 05:35:30 +00:00
CraftBukkit/Spigot
19dcaeeb01 Implemented Player.sendMessage()
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 04:56:34 +00:00
CraftBukkit/Spigot
827ed5aa40 Don't override getName in CraftPlayer
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 04:39:28 +00:00
CraftBukkit/Spigot
10d1ac6c12 No lookup for worlds, store on object
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 04:37:32 +00:00
CraftBukkit/Spigot
837fa8ac26 Implemented entities
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 04:30:12 +00:00
CraftBukkit/Spigot
f8d2b930f9 Moved the PLAYER_MOVE and PLAYER_TELEPORT hooks to be packet-based, fixed player.getLocation() to return pitch/yaw
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 01:25:32 +00:00
CraftBukkit/Spigot
6ca8defced Made Block.setType/Block.setData functional
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 01:07:57 +00:00
CraftBukkit/Spigot
64ca0ef519 Add some .toString()s
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 00:29:18 +00:00
CraftBukkit/Spigot
8c4820f75e Keep Blocks updated when changed by the world
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 23:52:29 +00:00
CraftBukkit/Spigot
b0d5c9042a Implemented PLAYER_CHAT and PLAYER_COMMAND
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 21:52:39 +00:00
CraftBukkit/Spigot
5e7a24764f Added chunk/block/location/world
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-27 02:13:03 +00:00
CraftBukkit/Spigot
4f56472cfd Call hooks, update to new code
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-26 02:20:29 +00:00
CraftBukkit/Spigot
e44cf75ad1 PluginManager => SimplePluginManager
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-25 15:42:17 +00:00
CraftBukkit/Spigot
c723d80ad5 No longer hardcoding sample plugin, now uses plugins dir
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 19:04:35 +00:00
CraftBukkit/Spigot
f78b33d338 Fixed a few bugs getting sample plugin to load
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 18:16:10 +00:00
CraftBukkit/Spigot
0e4db04102 Load sample plugin for now
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-24 17:24:21 +00:00
CraftBukkit/Spigot
f24de1b5e4 Hook onto the server, and added player
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-22 15:22:23 +00:00
CraftBukkit/Spigot
8d095d827c Initial structure
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-21 16:52:15 +00:00