Commit Graph

2176 Commits

Author SHA1 Message Date
chylex e0c4cc765b Add WorldUtil, currently for game rule handling 2015-12-25 03:11:12 +01:00
chylex 84b32813bc Update rotationYaw instantly after an Enderman teleports 2015-12-24 18:46:01 +01:00
chylex 9cc4595d3c Fix MobTeleporter to check for mounts on success 2015-12-24 17:22:28 +01:00
chylex e505bf2445 Add a timer for target vulnerability checking in Endermen 2015-12-24 15:32:55 +01:00
chylex 102f83866d Fix Endermen "teleporting" every fucking tick when entityToAttack is not null 2015-12-24 15:17:40 +01:00
chylex d9995bf98f Fix Endermen not extinguishing when wet 2015-12-24 14:58:28 +01:00
chylex b8a4e1a83f Push minor code tweaks (Vec.pos instead of Vec.xyz, tweak Enderman aggressive flag) 2015-12-24 14:53:37 +01:00
chylex 7d00a4d5af Update Enderman teleportation, add vulnerability check AI, fix aggressivity flag 2015-12-24 13:29:07 +01:00
chylex 5ac08b38c3 Add the Enderman kill Causatum event 2015-12-24 01:41:38 +01:00
chylex 361e96df87 Add PosMutable.moveDown 2015-12-23 21:45:38 +01:00
chylex 46c0214625 Add parameterized Causatum event triggering 2015-12-23 20:05:39 +01:00
chylex f67e70c551 Work on Causatum event handling (rand, hasPlayer, calling onUpdate) 2015-12-22 18:43:52 +01:00
chylex d2c4223256 Fix wrong distance checking in EntityAIResetTarget 2015-12-22 16:36:54 +01:00
chylex 3caab68fbc Tweak Enderman direct look stare duration 2015-12-22 16:23:04 +01:00
chylex b7d41db04a Update target resetting AI for existing mobs 2015-12-22 16:22:44 +01:00
chylex fe75ff2664 Add conditions to target resetting AI 2015-12-22 16:22:25 +01:00
chylex 9e23609f16 Add suspicious entity handling and special direct look AI to Endermen 2015-12-22 15:05:04 +01:00
chylex b4d14a2b90 Update target AI for existing entities 2015-12-22 14:58:30 +01:00
chylex 739d733ea5 Update old target AI to use the new system 2015-12-22 14:58:06 +01:00
chylex 271b00a296 Add custom target AI system 2015-12-22 14:52:39 +01:00
chylex 5b632c4954 Move abstract AI classes to a separate package 2015-12-22 14:12:54 +01:00
chylex 3160a47683 Add new watching AI (closest, suspicious, attacking target) 2015-12-22 13:51:03 +01:00
chylex 40df8abfa0 Add EntityAttributes.hasModifier 2015-12-22 13:50:31 +01:00
chylex 510bbfe870 Add backstabbing mechanic to Endermen 2015-12-22 01:00:46 +01:00
chylex 5dca267182 Finish and test basic teleportation handlers in Endermen 2015-12-21 19:56:43 +01:00
chylex 31608e74b7 Fix teleport packet distance 2015-12-21 19:51:21 +01:00
chylex 6bec12e916 Add Vec.multiplied per axis and entity look utilities 2015-12-21 19:38:26 +01:00
chylex 5baa2b4bb9 Tweak Enderman spawn rates 2015-12-21 13:29:01 +01:00
chylex 13607d2f44 Remove reflection from essence altar handlers 2015-12-19 17:55:41 +01:00
chylex 23d8165fca Work on Enderman teleportation abilities (code tweaks, tp behind entity) 2015-12-19 14:58:49 +01:00
chylex 7b53501ed3 Add random teleportation to Endermen and tweak rotation and despawning 2015-12-17 18:19:28 +01:00
chylex 9550da1efe Work on Enderman teleportation (tweak values, add new FX, random tp delay on entity load) 2015-12-16 18:32:37 +01:00
chylex c4b778d0e9 Add a teleport listener for packet sending 2015-12-16 18:31:13 +01:00
chylex d36cce8603 Add Vec.interpolated for lerping between two vectors 2015-12-16 18:30:44 +01:00
chylex 8d9e4058b8 Add Vec.pos(Entity) 2015-12-16 18:25:23 +01:00
chylex 5844cc1bef Tweak bottom Y search in teleporter 2015-12-16 18:16:20 +01:00
chylex 637019e819 Add a teleport listener to update player position correctly 2015-12-16 18:12:03 +01:00
chylex a685addd38 Add an instant teleport packet to avoid the render lerping effect 2015-12-16 18:04:05 +01:00
chylex a3fed8f92f Add Enderman teleport fail FX and nicer projectile avoiding 2015-12-16 17:29:40 +01:00
chylex 1d87708b2e Fix direct look AI checking and make it better and more reliable than vanilla 2015-12-16 14:27:32 +01:00
chylex 0d43158f38 Tweak Enderman carriable block list (remove plants) 2015-12-16 12:31:47 +01:00
chylex c4e944d00d Work on carriable block list for Endermen 2015-12-16 12:01:21 +01:00
chylex 3d15aab33c Add getBlocks and getItems to GameRegistryUtil 2015-12-16 11:44:43 +01:00
chylex 1984405b38 Add a look timer to EntityAIDirectLookTarget 2015-12-16 01:45:03 +01:00
chylex 3b29e693db Add missing block objects to Knowledge Registrations 2015-12-15 12:40:17 +01:00
chylex cc6b502d1c Make Enderman block stealing conditioned, add chance to drop carried block on tp, tweak despawning 2015-12-15 02:27:53 +01:00
chylex 0e2c358a78 Fix a crash in Enderman carried block handling 2015-12-14 23:45:31 +01:00
chylex a7f636ca8a Fix mobGriefing and chance handling in EntityAIMoveBlocksRandomly 2015-12-14 23:45:01 +01:00
chylex 0f5a0b20bf Fix Endermen despawning after relog, and add random despawn if 100 blocks away 2015-12-14 23:36:27 +01:00
chylex 6621a3aebe Work on Endermen (wandering, rain checking, despawn chance, projectile revenge) 2015-12-14 23:28:58 +01:00