summaryrefslogtreecommitdiffstats
path: root/src/main/java/net
Commit message (Collapse)AuthorAgeLines
* Add per-world spawn limits with fallback to server-wide bukkit.yml settings.Travis Watkins2012-04-23-1/+17
| | | | Fixes BUKKIT-1565
* Avoid doing unnecessary range checks when we're looping from start to end.Travis Watkins2012-04-23-44/+53
| | | | | | | | | | | | | | | | | | Make EntityLiving call AI logic every tick again. Rework PathfinderGoalSelector logic. Adds UnsafeList for use in places where we use ArrayList and know we won't get index out of range errors. Added usage to World's tickEntities, Chunk's entitySlices to speed up searching for entities, and to PathfinderGoalSelector to speed up dealing with AI goals. Reworked logic in PathfinderGoalSelector with help from fullwall. This code no longer uses an extra ArrayList for setting up goals and only updates which goals should be run every other time it is called. Removed only calling PathfinderGoalSelector every other tick from EntityLiving as we now only setup new goals every other tick. This ensures existing goals run every tick to properly update mob movement.
* Optimize AI and EntityLiving tickingTravis Watkins2012-04-21-30/+47
| | | | | | | | Reduce usage of getCubes as it is an expensive call. Remove iterator usage and object creation from PathfinderGoalSelector methods as these are called very often. Update EntityLiving goal selectors less often as this is still quite an expensive task.
* Add PathfinderGoalSelector for diff visibilityTravis Watkins2012-04-21-0/+91
|
* Rework clipping logic again, now works as well as the original implementationEvilSeph2012-04-21-30/+84
|
* Added Packet24 for diff visibility.EvilSeph2012-04-21-0/+67
|
* Reworking clipping logic; Fixes BUKKIT-1472Wesley Wolfe2012-04-15-85/+27
|
* Properly call EntityDeathEvent for mobs. Fixes BUKKIT-1519feildmaster2012-04-15-3/+14
|
* Set current recipe to null when a recipe isn't found. Fixes BUKKIT-1456feildmaster2012-04-15-1/+1
|
* Filter entity spawning sanely.feildmaster2012-04-15-1/+1
|
* Use SpawnReason.DEFAULT instead of SpawnReason.CUSTOM, freeing CUSTOM to ↵feildmaster2012-04-14-1/+1
| | | | | | plugin spawning. This gets used in case we are missing appropriate SpawnReason's for various Entity spawns.
* Added SpawnReason.SLIME_SPLIT, Fixes BUKKIT-790feildmaster2012-04-14-1/+1
|
* Make the dispenser check if the dispensed item has been changed before ↵h31ix2012-04-03-2/+4
| | | | removing it. Fixes BUKKIT-316
* Implement new address to PlayerLoginEvent; Addresses BUKKIT-431Wesley Wolfe2012-04-03-2/+2
|
* Don't spawn conditional mobs if original entity is dead. Fixes BUKKIT-1444feildmaster2012-04-03-0/+1
|
* Mark entities as dead when spawning fails. Treat as canceled if entity is dead.feildmaster2012-04-03-15/+14
|
* Made using RAW_FISH on Ocelots when a player has the ability to instantly ↵EvilSeph2012-04-03-1/+1
| | | | build not decrement the stack. Fixes BUKKIT-1439
* Make EntityCreatePortalEvent block list Unmodifiable.feildmaster2012-04-02-2/+2
|
* Tell clients to update if EntityPortalCreateEvent is canceled. Fixes BUKKIT-1426feildmaster2012-04-02-0/+10
|
* Made Slimes spawn less often in FLAT worlds. Fixes BUKKIT-1441EvilSeph2012-04-02-0/+3
|
* Made item use when a player has the ability to instantly build not decrement ↵EvilSeph2012-04-02-2/+3
| | | | the stack. Fixes BUKKIT-1439
* [Bleeding] Hacky entity clipping fix; Fixes BUKKIT-50Travis Watkins2012-04-02-4/+89
| | | | | Special thanks to 'trunkz' on Minecraft Forums for initial implementation.
* Add BlockRedstoneEvent to Redstone Lamps, Addresses BUKKIT-1431feildmaster2012-04-02-0/+20
|
* Add BlockRedstoneLamp for diff visibility.feildmaster2012-04-02-0/+47
|
* Added a reason for randomly spawning Ocelot babies. Addresses BUKKIT-1391feildmaster2012-03-31-1/+1
|
* Added missing //CB commentDinnerbone (Laptop)2012-03-30-1/+1
|
* Updated version to 1.2.5-R0.1-SNAPSHOTDinnerbone (Laptop)2012-03-30-163/+97
|
* Fixed potential issue when converting worlds. Fixes BUKKIT-1307EvilSeph2012-03-29-1/+9
|
* Added OldChunkLoader for diff visibility.EvilSeph2012-03-29-0/+116
|
* [Bleeding] Added SpawnReason.BREEDING. Fixes BUKKIT-1356feildmaster2012-03-27-1/+1
|
* Adding PathfinderGoalBreed for diff visibility.feildmaster2012-03-27-0/+91
|
* Reverting the Drop API for now, we need to re-evalute this as it is causing ↵Warren Loo2012-03-27-851/+63
| | | | | | | | | | | | | | | | | | too many issues and blocking releases. This reverts commits: - d2d03afc8854394aeefb40ea5ebf224c8032b19f - 6245746e91123dd8ef70e5f15b7cdfc7e36d8e8c - 41fae5c613e9e69a8f6bdf33b23bb09d7f407433 - c34bdecab42cf4098054a5ea43e1c2958d44ae92 - d7445084ac9a90fa0b66d8b050b8d0d2a062eaf3 - 6a6ed2e6ae2328a8a791bcc6857c44dc6c6a7030 - a783bc4dc95da8e26c673abe48fad96b550aba28 - cb50fd68766df8e07631ba5be85759f8257e8068 - 34dfff2ad5c407c712b2783f02960aac5e8649f2 - f33b513820de987b49a4338e85df80968217a601 - 5fd9fdfde055e6eb6a83db246d009b69377b7c94 - 2795b116f40d06551fbb7b96d1963c0ddbeac384
* [Bleeding] Allow CraftItem to be backed by non-EntityItems. Fixes BUKKIT-1351feildmaster2012-03-26-5/+4
|
* [Bleeding] Stop filtering out 0 damage for Humans. Fixes BUKKIT-1348feildmaster2012-03-26-4/+4
|
* [Bleeding] Fixed potions throwing double events. Fixes BUKKIT-1332feildmaster2012-03-26-13/+3
|
* [Bleeding] Fixed dropping invalid Magma Creams. Fixes BUKKIT-1336feildmaster2012-03-25-1/+3
|
* [Bleeding] Fixed ocelot dropping leather. Fixes BUKKIT-1333feildmaster2012-03-25-1/+1
|
* [Bleeding] Fix snowball drops. Fixes BUKKIT-1314feildmaster2012-03-25-1/+1
|
* Refactor code to be more efficient.feildmaster2012-03-25-20/+16
|
* [Bleeding] Fixed item duping in certain occasions. Fixes BUKKIT-1310feildmaster2012-03-25-7/+3
|
* [Bleeding] Fixed TNT dropping when it shouldn't. Fixes BUKKIT-1304feildmaster2012-03-25-4/+5
|
* Check abilities instead of mode for allow flight check. Fixes BUKKIT-1302Travis Watkins2012-03-25-1/+1
|
* [Bleeding] Fixed blocks dropping when BlockBreakEvent is canceled. Fixes ↵feildmaster2012-03-23-1/+1
| | | | BUKKIT-1299
* Fixed fatal crash at world generation.Nathan Adams2012-03-23-1/+1
|
* Seriously fix natural drops. Fixes BUKKIT-1297 and fixes BUKKIT-1295feildmaster2012-03-23-31/+25
|
* Fixed Doors not dropping when the block they are placed on is removed. Fixes ↵EvilSeph2012-03-23-3/+1
| | | | BUKKIT-1292
* Reverted to original TextWrapper. Might re-investigate after the RB. Fixes ↵EvilSeph2012-03-22-6/+1
| | | | BUKKIT-1275
* Re-added TextWrapper, and fixed chat length issues (at cost of it looking ↵Nathan Adams2012-03-22-1/+7
| | | | not so nice sometimes!) This fixes BUKKIT-1275
* Fixed Connection Throttle handling. Fixes BUKKIT-1279EvilSeph2012-03-22-1/+7
|
* Removed temporary hackish fix for the entity interactivity issues, fixed ↵EvilSeph2012-03-22-170/+1
| | | | properly in MC1.2.4.