Commit Graph
48 Commits
Author SHA1 Message Date
feildmaster 0220c1ff74 Remove legacy Chunk cache. Fixes BUKKIT-1400 2012-04-24 15:06:11 -05: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
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
Mike Primm f188afe794 [Bleeding] Prevent update inconsistencies on generation/decoration that span chunks. Fixes BUKKIT-871 2012-03-22 02:36:38 -04:00
Nathan Adams 36406afa6b Re-re-fixed block transmutation 2012-03-10 03:18:04 +00:00
Nathan Adams cf9d00a71a Re-fixed block transmutation 2012-03-10 03:12:39 +00:00
Tahg 2d5263bfe5 recover from converter issue FIXES BUKKIT-890 2012-03-02 20:59:24 -05:00
Nathan Adams 974ff6cb8a ... Comments! 2012-03-02 20:13:53 +00:00
Nathan Adams 61fb069c61 Fixed fatal crashes when there's a block at maxheight at spawn - this fixes BUKKIT-922. 2012-03-02 20:12:53 +00:00
Nathan Adams a42e710bbc Updated from 1.2.2 to 1.2.3. This fixes BUKKIT-943 2012-03-02 19:31:06 +00:00
Nathan Adams 543c4879fe Updated CraftBukkit to 1.2 2012-03-01 14:38:31 +00:00
Erik Broes 33ba9f0a2f Updated to rename revision 02 2012-03-01 01:12:41 +00:00
EvilSeph 64264f61b8 Revert "Remove tile entities when a block is removed."
This reverts commit 1d4347fbaf3c891580a9ee40a8e9632c992f8b08.
2012-02-14 02:37:47 -05:00
Tahg 1bb011a543 Fixed other types of 'block transmuters'. 2012-02-03 00:51:59 -05:00
Tahg 8bf770c5f9 Added debug to help with diagnosing tile entity issues in the future. 2012-02-03 00:50:35 -05:00
Tahg 2dba592dc4 Remove tile entities when a block is removed. 2012-02-03 00:45:58 -05:00
Erik Broes 16d3b705c5 Fix 'Block Transmute'. Bug where you could change the data of a block 'on demand'. 2012-01-27 19:29:33 +01:00
Erik Broes 61ec751ca1 Update for 1.1_01 renames.
We know these updates (can) break plugins bypassing Bukkit. They are needed for
smooth updates however. There will be another one right before before 1.1-R1.
2012-01-15 10:52:37 +01:00
Erik Broes 7219d4dd85 Updated to Minecraft 1.1 2012-01-12 23:10:13 +01:00
Nathan Adams 8fbe78a2c3 Updated to use mc-dev rename revision 1 2011-11-30 21:46:19 +00:00
Nathan Adams 620f101487 Another attempt at the vanilla tile entity bug 2011-11-25 00:15:00 +00:00
Nathan Adams 774e59e179 Fixed vanillas tile-entity placement bug (thanks Moo0) 2011-11-22 21:14:42 +00:00
Erik Broes 345ea36c7b Update for 1.0.0 2011-11-20 00:01:33 -08:00
Tahg 696349884b don't store weak references for EmptyChunks or cache CraftBlocks 2011-10-05 11:36:03 -04:00
Dinnerbone bf09121354 Attempt to fix any damage caused by misplaced tile entities 2011-10-03 00:14:06 +01:00
Dinnerbone f5957c1831 Invalid position errors for chunks now display what world they're for 2011-09-17 14:53:14 +01:00
Dinnerbone ca57a1a1af 1.8 rename fixes 2011-09-15 04:44:32 +01:00
Dinnerbone 5b2c774edc Update for Minecraft 1.8 2011-09-15 01:23:52 +01:00
Dinnerbone 47453c6055 Extremely experimental fix to the tile-entity wipe, thanks to Wug 2011-08-08 18:30:57 +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
Erik Broes 96b1b8a10c Generic cleanup 2011-06-12 00:30:52 +02:00
Erik Broes 86de98da9c Squelch stacktrace for 'not so important'-'error' 2011-06-05 12:13:38 +02:00
Erik Broes 6dbd710bbf Update for 1.6.5 2011-05-30 22:37:34 -04:00
Dinnerbone 6903f20242 Implemented 1.6! 2011-05-26 13:48:22 +01:00
Erik Broes 309846d732 Whitespace + general cleanup 2011-05-15 13:41:46 +02:00
Erik Broes a6c8a36dce Update for 1.5_02. 2011-04-21 04:25:46 -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
Dinnerbone 87c36febeb Updated to Minecraft version 1.4 2011-03-31 21:40:00 +01:00
Erik Broes ca1c9ef2e1 Minor cleanups 2011-03-23 16:51:44 +01:00
Dinnerbone 016e50e6fc Hacky fix against block invulnerability 2011-02-28 15:59:23 +00:00
Erik Broes 09aa37fe4a Generic code cleanup 2011-02-23 14:12:33 +01:00
Dinnerbone f759e0b60d Update to Minecraft 1.3 beta 2011-02-23 02:37:56 +00:00
VictorD bf9a55049e Second part of NPE and arctan update :3 2011-02-20 23:22:28 +01:00
Erik Broes 6e3ee31336 Prevent Blocks from getting lost when a chunk reloads 2011-02-20 17:09:38 +01:00
Erik Broes 421d1c1c1f Fixing missing mandatory comments. 2011-02-07 09:49:42 +01:00
Tahg 3629580868 Chunk fetching improvements 2011-02-07 01:33:57 -05:00
Erik Broes 1dac92a766 Update chunk handling. 2011-02-02 00:29:37 +01:00