rmichela
1394926e53
[Bleeding] Implement Metadata framework for Entities, Blocks, and Worlds
2012-02-29 19:21:25 +01:00
Wesley Wolfe
403f874784
[Bleeding] Fix generics. Addresses BUKKIT-844
2012-02-29 12:15:31 -05:00
Travis Watkins
257fd16242
Added plugin-profiling setting to bukkit.yml.
2012-02-29 10:00:49 -05:00
TomyLobo
92dfb2500b
Adjusted CraftBukkit to work with the entity event convenience patch in Bukkit. Addresses BUKKIT-809
2012-02-29 00:12:26 -05:00
TomyLobo
dcf016822d
Fixed sneaking eye height. Addresses BUKKIT-808
2012-02-27 20:16:25 -05:00
Olof Larsson
f70f99d1a0
Fixed CraftOfflinePlayer.getLastPlayed() returning the wrong result. Addresses BUKKIT-847
2012-02-27 20:16:11 -05:00
EdGruberman
397f25aa24
Added plugin loading log entry
2012-02-26 15:46:07 -05:00
Sam Wilson
cc2e721ffc
Implement PortalCreateEvent reason codes. Addresses BUKKIT-833
...
This commit modifies the construction of PortalCreateEvents to specify
a reason for the event. Reasons are either:
1. FIRE: the portal is being created because a player set fire to an
obsidian frame.
2. DESTINATION: the portal is being created as a destination for an existing portal.
2012-02-26 15:20:09 -05:00
TomyLobo
f2d9d4174f
CraftSign changes. Addresses BUKKIT-824
...
- Removed the useless world field.
- Made it so changes to a CraftSign (which is a Block*State*) no longer reflect into the world without calling sign.update().
2012-02-26 12:15:00 -05:00
Wesley Wolfe
078e2511a5
[Bleeding] Override not applicable
2012-02-23 21:33:51 -05:00
Zeerix
7a49e29b55
[Bleeding] Undo changes to the tree WorldGenerators.
...
- All StructureGrowEvent handling for these is in BlockSapling now, using a BlockChangeDelegate to collect the data.
- Moved StructureGrowDelegate into a separate class
2012-02-23 18:27:23 -05:00
Feildmaster
796d4a8a74
[Bleeding] Fixed setTotalExp, any experience update bugs and removed Deprecated Methods. Fixes BUKKIT-798 and fixes BUKKIT-797
2012-02-23 18:27:22 -05:00
Feildmaster
d7f6d2d929
[Bleeding] Use player.getItemInHand(), instead of a new ItemStack. Addresses BUKKIT-767
2012-02-23 18:27:22 -05:00
aPunch
036b5c3956
[Bleeding] Added launchProjectile.
...
Use launchProjectile in place of individual throwSnowball, throwEgg, and shootArrow methods.
2012-02-23 15:07:41 -05:00
Celtic Minstrel
af51313ffb
[Bleeding] Added EntityType to replace CreatureType.
2012-02-22 22:06:29 -05:00
Feildmaster
7792156fb2
[Bleeding] Added BlockGrowEvent. Addresses BUKKIT-104
2012-02-22 21:46:45 -05:00
Celtic Minstrel
326091c130
[Bleeding] Recipe API improvements and fixes. Addresses BUKKIT-738 and BUKKIT-624
...
Add a recipe iterator to make it possible to retrieve and remove recipes (BUKKIT-738), and updated the recipe classes to not clip the data to 127 (BUKKIT-624)
2012-02-21 04:24:24 -05:00
Wesley Wolfe
39048be430
[Bleeding] Cleanup clone method.
2012-02-20 05:49:48 -05:00
Feildmaster
1922672f14
[Bleeding] Fire EntityDamageByEntityEvent for EnderCrystal. Fixes BUKKIT-776
2012-02-19 01:06:38 -05:00
Feildmaster
b06719dd03
[Bleeding] Moved projectile EntityDamageByEntityEvent's to event factory. Addresses BUKKIT-775
2012-02-19 01:05:11 -05:00
Mike Primm
5316c43a82
Add getEntitesByClass(Class<T>), getEntitiesByClasses(Class<?>...), deprecate getEntitiesByClass(Class<T>...)
2012-02-18 16:34:53 -05:00
Erik Broes
137880b727
Deprecation cleanup.
2012-02-18 13:06:12 -05:00
Nathan Adams
3b634b14f6
Fixed NPE when running a custom build of CraftBukkit. This fixes issue #BUKKIT-765
2012-02-18 14:06:21 +00:00
Nathan Adams
d057ee1e07
Don't print stacktraces on DLB fetching errors. And because I forgot last commit; this adds BUKKIT-760
2012-02-17 00:09:56 +00:00
Nathan Adams
236cfed616
Added a built-in update checker. See http://wiki.bukkit.org/Bukkit.yml#auto-updater for new bukkit.yml options.
2012-02-16 22:32:17 +00:00
Mushroom Hostage
7076ef9de6
Use createNMSItemStack on CraftingManager recipe registration. Fixes BUKKIT-602
2012-02-13 00:44:58 -05:00
fullwall
f52665348e
[Bleeding] Added Potions API. Fixes BUKKIT-389
2012-02-10 17:41:13 -05:00
EvilSeph
63b9ed9ab4
Added configurable animal and monster ticks per spawn setting.
2012-02-10 12:16:06 -05:00
Travis Watkins
7ff8c17568
[Bleeding] Make sure we don't keep stale references to vanished players.
2012-02-09 22:03:43 -05:00
EvilSeph
54e45b7d66
Prevent the Vanish API from sending unnecessary packets.
2012-02-03 05:12:54 -05:00
Travis Watkins
37c8868532
[Bleeding] Implemented Vanish API.
...
Remove players that cannot see a player from their EntityTrackerEntry and only
send user list updates to players who can see the player they reference.
2012-02-03 03:34:03 -05:00
EvilSeph
028cbb8fe9
Removed MONSTER CreatureType.
2012-02-03 02:42:40 -05:00
Eric Stokes
3a419481ea
Added 'generate-structure' setting support and WorldCreator property.
...
Fixes BUKKIT-655 and BUKKIT-592
2012-01-29 13:07:44 -05:00
EvilSeph
f1a35effb0
Added useExactLoginLocation(). Closes BUKKIT-145
...
useExactLoginLocation() looks for settings.use-exact-login-location within bukkit.yml.
If true, we will bypass Vanilla's behaviour of checking for collisions and moving the player if needed when they login.
If false, we will continue to follow Vanilla's behaviour and move players that 'collide' with objects when they login.
2012-01-29 12:33:05 -05:00
Erik Broes
3173b68bbe
Filter null/AIR from items dropped on death. Fixes: BUKKIT-653
2012-01-29 13:37:32 +01:00
EvilSeph
bb730f0ee7
Cleanup.
2012-01-27 18:23:58 -05:00
Sam Wilson
e92bdab57a
Fixed CraftLivingEntity.damage when the entity is an EntityComplex.
...
Fixes BUKKIT-589: if you call damage on an instance of EnderDragon, no damage
is done.
Reason for bug: damage calls Entity.damageEntity. But EntityComplex
overrides damageEntity to do nothing.
Fix: CraftComplexLiving should call EntityComplex.e instead of
Entity.damageEntity. e is the method that actually does damage to an
instance of EntityComplex.
2012-01-24 04:10:47 -05:00
Zeerix
872dad5540
[Bleeding] Implemented PotionSplashEvent. Closes BUKKIT-307
2012-01-24 02:12:41 -05:00
EvilSeph
4f02563c63
Reverted changes to getItem(). Will be reimplemented after RB.
2012-01-20 14:52:32 -05:00
EvilSeph
1bbeec1f75
Accounted for NMS getItem() returning null in recent commit.
2012-01-20 11:46:24 -05:00
EvilSeph
76d7a1ce1d
Properly handle null and air items. Fixes BUKKIT-435 and BUKKIT-550
...
We'll probably want to implement an ItemStack.EMPTY and return that
instead of NULL in the near future.
2012-01-20 05:40:10 -05:00
Tahg
4b0f819af2
Updated timing code for new event system
2012-01-19 18:50:39 -05:00
Nathan Adams
28fcbec3b1
Prevent re-use of internal world dimension IDs. This fixes BUKKIT-448. Thanks to snowleo for the PR.
2012-01-19 16:10:52 +00:00
Nathan Adams
b0f29b1755
Throw PlayerLevelChangeEvent and PlayerExpChangeEvent events. Thanks to feildmaster for the PR.
2012-01-19 16:07:18 +00:00
Nathan Adams
1f1c9c0d4b
Correctly take in ChatColor length when limiting player list size. This should fix BUKKIT-571
2012-01-19 15:10:00 +00:00
Erik Broes
112e0816b9
Actually close the inventory on a *cross*-world teleport.
2012-01-17 22:50:18 +01:00
Erik Broes
f5f268f939
Implement Player.setBedSpawnLocation(Location). Thanks md_5
2012-01-17 22:35:31 +01:00
Mike Primm
b22e727cda
[Bleeding] Make BaseBiome to Biome mapping faster, detect missing mapping in future updates
2012-01-17 19:51:33 +01:00
Zeerix
bcf6440bc4
[Bleeding] Implement EntityShootBowEvent. Thanks Zeerix.
2012-01-17 19:51:06 +01:00
Erik Broes
edbb7358fc
[Bleeding] Implementation of the brewing stand.
2012-01-17 19:50:29 +01:00
Erik Broes
1d4a9e1df5
[Bleeding] Make sure to close any open inventory windows before teleporting. Thanks md_5.
2012-01-17 19:49:52 +01:00
Zeerix
1d04305cea
[Bleeding] Added event calls for healing and harming by potions
2012-01-17 19:49:11 +01:00
Zeerix
2cc70bb055
[Bleeding] Implemented Block.breakNaturally and Block.getDrops
2012-01-17 19:48:44 +01:00
Mike Primm
fb1cfea89e
[Bleeding] Implemented Block.getLightFromSky() and Block.getLightFromBlocks()
2012-01-17 19:45:23 +01:00
Mike Primm
f7585e552d
[Bleeding] Implemented World.getEntitiesByClass(Class<T>... classes)
2012-01-17 19:44:35 +01:00
Erik Broes
29096577b6
[Bleeding] Implement animal breeding API changes.
2012-01-17 19:44:11 +01:00
Nathan Adams
d3b4375d31
Fixed LongHashset incorrectly using read lock for popAll, and made it use write lock. This fixes BUKKIT-509
2012-01-15 18:49:16 +00:00
Nathan Adams
95a72d1c59
Implemented World.getWorldType
2012-01-15 17:44:15 +00:00
Nathan Adams
65f30fd99d
Dragons now throw events when creating portals
2012-01-15 12:01:11 +00:00
Nathan Adams
a753ee587d
Implemented allowFlight methods. Thanks to Qala for the PR.
2012-01-15 10:56:09 +00:00
Erik Broes
6d49b11338
Made World.playEffect a bit more efficient. Thanks mintplant for the PR.
2012-01-15 11:42:40 +01:00
Erik Broes
9c1534336c
Fix broadcasting to people without permission. Fixes BUKKIT-464. Thanks grandwazir for the PR.
2012-01-15 11:32:00 +01:00
Erik Broes
d7cec38c38
Adding the option to suppress overload warnings as a bukkit.yml option. Thanks oloflarsson for the PR.
2012-01-15 11:11:41 +01:00
Erik Broes
a4ce846d07
Fix formatting.
2012-01-15 10:54:57 +01:00
Nathan Adams
2ab160e484
Implemented new PlayerDeathEvent methods for exp setting
2012-01-14 18:08:27 +00:00
Nathan Adams
548ccabe2f
Fixed .createWorld not respecting container folder 100%. Thanks to plleg for the PR.
2012-01-14 17:50:31 +00:00
Nathan Adams
366d310186
Added .equals and .hashcode to CraftBlockState
2012-01-14 17:47:15 +00:00
Nathan Adams
657f458ba7
Player.setPlayerListName no longer counts colors towards the 16-char limit. Thanks to an (unfortunately old) PR by ZachBora.
2012-01-14 17:42:18 +00:00
Nathan Adams
d73c29aad7
Implemented entity.playEffect. Thanks to main--
2012-01-14 17:36:47 +00:00
Feildmaster
6cc56b8c2c
Added ItemDespawnEvent
2012-01-14 17:03:38 +00:00
Nathan Adams
52c526f313
Small optimization in EntityPlayer by caching the hashcode. Thanks to a very old PR by Belphemur. In addition, changed and slightly improved the hashcode formula for entities
2012-01-14 15:01:44 +00:00
Nathan Adams
77a12d4dce
Correct casting for creature target typechecking
2012-01-14 14:49:41 +00:00
Nathan Adams
e6bb19f63a
Fixed any chance of creatures .getTarget throwing a class cast exception - thanks to an old PR by garbagemule!
2012-01-14 14:45:56 +00:00
Nathan Adams
d5438c30b9
Fixed block.getBiome returning null in new 1.1 biomes. This fixes BUKKIT-496
2012-01-14 13:14:14 +00:00
Nathan Adams
3ee8a2372c
Additional commit to fix #BUKKIT-24
2012-01-14 12:46:23 +00:00
Nathan Adams
9ac06e7720
Fixed informing players of supported Plugin Channels
2012-01-14 01:46:22 +00:00
md-5
4dc2065f54
Undo commit cc60920 to allow for proper integration with the new Bukkit enum values
2012-01-14 11:14:43 +11:00
Nathan Adams
b4f215e913
Implemented new Plugin Message API - see http://dinnerbone.com/blog/2012/01/13/minecraft-plugin-channels-messaging/
2012-01-13 08:53:39 +00:00
md-5
d8052a63ed
Fix NPE involving WorldTypes when using CraftServer.createWorld(WorldCreator creator)
2012-01-13 07:33:57 +01:00
Erik Broes
7219d4dd85
Updated to Minecraft 1.1
2012-01-12 23:10:13 +01:00
Nathan Adams
897551e39e
Update to mc-dev rename revision 01
2012-01-12 15:27:39 +00:00
Andrew Ardill
483a619e8a
FIX: CraftServer.getOfflinePlayers was not converting set->array well.
...
An incorrect method was being used to convert from Set<OfflinePlayer>
to OfflinePlayer[].
Relates to BUKIT-404
2012-01-02 10:25:43 +11:00
Andrew Ardill
60a2d12250
CraftItemStack: Make sure this.item is not null when cloning.
...
Fixes BUKKIT-424
2011-12-29 22:44:58 +11:00
Andrew Ardill
fb8a45b648
Teach CraftServer.getOfflinePlayers to also give all online players.
...
This method is most useful when it gives all the players who have ever
logged on to the server. Previously, it was not distinguishing between
players who had previously logged on, and were currently logged in,
and those who had previously looged on and were not currently logged in.
A distinction was made, however, between those currently logged in,
but who had not logged in previously.
This commit ensures that all players who have ever logged in (and are
listed as either logged in, or they have a player .dat file) will be
returned by the mentioned method.
Fixes BUKKIT-404
2011-12-27 16:48:09 +11:00
Erik Broes
834c420257
Update for cleanup in Bukkit
2011-12-25 15:35:12 +01:00
Nathan Adams
246d07482b
Fixed world.getHighestBlockYAt(x,z) returning 0 for existing but not loaded chunks. This fixes BUKKIT-327. Thanks for dredhorse for the pull request!
2011-12-19 16:30:26 +00:00
Nathan Adams
3648fb571d
Make rcon .sendMessage each write on a new line. This fixes BUKKIT-353. Thanks to ks07 for the pull req.
2011-12-19 16:22:59 +00:00
Andrew Ardill
1c6adc1587
Fix error when cloning enchanted ItemStacks.
...
The existing method for cloning a Bukkit ItemStack fails to correctly copy
the underlying enchantments. Fix this by overriding .clone() in
CraftItemStack, cloning the underlying nms ItemStack correctly.
Fixes BUKKIT-360
2011-12-20 00:30:54 +11:00
Nathan Adams
52faa415ef
Fixed clients not seeing EXP update immediately after using .setTotalExp and level methods
2011-12-12 19:44:57 +00:00
Nathan Adams
b653ce3c1c
Implemented (offline)player date methods
2011-12-12 17:39:52 +00:00
Nathan Adams
91ff0b059d
Made OfflinePlayer and Player share the same .equals and .hashcode
2011-12-12 15:34:49 +00:00
Andrew Ardill
82965eb10f
Stop converting ItemStack to nms ItemStack by hand
...
This should fix many issues with enchantments being lost, as the method used takes care of enchantments.
Additionally, use the new nms ItemStack constructor in places where appropriate.
Fixes (at least part of) BUKKIT-7. Need to identify any further places to fix.
2011-12-13 01:46:55 +11:00
Andrew Ardill
d7d48d8229
Teach CraftWorld.spawn how to spawn a Giant
...
Fixes BUKKIT-235
2011-12-12 14:36:13 +11:00
Nathan Adams
b2af70e5c7
Implemented getKiller in LivingEntity
2011-12-11 16:05:27 +00:00
EvilSeph
32a913a222
Linked thundering and storming.
2011-12-10 12:20:24 -05:00
Erik Broes
f7649724fe
Implemented CraftServer.getAllowEnd(). Thanks codename-B!
2011-12-09 18:55:36 +01:00
Nathan Adams
5e43c61fad
Implemented onStructureGrow event, thanks to md-5.
2011-12-09 16:11:56 +00:00
Andrew Ardill
a25151306c
Fix NPE as described in BUKKIT-245. Thanks snowleo
2011-12-08 10:26:39 +11:00
Andrew Ardill
b08b85bd26
Teach EnderDragon how to throw EntityExplosionEvents when it breaks blocks
...
We also teach CraftWorld how to explode an event, taken from
Explosion.a(boolean) (the code that breaks blocks and drops them on the ground).
The EnderDragon has a flag that slows it down when it hits unbreakable blocks:
Obsidian, White Stone or Bedrock. It might be useful to extend the event so that
plugins can set this.
Letting the API set the default yield for an explosion event has been
deprecated, so we now set the default yield using the appropriate constructor.
2011-12-08 00:31:21 +11:00
Andrew Ardill
4e318dd1c8
Implement new interface ConsoleCommandSender.
...
Also use abstracted ServerCommandSender to reduce complexity! Yay!
2011-12-07 17:46:30 +11:00
Andrew Ardill
93a4a9ba8c
Teach MinecraftServer how to handle Remote Console commands.
...
This fixes BUKKIT-220. Thanks for the help bawoodruff!
2011-12-07 17:45:50 +11:00
Tahg
e4a839cbbc
Fix for entity spawning and some code cleanup
2011-12-06 19:21:10 -05:00
Tahg
bc8f02788f
Performance update to remove several very high counts of temp object creation
2011-12-06 08:52:45 -05:00
Tahg
eead44a692
fix NPE issue with CB inventory
2011-12-06 08:48:45 -05:00
Andrew Ardill
b1a3aa602a
Clean-up some events to maintain general style
2011-12-05 19:23:40 +11:00
Nathan Adams
8363eadcab
CraftInventory.remove shouldn't care about amount (BUKKIT-138)
2011-12-05 01:51:33 +00:00
Nathan Adams
dbd3ff71fc
Implemented server.getOfflinePlayers
2011-12-04 17:57:00 +00:00
Nathan Adams
c6d182286c
Fixed some various CraftInventory bugs related to dropping Enchantments
2011-12-04 13:22:50 +00:00
Nathan Adams
1185ca75fc
Fixed player teleporting not working with a certain method. This fixes BUKKIT-198
2011-12-04 13:22:31 +00:00
Nathan Adams
55a532c251
Indicate when a teleport event was triggered by ender pearls or unknown internal teleports
2011-12-04 11:04:14 +00:00
Andrew Ardill
c298c104ea
Remove unused import
2011-12-02 21:38:50 +11:00
Nathan Adams
6ea3cec762
Made world.spawnCreature just delegate to world.spawn. This fixes BUKKIT-57
2011-12-01 21:50:23 +00:00
Erik Broes
da6b412fd2
Fix CraftBlock toString.
2011-12-01 21:03:23 +01:00
Nathan Adams
d02a2eb49d
Fixed rare NPEs with CraftItemStack. This fixes BUKKIT-51
2011-12-01 05:21:03 +00:00
Nathan Adams
a513406005
Fixed exp methods returning wrong values
2011-11-30 22:31:03 +00:00
Nathan Adams
8fbe78a2c3
Updated to use mc-dev rename revision 1
2011-11-30 21:46:19 +00:00
Erik Broes
8665161eaa
Fixed multiworld loading of some worlds, yay for 1 letter fixes :D
2011-11-30 21:48:16 +01:00
Andrew Ardill
c6af919114
Fix CraftEnderCrystal so that it implements EnderCrystal, not EnderSignal.
...
Thanks zhuowei!
2011-11-30 09:21:54 +11:00
Andrew Ardill
2759809ecb
Fix Craft Entity constructors and toStrings.
...
Also, standardise getHandle and clean up in general.
getHandle is now using the 'entity' member variable instead of
super.getHandle, as this reduces the number of chained calls needed.
2011-11-29 21:22:35 +11:00
Andrew Ardill
0c88f05c0d
Fix CraftVillager constructor to only take an EntityVillager
2011-11-29 09:46:20 +11:00
Andrew Ardill
89338db181
BUKKIT-57 Fix using Bukkit interface instead of nmc Entity for type check.
...
Thanks nidefawl!
2011-11-29 09:42:09 +11:00
Nathan Adams
fe3756f7a0
Fixed Enchantments being lost on inventory.setItem
2011-11-28 05:17:05 +00:00
Nathan Adams
99771b7b72
Fixed magma slimes from being nonspawnable
2011-11-28 05:08:28 +00:00
Andrew Ardill
4b87704c5a
Add new Entity types to CreatureSpawnEvent
2011-11-28 11:21:43 +11:00
Andrew Ardill
c0073e466d
Add CraftMagmaCube
2011-11-28 11:17:04 +11:00
Nathan Adams
8d49f500ec
Fixed NPE in CraftPlayer.getBedSpawnLocation
2011-11-27 04:09:34 +00:00
Nathan Adams
402e3c26e1
Clone item enchantments unchecked
2011-11-27 03:58:43 +00:00
Nathan Adams
894ab9f949
Fixed issue with enchantments reseting under certain conditions
2011-11-27 02:45:34 +00:00
Nathan Adams
eb7bd5f23b
Implemented Enchantment API
2011-11-27 01:37:00 +00:00
Nathan Adams
ef75a286ac
Implemented world.getWorldFolder
2011-11-25 03:47:12 +00:00
Nathan Adams
20a0b0a9be
Changed Entity.isDead to be aware of health for living entities
2011-11-25 00:32:44 +00:00
Nathan Adams
e31cedf583
Fixed NPE in player inventory + don't ignore the cancel state of world unloads
2011-11-24 20:27:16 +00:00
Nathan Adams
a7664a104f
Implemented new age methods in animals, and made spawned animals via eggs properly age back to children
2011-11-24 20:16:43 +00:00
Nathan Adams
47b4406b7e
I've either fixed going to The End, or made it worse. I'm sure we'll find out soon!
2011-11-24 20:00:55 +00:00
Nathan Adams
61edd36378
Made BlockStates inform playes upon update
2011-11-24 18:48:23 +00:00
Nathan Adams
c6beae8872
Fixed allow-nether being ignored
2011-11-24 18:48:01 +00:00
Nathan Adams
929e5ff6c7
Implemented new biome values
2011-11-22 21:21:33 +00:00
Nathan Adams
a83fc1d6a2
Implemented new EnderCrystal entity class
2011-11-21 22:39:33 +00:00
sunkid
0a8bd56f16
fixed spawn method for projectiles
2011-11-20 18:21:21 -08:00
Erik Broes
345ea36c7b
Update for 1.0.0
2011-11-20 00:01:33 -08:00
Nathan Adams
589f66bd1b
Added new --noconsole command argument, thanks to mkurzeja for the idea
2011-11-05 20:15:19 +00:00
Nathan Adams
b1671be875
Implemented bukkit versioning
2011-10-31 04:03:47 +00:00
Erik Broes
2f1513cae0
Add missing CraftBlock hashCode()
2011-10-20 23:20:26 +02:00
Tahg
8c02599256
fixed mapping of Art <-> EnumArt in Paintings
2011-10-12 14:13:11 -04:00
Nathan Adams
75d9b04deb
Added new bukkit.yml entry (settings -> world-container) to control the directory worlds are stored in
2011-10-12 04:25:03 +01:00
Nathan Adams
f4229fcadd
Implemented getPlayer of OfflinePlayer
2011-10-11 14:52:07 +01:00
Nathan Adams
af1838305c
Implemented entity age methods
2011-10-11 02:23:10 +01:00
Nathan Adams
7e005474b6
Added hashCode and equals to CraftWorld
2011-10-10 22:45:52 +01:00
Nathan Adams
1195944c90
Removed deprecated ConcurrentSoftMap
2011-10-10 22:05:35 +01:00
Nathan Adams
c818414fd5
Updated to the new Configuration api
2011-10-10 21:10:48 +01:00
Erik Broes
255778b388
Fix CraftBlock.equals as they are not singletons anymore
2011-10-07 11:48:14 +02:00
Tahg
696349884b
don't store weak references for EmptyChunks or cache CraftBlocks
2011-10-05 11:36:03 -04:00
EvilSeph
9177c205b4
Revert "Added callback line of sight methods. Thanks xZise!"
...
This reverts commit 49cf586f969626bdb59632bb2fd5adfe79d38057.
2011-10-03 15:17:34 -04:00
EvilSeph
11b388ff39
Fixed multiworld difficulty.
...
World difficulty was incorrectly being set to 0 or 1 on reload depending
on spawn-monsters instead of the difficulty server property.
2011-10-03 10:53:17 -04:00
EvilSeph
7c5007c016
Added Difficulty API.
2011-10-03 10:29:24 -04:00
EvilSeph
3b2347093f
Added missing call for WorldUnload event.
2011-10-02 23:16:58 -04:00
EvilSeph
aaefd4ecb5
Added callback line of sight methods. Thanks xZise!
2011-10-02 23:04:03 -04:00
Dinnerbone
80c2bc266a
Minimal diffs! Move methods for the new list-name away from nms
2011-10-03 00:37:44 +01:00
EvilSeph
22baa13894
Painting improvements. Thanks CelticMinstrel!
...
Implement get/setArt and facing direction for paintings; expanded painting break causes; added painting support to World.spawn
2011-10-01 13:37:03 -04:00
Mike Primm
aa66851119
Correct biome data in ChunkSnapshot - wrong API used
2011-09-30 23:31:37 -04:00
Dinnerbone
935313dea7
Fixed players not receiving broadcasts (and other similar issues) after signing out and in rapidly
2011-09-27 23:14:53 +01:00
sk89q
afd95b7e30
Added server list ping event.
2011-09-26 15:32:05 -07:00
sk89q
87494d46f8
Added Player.get/setListName to change the name of the player on the player list.
2011-09-26 15:10:35 -07:00
Tahg
d226e551ae
data improvements
2011-09-26 03:07:46 -04:00
sk89q
b7c43fbff1
Boat get/set (double) occupied acceleration, (double) unoccupied deceleration, (boolean) work on land. Good values to maximize boat utility: 0.6 (fast accel.), 0.99 (no loss of boat), true/false, respectively.
2011-09-25 11:20:51 -07:00
Dinnerbone
8f8c62b71b
Ensure there's only one OfflinePlayer object per actual offline player
2011-09-25 04:21:35 +01:00
Celtic Minstrel
aece687d01
Implementation of the Jukebox BlockState
2011-09-25 03:54:51 +01:00
Dinnerbone
6c6eef8759
Implemented get/setPickupDelay on Item entities, thanks robin0van0der0v
2011-09-25 03:40:28 +01:00
Dinnerbone
ceba082703
Implemented getOperators
2011-09-25 03:28:00 +01:00
Dinnerbone
cb49379b24
Adds a method that returns the File representation of the update folder. Thanks raphfrk
2011-09-25 02:22:06 +01:00
Dinnerbone
fad2656c63
Implemented world.getSeaLevel, made getHeight load from world instead of hardcoded
2011-09-25 01:05:55 +01:00
Dinnerbone
1fbd439dc5
Implemented new createWorld method
2011-09-25 01:05:10 +01:00
Dinnerbone
44136f2e7d
Blocked access to ColouredConsoleSenders constructor, implemented getConsoleSender
2011-09-24 23:14:13 +01:00
Dinnerbone
0118a20d6a
Update to mcdev rename revision 01 for 1.8.1
2011-09-24 22:05:22 +01:00
Rigby
e6e9cec1e9
Added PlayerToggleSprint event and sprinting related API.
2011-09-21 16:25:26 -04:00
Rigby
1da2d1f5b6
Implements the ability to customise and remove Player death messages.
2011-09-21 16:55:27 +01:00
Dinnerbone
20ddc944bb
Refactored a bunch of death code into the event factory
2011-09-21 15:41:24 +01:00
EvilSeph
905b977670
Added getBedSpawnLocation to CraftPlayer. Thanks fernferret!
2011-09-20 23:44:44 -04:00
Dinnerbone
a0216584b0
Return OfflinePlayer for offline wolf tamers. Thanks robinjam
2011-09-20 19:10:06 +01:00
Wizjany
2ae6b431b3
Added event for endermen picking up and placing blocks and methods to get/set what an enderman is holding.
2011-09-20 18:49:47 +01:00
Dinnerbone
914a8a0c04
Nullchex!
2011-09-19 14:26:46 +01:00
sunkid
af6ba0f026
implementation of PlayerGameModeChangeEvent call
2011-09-18 11:19:08 +02:00
Mike Primm
3f4ee9ab56
Added support back in for biome temperature and rainfall in snapshots.
2011-09-17 17:12:44 -04:00
EvilSeph
392e2a4272
Implemented configurable ping packet limit.
2011-09-16 22:26:49 -04:00
EvilSeph
096672b3c1
Added toString overrides to new Craft entities.
2011-09-16 22:26:11 -04:00
EvilSeph
820c51ab97
Added new entity mappings to CreatureSpawnEvent factory.
2011-09-16 20:10:49 -04:00
Dinnerbone
9252230e3a
Update for Minecraft 1.8.1
2011-09-15 18:01:13 +01:00
Dinnerbone
2b5a61f03d
Rename revision 2
2011-09-15 17:39:17 +01:00
Dinnerbone
965b185c5c
Setting exp shouldn't add, it should set
2011-09-15 06:27:55 +01:00
Dinnerbone
8b08696177
Implemented food methods + fixed dying resetting food
2011-09-15 06:24:45 +01:00
Dinnerbone
7eff773769
Fixed spawning the new entities
2011-09-15 05:53:19 +01:00
Dinnerbone
548ecfdec8
Implemented Exp Orb methods
2011-09-15 05:48:31 +01:00
Dinnerbone
1c95476a00
Implemented player experience methods
2011-09-15 05:13:10 +01:00
Dinnerbone
ca4810e8d4
Implemented new entities
2011-09-15 02:33:50 +01:00
Dinnerbone
a9b3a90dc9
Implemented gamemode methods
2011-09-15 02:22:20 +01:00
Dinnerbone
5b2c774edc
Update for Minecraft 1.8
2011-09-15 01:23:52 +01:00
Top-Cat
54bcd1c1f3
Indentation is important, ok?
2011-09-12 19:40:30 +08:00
Dinnerbone
f36bca9fb7
Implemented new GameMode methods (hint: You can't set game mode yet. Sorry.)
2011-09-09 01:19:23 +01:00
Dinnerbone
59babb2c31
Fixed issue with console being subscribed multiple times to permissions
2011-09-04 00:24:32 +01:00
Dinnerbone
c8d77561b1
Added new Server.getPlayerExact() method, added whitelist methods and don't use vanilla commands
2011-09-03 15:57:54 +01:00
Dinnerbone
09d90e639b
Implemented new ban and unban methods
2011-09-03 02:13:07 +01:00
Dinnerbone
598be22800
Implemented IP-banning methods
2011-09-03 01:59:28 +01:00
Dinnerbone
2547c46099
Actually push the CraftOfflinePlayer implementation!
2011-09-03 00:49:10 +01:00
Dinnerbone
0206757029
Implemented OfflinePlayer
2011-09-03 00:41:48 +01:00
Dinnerbone
fe0cd5405b
Implemented new broadcast method
2011-09-02 22:24:28 +01:00
Dinnerbone
db691ff5c8
Fixed player.setOp not deopping players
2011-09-02 21:30:16 +01:00
Dinnerbone
7c491b7bc7
Fixed world.save, implemented autosave methods
2011-09-02 20:46:26 +01:00
Dinnerbone
0c20045964
Implemented Server.shutdown()
2011-09-02 20:18:35 +01:00
Dinnerbone
d69bbd38c2
Commands are now "bukkit.command.x" instead of "craftbukkit.command.x", added legacy perms for compat
2011-09-02 19:19:50 +01:00
Dinnerbone
3915c15ef5
Version message doesn't need to be printed manually now
2011-09-02 16:56:10 +01:00
Dinnerbone
f165d4082d
Refactored some code from nms to ob for minimal diffs
2011-08-29 16:09:13 +01:00
EvilSeph
e4a2177281
Fixed memory leak Chunk Compression handling. Thanks Zeerix!
2011-08-27 01:16:53 -04:00
Tahg
6e4b12cdf1
safety check (and hopeful fix) for chunk saving
2011-08-19 23:17:48 -04:00
Dinnerbone
90d1afb748
Refactored default permission registration. Added "craftbukkit" and "craftbukkit.command" parent perms, and fixed whitelist adding
2011-08-18 14:04:59 +01:00
EvilSeph
26bd45c233
Made suiciding through the /kill command not reliant on pvp being allowed.
2011-08-15 14:30:27 -04:00
EvilSeph
8ea590bbcc
Revert "Implements interface for changing the view distance."
2011-08-15 14:27:02 -04:00
Andrew Ardill
12e377501e
Implements interface for changing the view distance.
...
Uses default view distance if player's view distance is not set
Throws an illegal argument exception if view distance is set too high
or too low.
Pushes notifications of server and world view distance changes to the player.
Move view distance functions from PlayerManger to WorldServer.
Set player minimum view distance to 1 for now.
Reset player's 'last known' position when recalculating visible chunks.
Use per-player view distance in chunk distance checks
2011-08-15 14:57:25 +10:00
EvilSeph
748a6288e4
Added API for manipulating map items. Thanks SpaceManiac, codename_B, sk89q and dested!
2011-08-12 23:06:02 -04:00
Dinnerbone
e6876a97da
Added permissions for each vanilla command - see http://wiki.bukkit.org/Vanilla_permissions . Removed op requirement for all server commands :o
2011-08-13 03:15:32 +01:00
Rigby
96a0e87068
Fixed chunks being overwritten with empty chunks when the memory setting is immediately changed after a world loads.
2011-08-12 21:19:53 -04:00
EvilSeph
c1e85002b6
Added missed colors to ColouredConsoleSender. Thanks flames!
2011-08-12 21:19:52 -04:00
EvilSeph
831d97c8de
Added "getViewDistance()", "getAllowNether()", "hasWhitelist()" and "getAllowFlight()". Thanks robin0van0der0v!
2011-08-08 16:01:34 -04:00
Rigby
4117d6b65e
Implemented per world setting to keep the spawn in memory or not.
2011-08-05 15:52:38 -04:00
Rigby
6ae23e3f03
Chunk Compression on seperate thread. Thanks to Zeerix.
2011-08-03 20:55:44 -04:00
sunkid
7d4ec8b183
Retiring EntityDamageByProjectileEvent in favor of EntityDamageEvent.
2011-07-28 01:51:09 -04:00
EvilSeph
6b9c7fa678
Added Version startup argument to Main. Thanks cyberdudedk!
2011-07-28 00:58:37 -04:00
EvilSeph
5b7b46593c
Added various utility methods to make chunk handling easier. Thanks Meaglin!
2011-07-28 00:32:58 -04:00
EvilSeph
226318d8af
Removed deprecated methods.
...
getNote() that returns a byte has been replaced by getRawNote().
teleportTo(Location) has been replaced by teleport(location).
teleportTo(Entity) has been replaced by teleport(Entity).
SnowForm event has been replaced by BlockForm event.
2011-07-27 23:25:21 -04:00
Dinnerbone
7ad853a51b
Implemented maxheight
2011-07-20 00:03:47 +01:00
Dinnerbone
5d2a195835
Implemented new permission system
2011-07-17 17:19:41 +01:00
Erik Broes
cc9ccc8976
Removed some old deprecated code and clean up javadocs + warnings
2011-07-17 18:14:45 +02:00
Erik Broes
fd260b0f4d
Allow colorchar to be uppercase
2011-07-17 18:14:45 +02:00
Erik Broes
f7712eb20c
Deprecated Block.getFace(Face) and Block.getFace(Face,int); use getRelative()
2011-07-17 18:14:45 +02:00
Erik Broes
f3a86eaaca
Implemented BLOCK_PISTON_CONTRACT/EXPAND
2011-07-17 18:14:45 +02:00
Dinnerbone
e4edbf288d
Don't use weak/soft references for keys, attempt to lessen memory impact further
2011-07-16 02:55:54 +01:00
Dinnerbone
c101c3553b
Readded ConcurrentSoftMap because apparently some plugins need this. (They really, really shouldn't be using it. At all.)
2011-07-15 21:49:53 +01:00
Dinnerbone
a507add4ea
Fixed huge memory leak (gigabytes/hour!) by placing a bukkit under the ceiling.
2011-07-15 20:52:54 +01:00
Dinnerbone
43492ab6af
Revert "Do not immediately re-queue repeating tasks, or they may simply keep repeating on this tick, until the 35ms time limit runs out." See 3632d99122 (commitcomment-478252)
...
This reverts commit 3632d99122e8795cadb8f94e14e42eb4aa6d7c4c.
2011-07-14 23:21:28 +01:00
Afforess
4a932c11de
Do not immediately re-queue repeating tasks, or they may simply keep repeating on this tick, until the 35ms time limit runs out.
2011-07-14 15:49:23 -04:00
EvilSeph
3c5ecd0854
Fixed missing BiomeBase.SKY to Biome.SKY mapping. Thanks mikeprimm!
2011-07-14 15:05:43 -04:00
Celtic Minstrel
cc94325b28
Implemented pig zombie get/set anger functions.
2011-07-14 14:58:12 -04:00
EvilSeph
185d590146
Fixed the accounting for world UID conflicts.
2011-07-13 15:40:31 -04:00
Dinnerbone
3d28c67c08
Implemented helper methods + new biome methods
2011-07-13 10:44:03 +01:00
EvilSeph
7f6e7060d7
Account for world UID conflicts.
2011-07-13 03:29:43 -04:00
Rigby
9e49127c7d
Made the order of aliases matter. We may or may not re-do this in a later build.
2011-07-13 00:31:05 -04:00
Tahg
d0f904fc50
uuid changes
2011-07-13 00:06:07 -04:00
stevenh
83fd8fad69
Added command line logging configuration which enables log file:
...
* Size limiting (--log-limit <size in bytes>)
* Rotation (--log-count <count of files>)
* Custom naming (--log-pattern <filename pattern>)
* Append (--log-append <true|false>)
Note: This is done via command line and not bukkit-settings as that would require lots of refactoring of both core server and CraftBukkit due to the current initialisation ordering and depenencies.
All settings default to that of the standard server
2011-07-10 18:28:57 +01:00
Dinnerbone
c56d0c0842
Use generators from bukkit.yml if none was specified at createWorld
2011-07-08 19:01:03 +01:00
Dinnerbone
2f218ba6b1
Update for 1.7.3
2011-07-08 13:25:53 +01:00
Dinnerbone
0993e6cbd1
Okay, back to arbitrary offsets!
2011-07-07 20:29:57 +01:00
Dinnerbone
83abbfe4d6
Cleaned up this worlduid stuff a little.
2011-07-07 19:47:42 +01:00
Rigby
4cab8635db
Made maps support MultiWorld worlds.
2011-07-07 14:40:27 -04:00
Rigby
9ced39421f
Implements a World UID.
2011-07-07 14:20:05 -04:00
Erik Broes
68506e2a4a
Forgot version in CraftBukkit
2011-07-01 14:24:59 +02:00
EvilSeph
49df44ad6c
Possible fix for cancelled CraftScheduler tasks still running.
2011-06-30 13:42:18 -04:00
Dinnerbone
61a7a0633c
Update to minecraft 1.7_01
2011-06-30 15:47:36 +01:00
Dinnerbone
a679e7f380
Update to Minecraft 1.7
2011-06-30 15:19:25 +01:00
Erik Broes
a98c7ba2c7
Massive renaming update in nms. If you bypassed Bukkit, you will likely break.
...
Also minimized all the nms diffs and generic cleanups all around.
2011-06-27 00:47:03 +02:00
Dinnerbone
528e8c7221
Don't register commands only on init
2011-06-26 02:46:04 +01:00
Dinnerbone
b94bb27663
Delayed alias registration until postworld
2011-06-24 00:57:46 +01:00
EvilSeph
22c28e593e
We build for JDK 1.5.
2011-06-23 15:41:07 -04:00
sunkid
6e746ef79a
Made bukkit settings reload on reload().
2011-06-23 14:35:05 -04:00
Dinnerbone
98098481e9
Fixed default command alias to do an array
2011-06-22 19:20:14 +01:00
Dinnerbone
0a3b89c8f8
Implemented new alias system
2011-06-22 19:10:29 +01:00
Dinnerbone
7f0126a364
You may now set a generator to a default world using plugin.yml
2011-06-22 18:27:52 +01:00
Dinnerbone
d647e2098e
Implemented startup plugin loading
2011-06-22 18:27:51 +01:00
EvilSeph
79337d3aab
Added SpawnReasons to CreatureSpawn events. Thanks winsock!
2011-06-21 16:37:07 -04:00
EvilSeph
faab690dc7
Added Sky biome for the Skylands. Thanks robin0van0der0v!
2011-06-21 15:46:02 -04:00
Rigby
138c70183d
Changed Nether portals to be handled by a customiseable PortalTravelAgent and updated the PlayerPortalEvent
2011-06-20 18:33:21 -04:00
sunkid
214d412505
Added the abitility to spawn fireballs.
2011-06-20 16:26:22 -04:00
sunkid
6cf0fc4a7b
No more ghastly pigs!
2011-06-19 18:39:47 -04:00
sk89q
57d677d1e8
Fixed CraftWorld.spawn() having all the inheritance checks backwards.
2011-06-19 12:59:36 -07:00
EvilSeph
cb7b82d452
Added API to allow plugins to set the world's spawn flags.
2011-06-19 06:34:22 -04:00
EvilSeph
89a524678a
Added getOnlineMode() for the Server. Thanks Rigby!
2011-06-19 06:34:21 -04:00
sunkid
155874eec9
Implemented the concept of a projectile.
2011-06-18 22:21:02 -04:00
sunkid
546e1306d8
Fix for spawnMinecart.
2011-06-18 21:56:42 -04:00
EvilSeph
4cefee5be7
Added world seed display to 'Preparing level' log message for each world
2011-06-18 00:29:34 -04:00
sunkid
fadd962b9c
Added the implementation of the concept of an Explosive.
2011-06-17 16:55:00 -04:00
EvilSeph
10fb5dc843
Added ChunkSnapShot improvements. Thanks mikeprimm!
...
Added support for biome data to chunk snapshot
Added method for returning empty chunk snapshot (for ungenerated chunks)
2011-06-17 09:23:19 -04:00
EvilSeph
39332e5c87
Added Instrument enum, Note class and get/setNote functions. Thanks xZise!
2011-06-17 03:16:18 -04:00
EvilSeph
cc1b0a005c
Added per player time support. Thanks eisental, Shamebot and needspeed10!
2011-06-17 02:29:16 -04:00
sunkid
a70a5abc3d
Added implementation of general spawn method.
2011-06-17 01:57:33 -04:00
sunkid
a8817b7bd1
Implemented extended createExplosion methods.
2011-06-17 01:44:32 -04:00
Dinnerbone
7aadc3d666
Moved spawn-protection from server.properties into (settings.)spawn-radius in bukkit.yml
2011-06-17 04:49:58 +01:00
Dinnerbone
c0244eda04
Implemented bukkit.yml command aliases
2011-06-17 04:09:43 +01:00
Dinnerbone
7e22faf9d6
Moved some craftbukkit stuff down from WorldServer to World; should fix a few NPEs during generation, and saves on a lot of casting
2011-06-17 03:06:45 +01:00
EvilSeph
6f1d6a4ca8
Fixed EntityTame event.
2011-06-15 15:01:09 -04:00
Erik Broes
9adc03abab
Generic cleanup of the org.bukkit.craftbukkit classes.
2011-06-12 12:51:54 +02:00
EvilSeph
73e34c2fe3
Added ItemSpawnEvent. Thanks myers!
2011-06-11 02:00:05 -04:00
EvilSeph
5b93f5565a
Fixed from and to worlds being the same for a PlayerTeleportEvent for crossworld teleports. Thanks for the help Rigby and Verrier! Tahg is responsible for the mess.
2011-06-11 01:33:37 -04:00
sk89q
e5c6b329d5
Whoops, need this commit too.
2011-06-09 23:56:42 -07:00
sk89q
bf4a4a767c
Added some missing @Override.
2011-06-09 23:30:38 -07:00
sk89q
ccabbcbf0a
Added World.createExplosion() that takes a Location, instead of just raw X, Y, Z values.
2011-06-09 23:13:38 -07:00
sk89q
a25ab644df
Cleaned up some Javadocs.
2011-06-09 23:11:37 -07:00
sk89q
e45c502ec1
Moved playSound/Effect(Player, ...) to Player.playEffect(Location, ...) to be consistent, and because the code didn't really do what the Javadoc said.
2011-06-09 23:08:00 -07:00
sk89q
846bd468d4
Changed sound playing to effect dispatching, since these seem more like more like encompassing effect than mere sounds.
2011-06-09 22:57:32 -07:00
sk89q
baf9a9f501
Merge branch 'sound' of https://github.com/sunkid/CraftBukkit
2011-06-09 22:38:44 -07:00
sunkid
5fe9ac362b
implementations of the playSound methods
2011-06-09 12:37:27 -07:00
EvilSeph
4a0eb0a4a1
Added method to create an explosion in world. Thanks Zaraza107!
2011-06-09 04:17:19 -04:00
EvilSeph
b0714775e1
Added EntityTame event. Thanks halvors!
2011-06-09 04:03:15 -04:00
raphfrk
8320917363
Adds update chunk method for sending fake chunk updates to the client. This is to match the sendBlockChange method.
2011-06-08 19:05:01 -04:00
Tahg
5296f97cde
Portal changes.
2011-06-08 16:57:46 -04:00
Dinnerbone
864f8d2f0d
Fixed nether's identity crises
2011-06-07 19:25:44 +01:00
EvilSeph
d33c06ead2
Added UniqueId to entities. Thanks Afforess!
2011-06-07 04:21:33 -04:00
EvilSeph
95c19d5f22
Added ChunkSnapshot for efficient, thread-safe copies of Chunk data. Thanks mikeprimm!
2011-06-07 03:34:23 -04:00
EvilSeph
68608169cd
Implemented unloadWorld(). Thanks Rigby!
2011-06-07 03:16:07 -04:00
Dinnerbone
d40c690c8f
Fix for generator stuff now being class
2011-06-06 21:12:03 +01:00
Dinnerbone
fedcbdf256
Implemented custom chunk generators and block populators
2011-06-06 18:38:47 +01:00
EvilSeph
891dfbcef8
Possible fix for some chunk loading issues experienced when teleporting. Thanks akrieger!
2011-06-05 12:38:56 -04:00
Tahg
5f684ef163
fixed environments
2011-06-03 18:36:14 -04:00
Tahg
ebc478388c
fixed cross world teleport
2011-06-01 18:35:57 -04:00
Tahg
8835cb905f
More multiworld fixes
2011-05-31 21:19:37 +02:00
Erik Broes
62b5da4e3a
Update for 1.6.6
2011-05-31 15:56:05 +02:00
Erik Broes
6dbd710bbf
Update for 1.6.5
2011-05-30 22:37:34 -04:00
Dinnerbone
1784e42d5f
Fixed a bunch of multiworld issues (entity tracking etc)
2011-05-27 00:11:45 +01:00
Dinnerbone
9934dd8561
Version fix
2011-05-26 15:21:54 +01:00
Dinnerbone
dc76d3a64a
Update for 1.6.3
2011-05-26 14:30:16 +01:00
Dinnerbone
6903f20242
Implemented 1.6!
2011-05-26 13:48:22 +01:00
EvilSeph
949634ad67
Fixed animals not spawning when spawn-monsters is set to false.
2011-05-22 15:33:34 -04:00
stevenh
8b0924bbb4
Fixed duplicate console and player messages when built in server commands where used or an unknown command was issued
2011-05-22 20:30:01 +01:00
Dinnerbone
6319a19073
Possible fix for -nojline printing blank lines
2011-05-19 21:46:47 +01:00
EvilSeph
480c1b9877
Fixed -nojline.
2011-05-19 14:15:13 -04:00
EvilSeph
eac5b9623d
Added -nojline CLI option to emulate vanilla console behaviours. Added JLine disabling compatibility (removes the '>').
...
-nojline disables JLine, removes the '>', sets the timestamp to vanilla's and sets the language to English.
-Djline.terminal=jline.UnsupportedTerminal disables JLine and removes the '>'.
2011-05-18 21:36:30 -04:00
EvilSeph
7f73594aa8
Added get/setLastDamageCause. Thanks sunkid!
2011-05-16 00:26:22 -04:00
EvilSeph
3439b7f9d9
Made setHealth(0) trigger EntityDeathEvent and drops. Thanks yetanotherx!
2011-05-15 22:16:46 -04:00
Erik Broes
309846d732
Whitespace + general cleanup
2011-05-15 13:41:46 +02:00
Andrew Ardill
25a74b624c
Edited src/main/java/org/bukkit/craftbukkit/entity/CraftPig.java via GitHub
2011-05-11 17:42:42 -07:00
Andrew Ardill
88d0171c43
Merge pull request #268 from xPaw/master
...
Implemented hasSaddle/setSaddle
2011-05-11 17:40:13 -07:00
sk89q
6cbd4cdf9e
Added World.strikeLightningEffect() that does no damage.
2011-05-06 19:25:44 -07:00
EvilSeph
99a7b91ef1
Added an update on load feature for plugins. Thanks Raphfrk!
...
Any files placed in the configurable update folder are automatically copied into the plugins directory the next time a reload happens. This allows safe updating of the plugin .jar files. The name of the update folder is configurable through bukkit.yml.
2011-05-05 17:56:52 -04:00
EvilSeph
54e2254904
Made teleporting between worlds 'smoother'. Thanks Raphfrk!
2011-05-04 22:16:26 -04:00
sk89q
93708cb748
Added services manager framework.
2011-05-02 11:31:33 -07:00
sk89q
bdcee9025c
Added method to fake a block change request for a player.
2011-05-02 11:31:33 -07:00
sk89q
80a1a4ac82
Added Player.playNote().
2011-05-02 11:31:32 -07:00
sk89q
98cea5cd15
Added NoteBlock.play(instrument, note).
2011-05-02 11:31:32 -07:00
Andrew Ardill
83eecfbd4e
AnimalTamer implementations, refactor and clean-up of code
2011-05-03 00:46:38 +10:00
Mike Primm
02d7f32e8f
Fix isSitting()/setSitting(), add isTame()/setTame()/getOwner()/setOwner() methods
2011-05-02 23:55:46 +10:00
Andrew Ardill
cd3c8fcfc8
We build for Java 1.5, so no @Override for interface implementations
2011-05-02 23:55:18 +10:00
Raphfrk
fdb077e814
Improved the Scheduler.
...
Adds nag message when async tasks are not properly shut down and adds a limiter for sync tasks. Once they use 35ms in a single tick, any remaining tasks are not executed until later ticks. Adds a method to report the pending tasks and one to report active worker threads
2011-05-02 02:40:07 -04:00
Raphfrk
aa70240917
Added a setArmorContents method to PlayerInventory.
...
It handles error checking. Null item stacks and air item stacks are both converted to clear slot calls to prevent crashing the client.
2011-05-02 02:09:24 -04:00
Rigby
f342db744a
Added per world PVP setting support.
2011-05-02 00:32:26 -04:00
Celtic Minstrel
5a5ce79035
Implemented addRecipe method in CraftServer and associated recipe classes.
2011-05-01 23:40:48 -04:00
xPaw
73aa3ac03c
Added hasSaddle/getSaddle
2011-04-26 07:29:25 -07:00
EvilSeph
d2a4c510b3
Added events related to weather in 1.5. Thanks wizjany!
2011-04-25 19:47:25 -04:00
Rigby
5fff84c5a9
Added the ability to retrieve a world's Seed.
2011-04-25 16:49:24 -04:00
Erik Broes
88ebcc8db5
Fix TextWrapping issues; Now limits the packets send to the client to either: 119 chars or 320 width. This will strip disallowed characters, propagate colors properly to the next line and not 'eat' multiple color-codes.
2011-04-25 22:17:07 +02:00
sk89q
a042ee1e26
Add methods to control thunder.
2011-04-22 03:13:21 -07:00
sk89q
c3ce6ce3ab
Added weather control methods.
2011-04-22 02:18:13 -07:00
sk89q
6739d6d75c
Added World.strikeLightning(). Also renamed WeatherStorm -> LightningStrike.
2011-04-22 01:25:55 -07:00
sk89q
4ecbf5f590
Changed Block.setTypeId() back to old behavior before the new translation process.
2011-04-21 23:31:09 -07:00
Dinnerbone
3afe2df241
Implemented stats/achievement giving
2011-04-21 20:57:34 +01:00
EvilSeph
4d78c45d8b
Made reload support allow-flight.
2011-04-21 15:40:22 -04:00
Dinnerbone
4ae695a176
Fixed the fix of Creeper.setPowered
2011-04-21 18:55:20 +01:00
Dinnerbone
f1b40ed4e3
Fixed creeper.setPowered
2011-04-21 18:41:47 +01:00
Dinnerbone
d5ee48a0c8
Implemented Weather and WeatherStorm
2011-04-21 16:51:58 +01:00
Dinnerbone
1a68a2aafe
Implemented Creeper.is/setPowered
2011-04-21 16:15:44 +01:00
Dinnerbone
7c455380a9
Java compat
2011-04-21 15:43:09 +01:00
Erik Broes
a6c8a36dce
Update for 1.5_02.
2011-04-21 04:25:46 -04:00
EvilSeph
2fd3f8d299
Reapplying changes lost with our new system in CraftInventory and CraftInventoryPlayer.
2011-04-21 00:24:27 -04:00
Erik Broes
483a878b8b
Update for 1.4_00_01 -- if you bypassed Bukkit, you will most likely break.
2011-04-20 19:05:14 +02:00
sk89q
ac9f297445
Don't want the scheduler taking invalid arguments as well.
2011-04-18 23:52:19 -07:00
sk89q
a450dcbb83
Fixed CraftScheduler to catch exceptions thrown by tasks, rather than crash the server.
2011-04-18 23:48:16 -07:00
Andrew Ardill
dc6c906e1a
The @Override annotation should only be used when overriding a method.
...
Not when implementing an interface.
2011-04-14 12:58:04 +10:00
sk89q
7baf5fa484
Made fauxSleeping persist on death and cross-world teleport.
2011-04-11 17:10:17 -07:00
sk89q
86c467cb50
Fixin' the problem of AFK people not in bed.
2011-04-11 11:48:31 -07:00
EvilSeph
2685de187a
Made what should be the last change missed in translation that might cause chunk issues.
2011-04-07 19:51:29 -04:00
sk89q
27d3396a35
Added bed events and methods.
2011-04-07 11:26:51 -07:00
EvilSeph
e2480e1347
Fixed firstEmpty() by making it search for the first null instead of Material.AIR.
2011-04-07 13:06:55 -04:00
alron
270310a3a5
Made another change that was missed in translation that might cause chunk issues. This should address one of the chunk issues experienced when teleporting.
2011-04-07 01:56:39 -04:00
Tahg
3c9944237a
Fixed Compile error
2011-04-06 21:51:20 -04:00
Tahg
e1acd683b4
Fixed some NPE issues caused by previous commit
2011-04-06 21:34:50 -04:00
Tahg
2c1f57e20b
Fixed stupidity in CraftInventory return types
2011-04-06 13:20:50 -04:00
Tahg
92e3957a0e
getContents now returns null for items whose underlying item is null
2011-04-06 12:45:03 -04:00
Tahg
7a99fd7327
added some API for entities
2011-04-04 01:07:39 -04:00
afforess
0f3f3c552a
Added player.saveData and player.loadData.
2011-04-03 15:52:07 -04:00
Erik Broes
c84d51f458
Fix chunk.getEntities
2011-04-02 17:56:06 +02:00
Stephen
5247bcba64
Implemented entity.getNearbyEntities()
2011-04-02 17:22:58 +02:00
afforess
a0b2a26c3a
implementation of Entity.isDead
2011-04-02 17:19:39 +02:00
afforess
adb13029bc
Forces clients to update to the new time immediately when setTime or setFullTime is called.
2011-04-02 17:17:17 +02:00
William Bowers
325f4e0c22
Implemented the new SpawnChangeEvent in CraftWorld.setSpawnLocation()
2011-04-02 16:58:50 +02:00
Dinnerbone
d5096a0193
Changed default database location to {NAME}.db instead of database.db
2011-04-01 16:52:00 +01:00
Dinnerbone
8b25433982
Implemented ebeans
2011-04-01 16:06:46 +01:00
Dinnerbone
160b54c965
Made Server a singleton
2011-04-01 16:06:46 +01:00
Erik Broes
c16ba1f940
Fix Entity.setVelocity
2011-04-01 12:28:55 +02:00
Erik Broes
09cfbfbf73
Fix world.getFullTime()
2011-04-01 09:24:42 +02:00
Dinnerbone
eb422e4ad4
Capture errors in plugins onLoad
2011-03-31 22:33:06 +01:00
Dinnerbone
baa8c53be0
Implemented Wolf
2011-03-31 22:10:48 +01:00
Dinnerbone
87c36febeb
Updated to Minecraft version 1.4
2011-03-31 21:40:00 +01:00
Erik Broes
0635f7c1b8
CreatureSpawnEvent: Fix forgotten inheritance with CreatureType
2011-03-30 08:51:42 +02:00
Erik Broes
e9cc4bbb05
world.spawnCreature cast fix
2011-03-30 00:41:07 +02:00
Erik Broes
c69eac3f3a
Add MONSTER to CreatureSpawnEvent
2011-03-29 23:18:48 +02:00
Erik Broes
ec74fe8e37
Move passenger-handling to CraftEntity
2011-03-29 23:14:59 +02:00
Stephen
a31f37262d
RegisterInterface reload bug fix
2011-03-29 21:32:24 +01:00
Dinnerbone
2ac43ce223
Ctrl+C saves world before stopping
2011-03-29 21:01:04 +01:00
Drakia
b37dd48ae5
Moved WORLD_LOAD event to after world is actually loaded
2011-03-29 18:41:52 +11:00
Dinnerbone
c47db7092b
Line endings, damnit!
2011-03-27 20:57:46 +01:00
Erik Broes
84054ec680
Fix some wrong event creations after previous change
2011-03-26 23:20:35 +01:00
Erik Broes
e24b10dfd9
Updated for the cleanups done in Bukkit
2011-03-26 22:32:56 +01:00
Celtic Minstrel
47497aa3f9
Implement Sheep.get/setSheared.
2011-03-26 17:54:03 +01:00
Celtic Minstrel
9f30c9f8f4
Implement Slime.set/getSize()
2011-03-26 17:53:26 +01:00
Celtic Minstrel
cd50683f78
World.spawnCreature now returns LivingEntity instead of Creature, to allow Ghasts and Slimes to be spawned using the command.
2011-03-26 17:52:04 +01:00
Raphfrk
8e53077efe
Switched biome coords from chunk based to block based
2011-03-26 15:05:16 +01:00
sk89q
49955d5a1d
Added Server.getServerId() for ID purposes.
2011-03-26 01:40:15 -07:00
Erik Broes
1eb2f75f53
Copy displayname when cross-world teleporting
2011-03-25 21:22:57 +01:00
Erik Broes
9162a654c4
Implement player.getCompassTarget
2011-03-25 21:22:03 +01:00
sk89q
6fc4d9dcfe
Fixed CraftWorld.getSpawnLocation() not return the exact spawn location.
2011-03-25 12:24:18 -07:00
Erik Broes
92518f4fc0
Stop GIANT discrimination
2011-03-24 22:51:47 +01:00
Erik Broes
ce714ab329
Fix CreatureType of CreatureSpawn event
2011-03-24 22:44:03 +01:00
Erik Broes
93fff2d5f5
Prevent double CraftWorld for the same world
2011-03-24 22:43:21 +01:00
Erik Broes
3129348866
Implementation of LivingEntity maximumNoDamageTicks, noDamageTicks, lastDamage
2011-03-24 00:32:41 +01:00
Raphfrk
0b05cbb998
Updated SoftMap to be concurrent.
2011-03-23 19:37:12 +01:00
lem21h
fdcf1c3c3a
Now also handle entities spawning on a loading a world. (Redacted by Grum)
2011-03-23 19:17:14 +01:00
Byron Shelden
376ac51cea
Fixed the PLAYER_TELEPORT event so event.getTo().getWorld() is correct. ( #451 )
2011-03-23 18:34:53 +01:00
Erik Broes
49043a8aff
Re-Implement BlockDamage
2011-03-23 16:51:44 +01:00
Erik Broes
f33de669fb
Major overhaul implementing PLAYER_INTERACT, removing PLAYER_ITEM, BLOCK_INTERACT, BLOCK_RIGHT_CLICK
2011-03-23 16:51:43 +01:00
Erik Broes
324efa8224
Fix BlockPlace
2011-03-21 00:31:13 +01:00
Erik Broes
437025a179
Fixing event names
2011-03-21 00:30:00 +01:00
Raphfrk
6ca1f24ee2
Adds an onLoad method to Plugin. The onLoad method is called for all plugins before the onEnable calls
2011-03-14 14:45:33 +00:00
Raphfrk
4a2bc3299a
Fixed setTypeIdAndData sending client updates when not using physics
2011-03-14 11:31:43 +00:00
Raphfrk
7242f21a32
This should fix the chunk ghosting bug
2011-03-14 11:31:43 +00:00
Erik Broes
6043797ce0
Fix getDisplayName getting lost when getBukkitEntity is called
2011-03-13 12:52:01 +01:00
stevenh
07c98ea2a4
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
2011-03-12 18:31:44 +00:00
Tahg
ca3d0512f3
Blocks now return power for sources other than redstone dust
2011-03-12 12:28:07 -05:00
Erik Broes
1db4eab7e3
TextWrapper now wraps text at the proper width and also prevent splitting unless it is needed
2011-03-12 16:58:05 +01:00
Erik Broes
7729c8b517
Sourcefiles shouldn't be executable
2011-03-12 16:12:41 +01:00
Erik Broes
22baecaf7f
Clean code a bit
2011-03-12 16:12:41 +01:00
sk89q
49a3d5bfb3
Added Player.sendRawMessage().
2011-03-12 01:06:04 -08:00
Tahg
5c4f1d75b5
stupid ChunkPosition's are relative to the chunk
2011-03-11 17:57:59 -05:00
Tahg
078f48c0fb
Code cleanup, fixed doors, chunk entity fetching
2011-03-11 16:25:35 -05:00
Tahg
c06f3e0d76
properly implement locks
2011-03-10 21:37:55 -05:00
Tahg
39acc5817e
Additional hooks for chunks
2011-03-10 13:06:59 -05:00
Tahg
df02c501a4
Additional redstone hooks
2011-03-10 13:05:00 -05:00
Tahg
719038fcee
Add non updating type/data sets
2011-03-10 13:05:00 -05:00
Tahg
67cf10656c
Add locks to Hashset
2011-03-10 13:04:59 -05:00
Dinnerbone
f040900d3c
Attempt to fix console crash
2011-03-09 23:34:26 +00:00
Dinnerbone
0df1d1a101
Changed block cache to soft references (should help a lot with memory usage)
2011-03-09 22:12:28 +00:00
Andrew Ardill
b819ffe8a4
Implemented LivingEntity.getEyeLocation()
2011-03-09 19:43:43 +00:00
Dinnerbone
e8e74992cb
Purged deprecated MobType and MobSpawner
2011-03-07 16:32:41 +00:00
Dinnerbone
6a99d8c412
Implemented LivingEntity.damage
2011-03-07 15:59:10 +00:00
Raphfrk
03a5bbc612
Regenerate and refresh chunk methods
2011-03-07 12:34:27 +00:00
Raphfrk
528b9b2e09
Fixed isChunkInUse()
2011-03-07 12:29:37 +00:00
Dinnerbone
44c25340dc
Velocity now sends updates to players
2011-03-05 18:48:58 +00:00
VictorD
5636eea877
Updated CraftServer to lowercase r in registerInterface method..
2011-03-05 12:33:11 +01:00
Dinnerbone
9a64d7ec1b
Implemented Entity.get/setMomentum
2011-03-04 14:23:45 +00:00
Dinnerbone
770bb9e3b5
Removed Block.getRawData
2011-03-04 14:20:38 +00:00
Morgan Humes
9a264ed666
Implements World.save and Server.savePlayers()
2011-03-02 16:51:31 +01:00
Erik Broes
9d9ad6bd1e
Java 1.5 compat.
2011-03-02 15:24:17 +01:00
FrozenCow
9832ce06f1
Synchronized and moved Hash classes
2011-03-01 16:37:19 -05:00
Dinnerbone
3dd60c168b
Fixed chat
2011-03-01 19:04:16 +00:00
Erik Broes
f54469f314
Let's handle (bwhaha) the Craft* entities a bit better.
2011-03-01 17:08:18 +01:00
SpeaKeasY
e6583c0d48
Added method to set spawn location
2011-03-01 10:39:26 +01:00
Dinnerbone
d142fabfc1
Sped up teleporting even more, + fixed isSneaking
2011-02-28 20:30:33 +00:00
Tanel Suurhans
df2c0e2308
implement World.getPlayers
2011-02-28 16:20:44 +00:00
Dinnerbone
38c2103ff4
Spiral teleporting! Wheeeee!
2011-02-28 13:21:50 +00:00
Dinnerbone
ec0dde071d
Implemented Server.getPluginCommand
2011-02-28 00:31:25 +00:00
Dinnerbone
b396707cb9
Catch errors loading plugins
2011-02-27 14:55:29 +00:00
Dinnerbone
d7114a4f62
Fixed empty console! Oops!
2011-02-26 11:51:31 +00:00
Dinnerbone
07b86b1230
Added command line option 'date-format' to control how dates are printed to console (not to log)
2011-02-26 11:29:37 +00:00
Dinnerbone
685d4dbb3f
Added ">" to input command line, separated it from output buffer properly
2011-02-25 19:01:14 +00:00
Dinnerbone
57338bee52
Much better console interaction. History, no more losing the command, colours, inline editing, etc. Shorter log output to console (but not to file).
2011-02-25 16:12:38 +00:00
Dinnerbone
51be9e77c6
Attempt to convert multiworld worlds... world.
2011-02-24 12:07:33 +00:00
Dinnerbone
92cbb2fc23
Fixed CraftItem NPEs
2011-02-23 16:08:28 +00:00
Dinnerbone
bfca34cad4
ConsoleCommandSender no longer has a default constructor, use ConsoleCommandSender(server). Added entity.getServer and updated the version number of mc
2011-02-23 11:33:41 +00:00
Tahg
b8023ac3fa
Fix for isOp
2011-02-23 14:08:42 +08:00
Dinnerbone
f759e0b60d
Update to Minecraft 1.3 beta
2011-02-23 02:37:56 +00:00
Tahg
96435cfc76
refactor Items
2011-02-21 19:57:23 -05:00
Andrew Ardill
30d1a5d3fd
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.
2011-02-21 16:32:41 +11:00
Andrew Ardill
6269c1e633
implementation of isQueued()
2011-02-21 16:32:40 +11:00
VictorD
bf9a55049e
Second part of NPE and arctan update :3
2011-02-20 23:22:28 +01:00
VictorD
cec04a7360
Added null pointer check and switched to a faster arctan method
2011-02-20 23:16:05 +01:00
David Flemström
5121ebb65d
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.
2011-02-20 18:15:21 +01:00
Erik Broes
6e3ee31336
Prevent Blocks from getting lost when a chunk reloads
2011-02-20 17:09:38 +01:00
sk89q
acd0344452
Added Entity.remove() which marks an entity for removal.
2011-02-19 18:02:12 -08:00
Dinnerbone
264b5c331d
Redirect System.out and System.err to a Logger
2011-02-20 01:53:06 +00:00
EvilSeph
bddceeaf51
When deprecating, the alternative should be provided.
2011-02-19 06:02:27 -05:00
Raphfrk
41fe211919
Added target block ray trace functionality.
2011-02-18 20:48:56 -05:00
Protected
e97889e80a
Added setFireTicks(), getFireTicks() and getMaxFireTicks().
2011-02-18 17:35:59 -05:00
Dinnerbone
7fe0aa7460
Implemented a whole buncha Location overrides in CraftWorld
2011-02-18 16:35:05 +00:00
Andrew Ardill
da6ce2d80e
Implementation of spawnCreature(Location, CreatureType)
2011-02-17 17:59:27 +11:00
Andrew Ardill
0703f4f458
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.
2011-02-17 17:57:52 +11:00
sk89q
5f940cf764
Added Player.chat().
2011-02-16 21:47:01 -08:00
Andrew Ardill
dc45946163
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!
2011-02-17 13:27:54 +11:00
Raphfrk
973d61c418
Allows calling of functions in the main thread
2011-02-13 22:12:26 -05:00
Raphfrk
9715e77852
Fixes a deadlock issue in CraftScheduler
2011-02-13 00:55:58 -05:00
Stéphan Kochen
f789c9e744
Replace a net.minecraft accessor with a public attr.
2011-02-12 16:17:43 +01:00
afforess
5aa95ee469
Added MaxSpeed methods to minecarts. Added MaxSpeed methods to boats. Added SlowWhenEmpty, FlyingMod, and DerailedMod methods to minecarts.
2011-02-12 16:14:43 +01:00
Andrew Ardill
c097fd9ac5
Added implementation of Colorable to CraftSheep
...
inspired by xpansive
2011-02-12 12:29:22 +11: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
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
Tahg
03be05790e
added method to force an inventory update
2011-02-08 21:52:06 -05:00
Tahg
61b79e8f98
inventory fixes
2011-02-08 19:47:08 -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
7d1849567a
Implemented WORLD_LOADED
2011-02-08 12:50:36 +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
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
3f8d9c0e1f
Fixed inventory transition
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
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
2c798a9e9b
Fix for multi-stack adds
2011-02-05 00:02:09 -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
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
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
Dinnerbone
657913faeb
Dinner time!
2011-02-01 14:53:39 +00:00
Dinnerbone
743ff05b2e
Added setItemStack(ItemStack stack) to CraftItemDrop
2011-02-01 10:43:16 +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
1c9e7f9aee
toString!
2011-01-30 22:02:23 +00:00
sk89q
639d3e3f94
Added support for different tree generation types and a callback.
2011-01-30 13:54:43 -08:00
Erik Broes
6c60b54fdf
Optimized blockCache, now only stores blocks asked for
2011-01-30 20:19:56 +01:00
Erik Broes
da00e2e3a9
Fixed rogue chmods
2011-01-30 20:18:15 +01:00
Erik Broes
b2a0c5a2ae
Reworked getEntity; Hi instanceof, bay 16 classes
2011-01-30 16:15:24 +01:00
Erik Broes
df69047324
Port to new mc-dev format.
2011-01-30 13:24:39 +01:00
stevenh
d92376e106
Merge branch 'master' of github.com:Bukkit/CraftBukkit
2011-01-29 21:04:16 +00:00
stevenh
4301a76b31
Updated commands to use CommandSender instead of Player
2011-01-29 21:04:02 +00:00
sk89q
61c37bd369
Added Block.isBlockPowered(), block.isBlockIndirectlyPowered().
2011-01-28 10:25:28 -08:00
Dinnerbone
b6b5a1ef77
server.reload() now reloads plugins
2011-01-28 14:18:49 +00:00
Dinnerbone
c2d9af58fe
Implemented player.performCommand(String)
2011-01-28 09:15:32 +00:00