feildmaster
b6d611d9be
Revert obsolete "fix" for Redstone Torches
2012-05-17 00:24:26 -04:00
feildmaster
41b2e89c70
Assert that the block is still present after placement. Fixes BUKKIT-1399
2012-05-17 00:24:10 -04:00
Travis Watkins
4c8f6f2caa
Add option to strip color codes from server.log file
2012-05-16 13:21:23 -05:00
Travis Watkins
e91169ebad
Add ConsoleLogFormatter for diff visibility
2012-05-15 23:29:39 -05:00
EdGruberman
31d488a386
Update to jline 2. Fixes BUKKIT-717
...
JLine 2 allows for better color matching in the console and support for
colors in console on Windows. Hopefully provides better performance as well.
2012-05-15 23:27:51 -05:00
Travis Watkins
cbd20ec9ea
Use a different temp file for each player to avoid corruption. Fixes BUKKIT-1607
2012-05-09 01:40:19 -05:00
Travis Watkins
ef7e14f9ef
Fire events for fireball item usage. Fixes BUKKIT-1566
2012-05-09 01:40:19 -05:00
Travis Watkins
bbc3d31be7
Add ItemFireball from mc-dev for diff visibility
2012-05-09 01:40:19 -05:00
Travis Watkins
53ed0dad48
Don't call event if getOwner is null. Fixes BUKKIT-1545
2012-04-25 22:43:15 -04:00
md_5
3e382034e9
Fix growing large tress near world height. Fixes BUKKIT-1072
2012-04-25 22:30:42 -04:00
Travis Watkins
0153fe1f33
Check if packet is null before checking priority. Fixes BUKKIT-1579
2012-04-25 10:34:53 -05:00
Travis Watkins
40be9c8403
Optimized a little too much. Update goals every tick again to avoid AI oddness.
2012-04-24 23:20:29 -04:00
Travis Watkins
8f1fc96da0
Fixed per-world spawn limits. I have no idea how we missed this.
2012-04-24 22:28:26 -04:00
Travis Watkins
73ae279e8d
Update players when potion effects are moved from them. Fixes BUKKIT-789
2012-04-24 21:58:35 -04:00
Travis Watkins
e98cfbd992
Remove address from throttle hashmap before killing socket. Fixes BUKKIT-659
2012-04-24 21:58:24 -04:00
Travis Watkins
e3363db0a9
Remove "Fetching addPacket..." spam as it isn't useful. Fixes BUKKIT-32
2012-04-24 21:58:12 -04:00
feildmaster
0220c1ff74
Remove legacy Chunk cache. Fixes BUKKIT-1400
2012-04-24 15:06:11 -05:00
feildmaster
119b5d18a5
Load player data before calling PlayerLoginEvent. Fixes BUKKIT-1531 and Fixes BUKKIT-601.
2012-04-23 22:12:19 -05:00
Travis Watkins
edfc8ba92f
Add per-world spawn limits with fallback to server-wide bukkit.yml settings.
...
Fixes BUKKIT-1565
2012-04-23 22:54:43 -04:00
Travis Watkins
b7376e0865
Avoid doing unnecessary range checks when we're looping from start to end.
...
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.
2012-04-23 21:52:08 -04:00
Travis Watkins
e8459c1ff6
Optimize AI and EntityLiving ticking
...
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.
2012-04-21 23:53:10 -04:00
Travis Watkins
343f39b2b3
Add PathfinderGoalSelector for diff visibility
2012-04-21 23:52:38 -04:00
EvilSeph
8f6fe0a643
Rework clipping logic again, now works as well as the original implementation
2012-04-21 00:45:30 -04:00
EvilSeph
3e15a6911f
Added Packet24 for diff visibility.
2012-04-21 00:44:31 -04:00
Wesley Wolfe
e28ae3f2fe
Reworking clipping logic; Fixes BUKKIT-1472
2012-04-15 18:29:02 -05:00
feildmaster
748ebae550
Properly call EntityDeathEvent for mobs. Fixes BUKKIT-1519
2012-04-15 09:16:43 -05:00
feildmaster
6307efd2d1
Set current recipe to null when a recipe isn't found. Fixes BUKKIT-1456
2012-04-15 01:53:18 -05:00
feildmaster
27a9b4c907
Filter entity spawning sanely.
2012-04-15 01:52:51 -05:00
feildmaster
0026a08fa8
Use SpawnReason.DEFAULT instead of SpawnReason.CUSTOM, freeing CUSTOM to plugin spawning.
...
This gets used in case we are missing appropriate SpawnReason's for various Entity spawns.
2012-04-14 01:44:01 -05:00
feildmaster
e17d3ece00
Added SpawnReason.SLIME_SPLIT, Fixes BUKKIT-790
2012-04-14 01:38:22 -05:00
h31ix
7586e7168b
Make the dispenser check if the dispensed item has been changed before removing it. Fixes BUKKIT-316
2012-04-03 21:42:37 -05:00
Wesley Wolfe
6a79e506cf
Implement new address to PlayerLoginEvent; Addresses BUKKIT-431
2012-04-03 21:07:15 -05:00
feildmaster
20dea920c2
Don't spawn conditional mobs if original entity is dead. Fixes BUKKIT-1444
2012-04-03 18:07:46 -05:00
feildmaster
af0018a962
Mark entities as dead when spawning fails. Treat as canceled if entity is dead.
2012-04-03 18:06:51 -05:00
EvilSeph
0c9e1b13a0
Made using RAW_FISH on Ocelots when a player has the ability to instantly build not decrement the stack. Fixes BUKKIT-1439
2012-04-03 14:13:27 -04:00
feildmaster
bad3979b8f
Make EntityCreatePortalEvent block list Unmodifiable.
2012-04-02 16:32:54 -05:00
feildmaster
470d9f9e1d
Tell clients to update if EntityPortalCreateEvent is canceled. Fixes BUKKIT-1426
2012-04-02 16:32:52 -05:00
EvilSeph
81102479a7
Made Slimes spawn less often in FLAT worlds. Fixes BUKKIT-1441
2012-04-02 17:10:17 -04:00
EvilSeph
7594c91c84
Made item use when a player has the ability to instantly build not decrement the stack. Fixes BUKKIT-1439
2012-04-02 15:25:21 -04:00
Travis Watkins
f4558f5d7d
[Bleeding] Hacky entity clipping fix; Fixes BUKKIT-50
...
Special thanks to 'trunkz' on Minecraft Forums for initial
implementation.
2012-04-02 14:17:20 -05:00
feildmaster
a963880bd8
Add BlockRedstoneEvent to Redstone Lamps, Addresses BUKKIT-1431
2012-04-02 14:11:02 -05:00
feildmaster
ed8cf5196e
Add BlockRedstoneLamp for diff visibility.
2012-04-02 14:08:11 -05:00
feildmaster
7c137d8b19
Added a reason for randomly spawning Ocelot babies. Addresses BUKKIT-1391
2012-03-31 21:30:28 -05:00
Dinnerbone (Laptop)
fdab1db7c5
Added missing //CB comment
2012-03-30 23:43:52 +02:00
Dinnerbone (Laptop)
1fa4d8430e
Updated version to 1.2.5-R0.1-SNAPSHOT
2012-03-30 23:33:51 +02:00
EvilSeph
e0c01154b0
Fixed potential issue when converting worlds. Fixes BUKKIT-1307
2012-03-29 08:41:41 -04:00
EvilSeph
cbab48a7bd
Added OldChunkLoader for diff visibility.
2012-03-29 08:01:57 -04:00
feildmaster
57873b8d05
[Bleeding] Added SpawnReason.BREEDING. Fixes BUKKIT-1356
2012-03-27 20:29:22 -04:00
feildmaster
ec123deb74
Adding PathfinderGoalBreed for diff visibility.
2012-03-27 20:29:03 -04:00
Warren Loo
c100e20d60
Reverting the Drop API for now, we need to re-evalute this as it is causing too many issues and blocking releases.
...
This reverts commits:
- d2d03afc8854394aeefb40ea5ebf224c8032b19f
- 6245746e91123dd8ef70e5f15b7cdfc7e36d8e8c
- 41fae5c613e9e69a8f6bdf33b23bb09d7f407433
- c34bdecab42cf4098054a5ea43e1c2958d44ae92
- d7445084ac9a90fa0b66d8b050b8d0d2a062eaf3
- 6a6ed2e6ae2328a8a791bcc6857c44dc6c6a7030
- a783bc4dc95da8e26c673abe48fad96b550aba28
- cb50fd68766df8e07631ba5be85759f8257e8068
- 34dfff2ad5c407c712b2783f02960aac5e8649f2
- f33b513820de987b49a4338e85df80968217a601
- 5fd9fdfde055e6eb6a83db246d009b69377b7c94
- 2795b116f40d06551fbb7b96d1963c0ddbeac384
2012-03-27 20:04:26 -04:00
feildmaster
c16bf07e85
[Bleeding] Allow CraftItem to be backed by non-EntityItems. Fixes BUKKIT-1351
2012-03-26 16:36:31 -04:00
feildmaster
bdccfd29ec
[Bleeding] Stop filtering out 0 damage for Humans. Fixes BUKKIT-1348
2012-03-26 16:32:42 -04:00
feildmaster
9d0ea52021
[Bleeding] Fixed potions throwing double events. Fixes BUKKIT-1332
2012-03-26 16:05:38 -04:00
feildmaster
b45184fdf8
[Bleeding] Fixed dropping invalid Magma Creams. Fixes BUKKIT-1336
2012-03-25 19:52:44 -04:00
feildmaster
f1a235dcba
[Bleeding] Fixed ocelot dropping leather. Fixes BUKKIT-1333
2012-03-25 19:52:14 -04:00
feildmaster
e66159e21d
[Bleeding] Fix snowball drops. Fixes BUKKIT-1314
2012-03-25 19:47:14 -04:00
feildmaster
80db22b643
Refactor code to be more efficient.
2012-03-25 19:46:55 -04:00
feildmaster
c30e339af6
[Bleeding] Fixed item duping in certain occasions. Fixes BUKKIT-1310
2012-03-25 18:57:27 -04:00
feildmaster
0c9b59e071
[Bleeding] Fixed TNT dropping when it shouldn't. Fixes BUKKIT-1304
2012-03-25 18:57:13 -04:00
Travis Watkins
94d718a146
Check abilities instead of mode for allow flight check. Fixes BUKKIT-1302
2012-03-25 18:23:51 -04:00
feildmaster
9c7ffb6d3c
[Bleeding] Fixed blocks dropping when BlockBreakEvent is canceled. Fixes BUKKIT-1299
2012-03-23 14:51:05 -04:00
Nathan Adams
6ef9500410
Fixed fatal crash at world generation.
2012-03-23 14:32:00 +00:00
feildmaster
40e0962735
Seriously fix natural drops. Fixes BUKKIT-1297 and fixes BUKKIT-1295
2012-03-23 07:18:20 -04:00
EvilSeph
cf2abd20e8
Fixed Doors not dropping when the block they are placed on is removed. Fixes BUKKIT-1292
2012-03-23 01:48:24 -04:00
EvilSeph
724b82626a
Reverted to original TextWrapper. Might re-investigate after the RB. Fixes BUKKIT-1275
2012-03-22 19:22:35 -04:00
Nathan Adams
904cf388b4
Re-added TextWrapper, and fixed chat length issues (at cost of it looking not so nice sometimes!) This fixes BUKKIT-1275
2012-03-22 23:03:02 +00:00
EvilSeph
ddaf3c84d3
Fixed Connection Throttle handling. Fixes BUKKIT-1279
2012-03-22 18:57:02 -04:00
EvilSeph
ca8b9a0bb4
Removed temporary hackish fix for the entity interactivity issues, fixed properly in MC1.2.4.
2012-03-22 17:40:07 -04:00
EvilSeph
ccbb4b479a
Made Snowmen use a DamageCause MELTING for melting in hot biomes. Addresses BUKKIT-1244
2012-03-22 17:33:33 -04:00
EvilSeph
f6bcaa6b0a
Fixed minecarts being dropped when crashing a boat. Fixes BUKKIT-1273
2012-03-22 16:58:13 -04:00
EvilSeph
c2cdeac09b
Added configurable Connection Throttle. Addresses BUKKIT-1274
2012-03-22 16:56:15 -04:00
Nathan Adams
dda37aa18c
Nuked TextWrapper. We don't need you anymore, old friend :(
2012-03-22 20:49:05 +00:00
Nathan Adams
9d09e7d016
Updated to Minecraft version 1.2.4. Updated version string to 1.2.4-R0.1.
2012-03-22 20:39:39 +00:00
md_5
8dc7417a3d
[Bleeding] Fixed bug involving pistons and powered rails. This fixes BUKKIT-517
2012-03-22 03:09:52 -04:00
md_5
8ad27aa01d
Added BlockMinecartTrack and MinecartTrackLogic for diff visibility.
2012-03-22 03:09:33 -04:00
EvilSeph
8d35caf070
Kick for invalid carried item.
2012-03-22 02:55:50 -04:00
Mike Primm
f188afe794
[Bleeding] Prevent update inconsistencies on generation/decoration that span chunks. Fixes BUKKIT-871
2012-03-22 02:36:38 -04:00
Mike Primm
09a73d352c
[Bleeding] Make sure biome data is initialized during generate - prevent uninitialized data being sent to client. Fixes BUKKIT-871
2012-03-22 02:34:54 -04:00
Mike Primm
6cd2a70803
Added for diff visibility:
...
- ChunkProviderGenerate
- ChunkProviderFlat
- ChunkProviderHell
- ChunkProviderTheEnd
2012-03-22 02:34:41 -04:00
zml2008
8aee4c3f56
[Bleeding] Added support for all TreeType entries to CraftWorld.generateTree(). Addresses BUKKIT-1161
2012-03-21 20:32:17 -04:00
zml2008
27acb4c41e
Added WorldGenSwampTree for diff visibility
2012-03-21 20:32:05 -04:00
aPunch
169c2ee8cb
[Bleeding] Added Ageable interface for Villagers and Animals to extend. Addresses BUKKIT-1232
2012-03-21 16:05:07 -04:00
zerg960
96c4bb7da6
[Bleeding] Account for new rare drops in EntityDeath events. Fixes BUKKIT-1105
2012-03-21 13:24:59 -04:00
Celtic Minstrel
1c95413f49
[Bleeding] Fix for creeper getDrops() not reporting the music disk if it was killed by a skeleton. Addresses BUKKIT-1133
2012-03-21 13:11:47 -04:00
Celtic Minstrel
5ba8928041
[Bleeding] Added getting and setting drops to all appropriate events. Fixes BUKKIT-397 and fixes BUKKIT-1252
...
- Allows drops in creative mode by adding items to the getDrops() list
- Contents of containers are not reported
- Contents of storage minecarts are not reported
2012-03-21 12:42:51 -04:00
Celtic Minstrel
8d62de7055
Added for diff visibility:
...
- BlockBed
- BlockDeadBush
- BlockLongGrass
- BlockVine
2012-03-20 22:17:47 -04:00
Celtic Minstrel
43001ca2a8
[Bleeding] Only fire CraftItemEvent if there's actually an item there to craft (ie, don't fire it for a click on an empty result slot). Fixes BUKKIT-1250
2012-03-20 21:18:14 -04:00
Celtic Minstrel
b9a71db046
[Bleeding] Make crafting and enchanting inventories keep track of their owner rather than returning null. Addresses BUKKIT-1209
2012-03-20 20:30:54 -04:00
md_5
7966531113
[Bleeding] Completely fix the tree generation algorithm to make it near identical to vanilla as well as fix potential bugs associated with disappearing saplings.
2012-03-20 06:38:03 -04:00
Wesley Wolfe
68b98d4c8f
[Bleeding] Implement ExpBottleEvent; Addresses BUKKIT-888
2012-03-20 03:24:57 -04:00
Wesley Wolfe
9055a20d71
Added EntityThrownExpBottle for diff visibility.
2012-03-20 03:24:08 -04:00
EvilSeph
fc697a4f44
Fixed translation issue in EntityMinecart. Addresses BUKKIT-980
2012-03-16 02:38:57 -04:00
Celtic Minstrel
db5f804482
[Bleeding] Check top inventory type when determining whether a click event is a craft event. Fixes BUKKIT-1112
...
- Credit to Taufiq Hoven for locating the root cause of the issue.
2012-03-15 23:24:54 -04:00
Celtic Minstrel
f7da5d2ad7
[Bleeding] Disabled data filtering for mob spawners. Addresses BUKKIT-329
2012-03-15 23:24:34 -04:00
Celtic Minstrel
5c8fd4995f
[Bleeding] Implemented Inventory.{get,set}MaxStackSize(). Addresses BUKKIT-1076
...
- Custom inventories also respect this setting now.
2012-03-15 22:44:10 -04:00
Celtic Minstrel
76cc488402
[Bleeding] DoubleChestInventory.getHolder() no longer returns null. Addresses BUKKIT-995
2012-03-15 22:13:46 -04:00
EvilSeph
42822ddca4
Re-added EntityCombust event to skeletons. Fixes BUKKIT-1188
2012-03-15 18:48:44 -04:00
Celtic Minstrel
92f771a022
[Bleeding] Implemented ProjectileLaunchEvent. Addresses BUKKIT-284
2012-03-15 07:18:59 -04:00
feildmaster
b4c9ad518a
[Bleeding] Call DamageEvent before CombustEvent for Arrows. Fixes BUKKIT-1100
2012-03-15 06:05:49 -04:00
feildmaster
4503167283
Fixed EntityDamageByEntityEvent to call for every attackable entity. Fixes BUKKIT-1129, Fixes BUKKIT-1054 and Fixes BUKKIT-147.
2012-03-15 05:11:48 -04:00