Commit Graph

2095 Commits

Author SHA1 Message Date
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
chylex cc8a6f653a Add range check method to FX proxy and use it for Enderman despawning 2015-12-14 23:28:29 +01:00
chylex 6cf57d1bf9 Add a wander AI that does not depend on entityFuckingAge and has customizable chance 2015-12-14 23:27:24 +01:00
chylex d31ebb5bbc Add Enderman despawn FX 2015-12-14 21:17:47 +01:00
chylex 0097aec122 Work on FX (code tweaks and formatting fixes, fly off behavior) 2015-12-14 21:17:25 +01:00
chylex 7a9aa3cbd8 Work on Endermen (despawning, spawning rules, tp, attack response, water behavior) 2015-12-14 19:02:15 +01:00
chylex 0cb20f366e Remove stuff from old KnowledgeRegistrations file 2015-12-14 16:33:13 +01:00
chylex d5109a9e8e Add all Knowledge Objects for first part of the mod (and display IS constructor to ObjectItem) 2015-12-14 16:11:42 +01:00
chylex d08e5bcd90 Fix Knowledge Object distance recursion level and set the limit to 2 2015-12-14 14:00:09 +01:00
chylex cf432bced6 Fix Compendium rendering (line edges, wrong distance calculations, overflowing offset values) 2015-12-14 13:29:07 +01:00
chylex d87504fb48 Fix GUI line rendering 2015-12-13 23:38:59 +01:00
chylex d061f2b276 Work on Knowledge Objects and their positioning 2015-12-13 23:31:24 +01:00
chylex cbef693370 Fix Compendium scrolling and interacting with invisible Objects 2015-12-13 23:28:43 +01:00
chylex fb672b1909 Allow multiple Knowledge Object parents 2015-12-13 22:40:21 +01:00
chylex 0923b5a78f Remove no longer relevant TODOs 2015-12-13 21:56:45 +01:00
chylex 51a68fba1f Add a consecutive damage target AI for conditioned re-aggro 2015-12-13 17:26:33 +01:00
chylex 23cebab4c1 Fix Void Portal teleportation causing the entity to get stuck 2015-12-13 00:50:59 +01:00
chylex 4bdf5add07 Add debug Territories 2015-12-13 00:50:37 +01:00
chylex b3ed78532c Fix and tweak stuff (Territory locator, Void Portal gen, WorldFile NBT, Portal entity check) 2015-12-13 00:45:16 +01:00
chylex 6491d14148 Fix Void Portal & Territory bugs (canGenerate, spawn point pos, tooltip check, active token render crash) 2015-12-12 23:40:21 +01:00
chylex 862c75f7e0 Finish return Void Portal and territory index saving 2015-12-12 22:57:42 +01:00
chylex a577983f09 Lay groundwork for Territory spawn point finding, tp, and return portal gen 2015-12-12 18:50:53 +01:00
chylex 07bce7dac9 Add Token data handling (Void Portal color, EndTerritory.canGenerate) 2015-12-12 15:11:21 +01:00
chylex 68a7ab13c3 Finish Void Portal rendering and disable right-clicking on non-storage Void Portal Frames 2015-12-12 14:00:18 +01:00
chylex 1cd15b1155 Add Void Portal GUI tooltips and Token activation, remove Hub Token from creative menu 2015-12-12 13:33:30 +01:00
chylex afed126d13 Fix PortalFile crashing on save if there the Stronghold portal position is null 2015-12-12 12:04:05 +01:00
chylex cb00ed00da Remove ContainerHelper.copySlotInfo as it is no longer needed 2015-12-12 12:03:43 +01:00
chylex f3ac5ea0b8 Work on Void Portal GUI (texture, slots, texts, container code) 2015-12-12 12:03:21 +01:00
chylex 6d821e88f1 Change integer colors to RGB bitshift for clarity 2015-12-12 12:02:04 +01:00
chylex b38fb4723b Rewrite container transferStackInSlot and remove some magic numbers in slots 2015-12-10 19:41:18 +01:00
chylex f46663841c Work on Void Portal inventory and container handling 2015-12-10 19:09:06 +01:00
chylex be3fe43a9d Add slot utils and stack transfer methods to ContainerHelper 2015-12-10 19:07:07 +01:00
chylex 6395ff5a6a Remove the Void Portal Frame TE, as it is not needed 2015-12-10 14:08:39 +01:00
chylex 962f865692 Rename StrongholdPortalFile to PortalFile and add Token inventory to it 2015-12-10 13:47:47 +01:00
chylex 40ecd6cb2a Work on Void Portal Frame textures and worldgen 2015-12-09 21:12:14 +01:00
chylex 3858d7d5f7 Work on fixing warnings and updating deprecated code 2015-12-09 17:24:55 +01:00
chylex 3c1509f926 Work on updating deprecated code 2015-12-09 12:48:06 +01:00
chylex 0715243e6e Add a basic MobTeleporter to Endermen 2015-12-08 19:10:46 +01:00
chylex c31fdb2789 Update Endermage code to use MobTeleporter (WIP) 2015-12-08 19:04:40 +01:00
chylex 920c0d204c Update Louse code to use MobTeleporter 2015-12-08 18:04:28 +01:00
chylex 330321deba Fix distance handling in teleportation classes 2015-12-08 17:26:38 +01:00
chylex d724b65fa5 Add utility classes and interfaces for mob teleportation 2015-12-08 15:31:26 +01:00
chylex b185589a9e Add a WIP Void Portal technical entity 2015-12-07 15:27:26 +01:00
chylex 4eea9cdfd4 Add territory index tracking to Portal Tokens 2015-12-07 15:07:23 +01:00
chylex aa64572f3e Work on Void Portal rendering and generation 2015-12-07 00:53:11 +01:00
chylex 99668ca2ee Work on portal rendering (add overridable pos translation, fix Void Portal bounding box) 2015-12-07 00:26:22 +01:00
chylex 4536b77f74 Add Dark Loam Slab recipe and fix its item handling 2015-12-07 00:03:30 +01:00
chylex b704d96cba Fix Void Portal item rendering and make portals last in creative tab 2015-12-06 19:14:40 +01:00
chylex e7ac635b61 Add classes for Void Portal and Void Portal Frame 2015-12-06 18:27:27 +01:00
chylex 973b7437ad Add a name to End Portal 2015-12-06 14:36:57 +01:00
chylex 46060055da Make Void Portal structure generate 2015-12-06 14:18:19 +01:00
chylex d492b45326 Tweak sky rendering in The Hub 2015-12-06 14:17:59 +01:00
chylex e9c5417a15 Add support for changing sky textures per-territory 2015-12-06 14:13:57 +01:00
chylex 6007c6a849 Add basic Void Portal structure worldgen 2015-12-06 14:13:04 +01:00
chylex ff005dc843 Add a Dark Loam Slab 2015-12-06 14:08:31 +01:00
chylex 6eed1b2bad Add a WIP plant generator 2015-12-06 12:38:14 +01:00
chylex 5b872994ca Add Ravish Bell to Blobs in The Hub 2015-12-06 12:37:57 +01:00
chylex 824fa8828d Tweak Ravish Bell textures 2015-12-06 12:37:38 +01:00
chylex 6f7992dc4a Fix a long time Loot Chest lid animation bug 2015-12-03 18:23:08 +01:00
chylex 60c846c77d Rework Ravish Bell rendering for extra variety 2015-12-03 18:18:57 +01:00
chylex 2627fccb8a Tweak token holder worldgen in The Hub 2015-12-03 16:09:01 +01:00
chylex c2ff32c596 Add Ravish Bell plant 2015-12-03 16:08:46 +01:00
chylex e72cfcb165 Add Portal Token handling to Token Holders 2015-12-03 15:21:15 +01:00
chylex c57101cfc6 Fix a major oversight in Vec.between 2015-12-03 15:18:17 +01:00
chylex df1b145f94 Add Portal Token item 2015-12-03 15:06:38 +01:00
chylex 293f6ab79e Add more debugging to territories (manual seed, entity deletion) 2015-12-02 00:24:47 +01:00
chylex 865c780fee GG mojang, float values in data watcher at pos 31 break EVERYTHING fucking really 2015-12-02 00:11:17 +01:00
chylex 6c178e277e Revert some stuff in Token Holder 2015-12-01 23:35:35 +01:00
chylex 530623f139 Work on Hub and Token Holder worldgen 2015-12-01 23:32:02 +01:00
chylex dde10dbe69 Add a new brick block for The Hub, and rename Dark Loam texture 2015-12-01 23:31:15 +01:00
chylex 2359af9f26 Add some experimental textures 2015-12-01 17:51:22 +01:00
chylex 0c7d23fad6 Add ITerritoryFeature for small worldgen features in territories 2015-12-01 17:12:56 +01:00
chylex 7234c31ca2 Add Dark Loam block 2015-12-01 16:57:45 +01:00
chylex eb3ea0c849 Fix some Token Holder shit or whatever 2015-12-01 15:17:14 +01:00
chylex d513bb5dec Add a /heeadmin tp-overworld command 2015-12-01 12:49:41 +01:00
chylex e02e433ab7 Tweak noisegen in The Hub to make smoother sides 2015-12-01 12:49:23 +01:00
chylex a7a5af417d Fix player respawning and void damaging them outside of End 2015-12-01 11:59:59 +01:00
chylex e57de11195 Add EnvironmentEvents for void damage and tweak Y handling 2015-12-01 11:44:50 +01:00
chylex 844a4a4136 Add a damage modifier to deal damage in creative mode 2015-12-01 11:20:34 +01:00
chylex 99dd0a7e0f Rework event handler registering 2015-12-01 00:47:31 +01:00
chylex 120b9f228d Cleanup overrides in End world provider 2015-12-01 00:11:30 +01:00
chylex d6acd4f523 Add void particles everywhere and connect custom void to Y values too 2015-12-01 00:10:31 +01:00
chylex e6a9c84782 Change the fog density near vertical void 2015-11-30 22:30:43 +01:00
chylex b89a5a3286 Figure out vertical void calculations and sky alpha multiplier 2015-11-30 22:16:15 +01:00
chylex ddd3ec687e Implement retrieving center of closest territory and more debugging stuff 2015-11-30 21:30:33 +01:00
chylex 104588e6f7 Make sure End Powder Ore does not spawn below the End Portal 2015-11-30 19:15:23 +01:00
chylex bd5a95321c Allow destroying Token Holders when sneaking in creative, and possibly fix instant restoration 2015-11-30 15:07:07 +01:00
chylex 7a09afa8c1 Add End Portal Frame to creative menu and change its tooltip 2015-11-30 14:57:04 +01:00
chylex ff4e5e3ea1 Fix creative tabs crashing server on startup 2015-11-30 14:56:37 +01:00
chylex 914cd6051b Work on End Portal visuals and worldgen 2015-11-30 13:49:57 +01:00
chylex 7d9596bc6c Fix some more Token Holder BS 2015-11-30 13:49:14 +01:00
chylex 3f42ba4144 Push work on Token Holders with some entity loading horseshit 2015-11-30 12:40:07 +01:00
chylex cada7e87af I should be paying more attention 2015-11-30 10:41:44 +01:00
chylex 2f24c4ed15 Figure out retrieving territory from position 2015-11-30 00:37:44 +01:00
chylex e561bf0681 Add simple Blob generator to The Hub 2015-11-29 20:36:23 +01:00
chylex 2449c1bf09 Work on environment rendering settings 2015-11-29 20:36:11 +01:00
chylex 2eee5ffef8 Remove classes that are no longer needed 2015-11-28 19:51:34 +01:00
chylex f81254d52e Add an empty weather renderer to End to be used in the future 2015-11-28 19:31:00 +01:00
chylex 1c2ead237e Update API to use MORE LAMBDAS 2015-11-28 16:04:55 +01:00
chylex 3a79adebda Address a couple FindBugs complaints 2015-11-28 15:52:48 +01:00
chylex b4eb975402 Comment all Sanctuary classes temporarily 2015-11-28 15:26:42 +01:00
chylex 470bdd9c64 Work on rewriting deprecated code 2015-11-28 09:32:50 +01:00
chylex b10423fb6c Add basic End territory environment rendering overrides 2015-11-27 15:22:02 +01:00
chylex f3783544f0 Add code for experimenting with End environment rendering 2015-11-27 01:28:53 +01:00
chylex a2a413292e Add a check to make sure Blob meteors are always inside the world 2015-11-26 03:13:57 +01:00
chylex 10d81b6321 Fix a major derp in EndTerritory debug world clearing 2015-11-26 02:00:58 +01:00
chylex 4a99487942 Make BlobPattern methods return itself for convenience 2015-11-26 01:43:45 +01:00
chylex 8f64b9daca Finish main Blob generator code 2015-11-26 01:25:07 +01:00
chylex 8dc4c5b51a Add IWorldPositionPredicate that is slightly more robust over IWorldInsertPredicate 2015-11-26 01:02:33 +01:00
chylex 53ebb9e52b Update ore generator to extend GenerateFeature 2015-11-26 00:36:25 +01:00
chylex 95cc92e12d Add an abstract GenerateFeature class for recurring worldgen features 2015-11-26 00:36:03 +01:00
chylex c53a6a1fac Rework RangeGenerator into an interface 2015-11-25 23:36:59 +01:00
chylex 353e40e741 Make Ore generator Y handling a RangeGenerator 2015-11-25 23:24:30 +01:00
chylex 18094dca57 Add predicate based StructureWorldPart insertion 2015-11-25 22:12:22 +01:00
chylex 2af647f5ce Add a liquid pool Blob Populator, and add more settings to stream one 2015-11-25 18:20:01 +01:00
chylex 2b6851b992 Update code to use Pos methods in StructureWorld 2015-11-25 18:06:01 +01:00
chylex 4e1b7fc590 Add one more method to StructureWorld (isAir) 2015-11-25 18:00:19 +01:00
chylex 371fced8cd Add utility Pos methods to StructureWorld,, and make some methods final 2015-11-25 17:56:34 +01:00
chylex 1d026d2c61 Remove old worldgen feature classes 2015-11-25 01:59:58 +01:00
chylex e5129ed9a8 Add WIP water and despawn Enderman handling 2015-11-24 19:55:00 +01:00
chylex a2f0a7e891 Delete old Blob class files 2015-11-24 03:47:38 +01:00
chylex a540a56e15 Add meteor Blob Populator 2015-11-24 02:47:08 +01:00
chylex 9a35072049 Work on Blobs (chain and from center generators, two-pass smoothing) 2015-11-23 21:19:40 +01:00
chylex 4c059d19ca Work on Blob Generators (attaching gen, util methods) 2015-11-23 17:34:15 +01:00
chylex b69162fa21 Work on Blobs (caves, debug, refactoring) 2015-11-23 05:28:23 +01:00
chylex 8f7257faff Add Vec.copy method 2015-11-23 01:29:31 +01:00
chylex 9ff85d3c67 Refactor Vec and add new methods to it 2015-11-22 23:59:25 +01:00
chylex 12eea5336e Fix Y in ore generator, fix Fill Blob populator not working, and tweak formatting 2015-11-22 20:19:29 +01:00
chylex b668a4141d Fix Liquid Stream Blob populator 2015-11-22 18:45:03 +01:00
chylex e2053d8bd6 Work on Blobs (populator weight and sorting, smoothing pass fix) 2015-11-22 18:11:17 +01:00
chylex ed6ff4e931 Continue porting Blob Populators (liquids, ores) 2015-11-22 03:34:06 +01:00
chylex a5158786f4 Work on Blob debugging and porting 2015-11-22 02:34:00 +01:00
chylex a285b676e9 Address slightly less important concerns from FindBugs 2015-11-21 19:46:53 +01:00
chylex 34839620d0 Work on addressing bugs and concerns reported by FindBugs 2015-11-21 19:07:31 +01:00
chylex 7c3c221e55 Fix Curse projectile thrower check after updating to string ID 2015-11-21 18:35:54 +01:00
chylex 500f218ec8 Port BlobPattern and simple Blob generation handling 2015-11-21 17:49:48 +01:00
chylex 9556593591 Let other mods take precedence in changing the music system 2015-11-21 16:21:17 +01:00
chylex a8b3350851 Fix exploits with Essence Altars 2015-11-21 15:43:09 +01:00
chylex 38bf1ae2da Add a common parent class for BlobGenerator and BlobPopulator 2015-11-21 14:15:27 +01:00
chylex 7a954db84f Fix incorrect entity data watcher value type in Eye of Ender 2015-11-21 14:01:50 +01:00
chylex 35ac119e63 Update AttributeModifier constructing code to use EntityAttributes 2015-11-21 03:13:10 +01:00
chylex e013d55218 Work on porting old Blob generators and populators 2015-11-21 02:52:19 +01:00
chylex 35a756729b Lay some very basic groundwork for Endstone Blobs 2015-11-21 00:43:21 +01:00
chylex 46c63688e9 Add a StructureWorldPart that can be inserted into other StructureWorlds 2015-11-20 03:35:26 +01:00
chylex c37ab49af1 Work on updating deprecated code and addressing warnings 2015-11-19 21:59:20 +01:00
chylex 35bb54721c Add a builder class for vanilla Attribute Modifiers 2015-11-19 20:43:03 +01:00
chylex f0438bcd9d Use StandardCharsets instead of Charsets 2015-11-19 20:01:00 +01:00
chylex c3ba980d88 Work on formatting fixes, change data types (use int instead of byte/short, optimize network) 2015-11-19 17:09:03 +01:00
chylex 75817616db Work on Endermen (damage, basic AI, code tweaks) 2015-11-19 02:50:31 +01:00
chylex 3174f48c3e Add a direct look target AI class for Endermen 2015-11-19 02:12:33 +01:00
chylex eefbfb24d9 Add Vec.dotProduct method 2015-11-19 02:09:35 +01:00
chylex 6caebc1ea4 Add Vec.look method to get the look vector of an entity 2015-11-19 01:59:54 +01:00
chylex 363d420909 Move EntityAIRandomTarget to a special target package 2015-11-19 01:49:47 +01:00
chylex 6188e001b1 Add progression checking methods to Causatum 2015-11-19 01:49:11 +01:00
chylex ffe80179c8 Update code to use EntityAttributes 2015-11-18 20:53:26 +01:00
chylex ed1b2f85a8 Add an EntityAttributes utility class to abstractions package 2015-11-18 20:35:22 +01:00
chylex ff7c0c4755 Work on AI (continuous AI class, moving blocks, update hiding in block) 2015-11-18 01:16:54 +01:00
chylex f9d80d2b3d Add predefined AI mutex values to AIUtil 2015-11-17 23:56:13 +01:00
chylex 55a5143941 Add clientRand to Explosion for client only FX calculations 2015-11-17 03:59:23 +01:00
chylex 0df71bdf82 Use FastRandom in Explosion and particle handling 2015-11-17 03:54:31 +01:00
chylex af8c2264b0 Document FastRandom and test performance 2015-11-17 03:54:03 +01:00
chylex 56f6ec6a08 Add a FastRandom class 2015-11-16 17:44:09 +01:00
chylex ce79e3c70d Work on custom Explosion 2015-11-16 17:35:31 +01:00
chylex f532114322 Extend functionality of custom Explosion class, and update code to use it 2015-11-16 17:10:26 +01:00