Commit Graph

2095 Commits

Author SHA1 Message Date
chylex e29f0b53fb Change territory bottom to be a static number instead of being randomized 2016-01-20 13:33:25 +01:00
chylex 99aa7cf23f Add some TODOs and temporary debug related to Void Portal 2016-01-15 09:06:06 +01:00
chylex b3b6e1733d Fix formatting on BlockVoidPortalFrame 2016-01-14 09:41:42 +01:00
chylex 6a31bb1844 Fix some unit tests running in a wrong event (PostInit instead of LoadComplete) 2016-01-13 19:53:22 +01:00
chylex b23ad4e7e8 Tweak IMC handling (fix registry key and error logger indentation) 2016-01-13 19:49:13 +01:00
chylex 63502f3770 Move unit testing into a separate package that is not added to the jar file 2016-01-13 19:06:46 +01:00
chylex cd6e78e4ec Remove DragonUtil.getClosestEntity and use EntitySelector instead 2016-01-13 17:26:51 +01:00
chylex 74e9363c5f Add closest entity selection methods to EntitySelector 2016-01-13 17:25:35 +01:00
chylex 592eabc674 Fix a startup crash with uninitialized static fields in EndMusicType 2016-01-13 17:07:07 +01:00
chylex e1126e5eb5 Add Void Portal items to the creative tab 2016-01-13 17:06:36 +01:00
chylex 265319fec2 Update unsafe IMC message handling and IMC config comment 2016-01-13 16:30:15 +01:00
chylex a583fce588 Rework mod integration handling and mod blacklisting 2016-01-13 16:27:16 +01:00
chylex e5b7348df3 Remove the need of HEE: prefix from IMCs 2016-01-13 15:53:04 +01:00
chylex 73e650ccd7 Remove AM2 fix 2016-01-13 15:48:01 +01:00
chylex 21c407d6f5 Wrap music ticker instead of replacing it, and work on ticker logic (still WIP) 2016-01-13 14:59:19 +01:00
chylex 717f449fb5 Refactor music ticker (WIP) 2016-01-13 12:01:21 +01:00
chylex 0214bf44f7 Refactor item discs and music manager 2016-01-13 12:01:05 +01:00
chylex 6c74e25092 Use CollectionUtil.getClamp where convenient 2016-01-13 10:04:16 +01:00
chylex 75f218ef70 Add getClamp to CollectionUtil 2016-01-13 09:56:04 +01:00
chylex 714d531024 Add new territory spawn generator types and fix portal condition 2016-01-12 18:35:28 +01:00
chylex 07b5877134 Add a safe net for disappearing void portal entities 2016-01-12 18:32:43 +01:00
chylex 5ae499e439 Update the test territory 2016-01-12 15:00:15 +01:00
chylex e392e3b72e Remove debug line from weather behavior 2016-01-12 12:22:50 +01:00
chylex 381fd4c23b Add a territory behavior for spawning weather effects 2016-01-12 12:12:10 +01:00
chylex d91aa64724 Update custom weather packet to use a registry system 2016-01-12 12:08:00 +01:00
chylex 1023d7d1a8 Use BitStream to deserialize territory properties 2016-01-12 08:04:02 +01:00
chylex b2cc879763 Add new conditions to territory mob spawner, fix peaceful mode, cleanup code 2016-01-11 17:44:06 +01:00
chylex 1a90ef0878 Add territory spawner mob limits per class, and fix location finders 2016-01-11 17:22:26 +01:00
chylex 455c07d6db Fix Territory spawner mob limits and group spawning error 2016-01-11 12:50:12 +01:00
chylex 50bcd95abd Add an enum order warning to EndTerritory, just in case 2016-01-11 10:44:19 +01:00
chylex 308d26170a Add a size constructor method to EndTerritory for clearer code 2016-01-11 10:41:59 +01:00
chylex b210e4c19a Add a mob spawner territory behavior 2016-01-08 20:15:54 +01:00
chylex 8873833d9b Use Predicate instead of Function in Pos.getTopBlock 2016-01-08 19:46:48 +01:00
chylex 90a3e78991 Fix territory bounding box 2016-01-08 19:41:31 +01:00
chylex bfb3457bef Work on Territories (change methods in properties & ticking, add bounding box creation) 2016-01-08 16:48:14 +01:00
chylex 9cc2dc33d5 Add Pos.offset(Pos) and BoundingBox.offset(Pos) 2016-01-08 16:46:52 +01:00
chylex 37db1bec42 Add EndTerritory parameter to TerritoryProperties.setupBehaviorList 2016-01-08 11:52:25 +01:00
chylex 2c633eb2ff Work on spawn entry (organizing, new methods, fix predicates) 2016-01-08 06:18:03 +01:00
chylex 5ee8264aed Add a basic SpawnEntry class 2016-01-07 17:48:56 +01:00
chylex b7faa133b3 Remove test territory behavior 2016-01-07 17:02:34 +01:00
chylex 55ef056f68 Fix incorrect import in ReflectionPublicizer 2016-01-07 16:56:58 +01:00
chylex 25dde72069 Remove old SpawnEntry class used in biomes 2016-01-07 16:06:08 +01:00
chylex 0c27c28880 Fix syntax error after prev commit 2016-01-07 13:00:38 +01:00
chylex ea6561e0f3 Tweak the Essence Altar fix to avoid dropping items when level reaches 0 2016-01-07 12:56:12 +01:00
chylex 5e41ac9748 Add links to the music resource pack 2016-01-07 12:30:54 +01:00
chylex 9cdb4774fc Hopefully fix TC golems crashing the game 2016-01-07 12:30:53 +01:00
chylex 4731a922cb Add a test territory behavior 2016-01-06 11:48:12 +01:00
chylex 010e12d866 Change serialization of territory indexes (use ordinals because everything else uses them too) 2016-01-06 11:48:01 +01:00
chylex 969801b571 Finish territory behavior setup and rare territory saving 2016-01-06 11:35:36 +01:00
chylex 514395501a Change the NBTUtil callback tag because it was confusing 2016-01-06 11:35:09 +01:00
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