Commit Graph

2095 Commits

Author SHA1 Message Date
chylex 9bfd992cae Use StringUtils replace and remove methods for performance 2016-01-06 10:59:37 +01:00
chylex 53622f20dc Ignore empty compound tags when saving territory data 2016-01-06 10:42:55 +01:00
chylex 2629283da5 Optimize disk usage in Compendium file by replacing HEE identifier with a tilde 2016-01-06 10:42:32 +01:00
chylex d5e352ebc9 Add packet to sync territory variations 2016-01-06 10:04:16 +01:00
chylex dd94eccba2 Save territory variations and update serialization of territory data 2016-01-06 01:22:56 +01:00
chylex 8e62e2faf9 Make the empty enum set a singleton 2016-01-06 00:44:22 +01:00
chylex beee7abd45 Fix more compile errors because javac is stupid 2016-01-05 22:22:58 +01:00
chylex 588b861baa Update test territory properties 2016-01-05 11:31:23 +01:00
chylex 5b396eb093 Add WIP ticking and behavior system to territories 2016-01-05 10:44:38 +01:00
chylex 11cf144c16 Add a callback NBT compound tag to NBTUtil 2016-01-05 08:19:19 +01:00
chylex 6c7a9d5af1 Fix spaces instead of tabs in some files 2016-01-04 23:44:40 +01:00
chylex 5faa33121a Add territory variation handling 2016-01-04 04:18:29 +01:00
chylex ccc7f5be30 Add BitStream to collection package 2016-01-04 03:44:12 +01:00
chylex 2a349acefc Fix WeightedMaps copied using the constructor having incorrect weight 2016-01-04 03:41:54 +01:00
chylex 8af6edca1c Add EmptyEnumSet and a constructor for WeightedMap 2016-01-04 00:37:53 +01:00
chylex 3f2b06772d Refactor EndTerritory fields and initialization 2016-01-02 20:15:49 +01:00
chylex c67cc1bcb7 Add a tooltip to music discs if the custom music system is disabled 2015-12-31 00:32:44 +01:00
chylex 1012167b98 Fix formatting in BlockList 2015-12-30 23:16:59 +01:00
chylex 96fb955e55 Temporarily rename all Knowledge Fragments in the lang file 2015-12-30 04:28:01 +01:00
chylex d3fd7ddd27 Rename and move EnvironmentEvents to a more general TerritoryEvents 2015-12-30 04:17:33 +01:00
chylex da49eb795a Fix music resource domain, add pack detection to Music Disks 2015-12-30 04:03:05 +01:00
chylex 9cff61a276 Move music files into a separate resource pack 2015-12-30 03:23:49 +01:00
chylex d6ebb7fc2a Fix a compile error because javac is stupid with generics 2015-12-30 03:09:49 +01:00
chylex 17840ff1f6 Fix ModTransition not handling world spawn coords inside blocks correctly 2015-12-30 01:33:31 +01:00
chylex d030bc4888 Fix Compendium hint key formatting and allow literal strings in achievement overlay 2015-12-27 01:48:20 +01:00
chylex c256df8160 Show Compendium hint when Endermen keep teleporting away 2015-12-27 00:58:06 +01:00
chylex a88b4b323b Add hint achievement overlay to Compendium 2015-12-27 00:56:53 +01:00
chylex 191ca56a0d Add simple achievement overlay handling 2015-12-26 20:08:46 +01:00
chylex 0df7abfca4 Remove achievementStartId from config (will reset achievements) 2015-12-26 18:27:31 +01:00
chylex 1e4a2ed8f8 Allow Knowledge Objects to individually disable discovery 2015-12-26 15:33:52 +01:00
chylex 67ef932dce Temporarily delete language files 2015-12-26 14:02:41 +01:00
chylex a481444894 Fix Enderman projectile avoid logic where changing target would never happen 2015-12-26 00:41:34 +01:00
chylex c4663e3810 Add EntityAIWatchRandom and use it instead of LookIdle 2015-12-25 20:10:15 +01:00
chylex 6c56267fe0 Fix a couple concerns from FindBugs and PMD 2015-12-25 17:30:59 +01:00
chylex ee258644e6 FIX ALL DEPRECATION WARNINGS AND DELETE BLOCKPOSM 2015-12-25 14:52:52 +01:00
chylex d9ebb04081 Improve Enderman damage handling compatibility with mods 2015-12-25 14:40:57 +01:00
chylex 932d999fc5 Update code to use WorldUtil for game rule checking 2015-12-25 03:11:52 +01:00
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
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