Commit graph

364 commits

Author SHA1 Message Date
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