Commit Graph
100 Commits
Author SHA1 Message Date
Thomas Guimbretiere 07b0b83f4a Added localization for NEI keybind.
Fixes issue #185
2015-07-12 19:24:21 +02:00
Thomas Guimbretiere d932d91a77 Potential fix for issue #200
Stupid java 1.6 on macs...
2015-07-12 18:55:01 +02:00
Thomas Guimbretiere 87261267e1 Added tag v1.5.10_1.7.10 for changeset 02ba9c022a25 2015-07-12 18:42:20 +02:00
Thomas Guimbretiere 7af9692632 Added czech translation. Many thx to nalimleinad.
Closes issue #204
2015-07-12 18:33:03 +02:00
Thomas Guimbretiere 1eb78112eb Added a config option (in Modules/General) to turn on/off the display of entity tooltips.
It is located there so it can be enforced server side if required (for pvp, etc).

Fixes issue #196
2015-07-12 18:29:28 +02:00
Thomas Guimbretiere 4ed103dd25 NBT is synced only when the tooltip is visible to reduce ressource usage.
Fixes issue #179
2015-07-12 17:56:04 +02:00
Thomas Guimbretiere 118bab5a2b Updated to latest NEIs and forge 2015-07-12 16:43:29 +02:00
Thomas Guimbretiere ce6474fc29 Fixed case where config is written too many times in "press to show" mode. 2015-05-21 19:13:38 +02:00
Thomas Guimbretiere cbeb3b3628 Fixed derp with logs.
Still have a huge derp with CCC that need to be resolved...
2015-05-16 22:03:25 +02:00
Thomas Guimbretiere d27d6db57c Updated to latest CCC & Forge 2015-05-16 20:38:30 +02:00
Thomas Guimbretiere e60974ab20 Version bump 2015-03-18 16:09:14 +01:00
Thomas Guimbretiere f481e46fb2 Tabbing correction 2015-03-09 18:31:56 +01:00
Thomas Guimbretiere 7638322f7f Merge 2015-03-09 18:29:22 +01:00
Thomas Guimbretiere 0afbc6efb4 Added tag v1.5.9_1.7.10 for changeset 32b8eca2f373 2015-03-09 18:29:13 +01:00
Thomas Guimbretiere 6d97a3a595 Version bump 2015-03-09 18:28:43 +01:00
Thomas Guimbretiere 0b85d18865 Reinstanciate the lists in TickHandler to make sure they are not of the wrong type.
All handler getters now return a TreeMap with an index integer to make sure handlers are used in the right order everywhere.
2015-02-10 22:23:22 +01:00
Thomas Guimbretiere 9d0b942667 Returning a stack with a null item from getWailaStack with desactivate the tooltip all together.
A good one to use if new ItemStack(Blocks.air)
2015-02-10 18:08:21 +01:00
Thomas Guimbretiere caf8cf7e7b Desactivated furnace progress display. 2015-02-10 17:34:41 +01:00
Thomas Guimbretiere 01546d40e9 Protected rendering from crashes.
Tried to use TrueTyper without success
Update to latest Gradle
2015-02-10 17:32:43 +01:00
Thomas Guimbretiere 6d6e7616e4 Stack & Progress bar for furnaces, just because I can. 2015-01-05 20:22:56 +01:00
Thomas Guimbretiere 1c2af8da33 Moved renderIcon() from OverlayRenderer to DisplayUtil 2015-01-05 15:52:00 +01:00
Thomas Guimbretiere 197305bf78 Display of text vs hearts is based on max health now, not current health. 2015-01-05 15:38:15 +01:00
Thomas Guimbretiere 8483573146 Added a custom renderer for health bars 2015-01-05 15:27:55 +01:00
Thomas Guimbretiere a05c6aa6d7 Added size hint for icon special char 2015-01-05 14:38:32 +01:00
Thomas Guimbretiere 28196d451e Added tag v1.5.8a_1.7.10 for changeset ef5c83a57257 2015-01-04 16:26:13 +01:00
Thomas Guimbretiere e83009414e Version bump 2015-01-04 16:19:56 +01:00
Thomas Guimbretiere 46b0f19572 Fix for issue #137 2015-01-04 15:48:14 +01:00
Thomas Guimbretiere 730f57be90 Added tag v1.5.8_1.7.10 for changeset dd4695b8b6e8 2015-01-04 15:48:02 +01:00
Thomas Guimbretiere 6f30e64849 Version bump 2015-01-04 00:51:18 +01:00
Thomas Guimbretiere 156e672dbc Restored getBlockID to the accessors
Added getBlockQualifiedName to return a block domain:name str
Restored the id display (along with the new qualified name)
2015-01-04 00:46:14 +01:00
Thomas Guimbretiere fdd401469e Added tooltip event registered only if NEI is not present to show the originating mod. 2015-01-03 18:59:44 +01:00
Thomas Guimbretiere 2b5eb13f83 Updated API version 2015-01-03 18:42:37 +01:00
Thomas Guimbretiere 0476bca1bf NEI is now a weak dependency. 2015-01-03 18:38:40 +01:00
Thomas Guimbretiere f46ac15842 Ported to NEI 1.0.4.+ 2015-01-03 17:11:54 +01:00
Thomas Guimbretiere 616e02e047 Removed System.exit(-1);
Fixed issue #119
2015-01-03 16:06:28 +01:00
Thomas Guimbretiere e74174aff7 Cleanup 2015-01-03 16:04:01 +01:00
Thomas Guimbretiere 38fa57823e Added try/catch around the calls to external renderer methods 2015-01-03 16:01:35 +01:00
Thomas Guimbretiere 7d1c25872c Line spacing is added to the reserved size.
glPush/Pop & glTranslate around the calls to draw
Moved all the special renderers to a 2nd pass, post text.
Removed x,y from the draw signature.
Added an helper method to get the proper RenderString
2015-01-03 15:52:32 +01:00
Thomas Guimbretiere f9f2c4041e Removed Block & Entity accessor and replaced it with the Common accessor.
Added a split in the line regexp for the icon.
Created a icon renderer.
Old waila Icon nomenclature is now turned into the proper renderer.
Removed some empty methods in Tooltip.
2014-12-29 17:52:53 +01:00
Thomas Guimbretiere 9050654e42 Added skeleton DataAccessorCommon that will be used instead of individual Accessors (via param interface cast)
IWailaTooltipRenderer uses this new more generic accessor.
All internals of the accessors are now private.
2014-12-29 16:49:37 +01:00
Thomas Guimbretiere 14bee7ab58 Moved the renderers to their own sub package in overlay 2014-12-29 16:21:48 +01:00
Thomas Guimbretiere a63dc221ba Added argument to pass along the param array 2014-12-29 16:17:41 +01:00
Thomas Guimbretiere 6bba5f1e7e Fixed regexp to include comma separated String arguments to the renderer call 2014-12-29 16:01:46 +01:00
Thomas Guimbretiere eae1de6698 Added handling for the RENDER tag 2014-12-29 03:07:19 +01:00
Thomas Guimbretiere ef7812c64d Added some debug code when registering null block/handler 2014-12-29 02:28:44 +01:00
Thomas Guimbretiere 8924997fa0 Reinstored proper align, fixed the broken ALIGNCENTER, added kickass regexp 2014-12-29 02:03:56 +01:00
Thomas Guimbretiere 9f6e79c467 Enormous simplification of the tooltip handling code.
Away with the Lines and overly complicated code, I welcome our new regexped Renderable overlord !
2014-12-29 01:00:06 +01:00
Thomas Guimbretiere 08db0ed7fd First working version of Tooltip rendering using custom renderers (for strings)
Moved some CBCore methods to DisplayUtil
2014-12-28 01:59:15 +01:00
Thomas Guimbretiere adcc7783a8 Added skeleton support for custom renderers in the tooltip.
Still need to fix the offset and check all the signatures.
2014-12-26 03:08:01 +01:00
Thomas Guimbretiere b686bb431c Added tag v1.5.7a_1.7.10 for changeset 56138035307d 2014-12-25 19:41:12 +01:00
Thomas Guimbretiere 7251015c3a Removed some debug stack printing in IEnergyHandler.
Added a test IBlockInfo handler.
Version bump
Added enforcing dep on NEI
2014-12-25 19:40:33 +01:00
Thomas Guimbretiere ff8980089a Filter out aspects with a value of 0
Put back the missing config test
2014-12-23 16:05:06 +01:00
Thomas Guimbretiere 4132d2941b Removed debug code 2014-12-23 02:25:16 +01:00
Thomas Guimbretiere 8c77c19e94 Added a more generic Interface for the TipList so I can modify what is going on later on if needed. 2014-12-22 15:29:18 +01:00
Thomas Guimbretiere ae10c1cad2 Fixed getBlockReadDistance() derp (no need for 0.5F correction anymore) 2014-12-22 15:06:10 +01:00
Thomas Guimbretiere 2bc138f222 Fixed raytracing bug when using different model then player. 2014-12-22 15:03:26 +01:00
Thomas Guimbretiere 3527aa3ddf Sorted the list of aspects by known/unknown to prevent alphabetical guessing 2014-12-20 18:58:59 +01:00
Thomas Guimbretiere edb0dab397 Finished adding Javadoc to most classes. 2014-12-18 00:37:51 +01:00
Thomas Guimbretiere 30885054a2 Added shorthand add(E e, String tag) and add(E e, List<String> taglst) to make it easier to add tags.
Added removeEntries(String tag) to remove all the entries with a given tag.
2014-12-18 00:12:31 +01:00
Thomas Guimbretiere 96b32ffd50 Partial javadoc 2014-12-18 00:02:42 +01:00
Thomas Guimbretiere b7dda5d80b Updated TE module to handle new interfaces.
Readded the clear/remove part of TipList to make sure there is no lingering tags.
2014-12-17 20:29:18 +01:00
Thomas Guimbretiere 8d5d86705c Import cleanup 2014-12-17 18:59:33 +01:00
Thomas Guimbretiere 26dad264d5 Implemented tag handling in TipList
Import cleanup in the API
2014-12-17 18:56:19 +01:00
Thomas Guimbretiere 6489bded40 Moved reflected API calls to AccessHelper
Added a dummy custom ArrayList implementation to support tags
2014-12-17 17:06:41 +01:00
Thomas Guimbretiere 85d8541112 Merged in TheVikingWarrior/waila (pull request #29)
Italian localization
2014-12-17 03:15:40 +01:00
Thomas Guimbretiere c9b750077e Merged in Adapta/waila-1/Adapta/ru_rulang-edited-1411545918603 (pull request #27)
ru_RU.lang edited
2014-12-17 03:15:11 +01:00
Thomas Guimbretiere 7c08f87419 Deleted old files.
Version bumped to 1.5.7 dev
2014-12-17 02:41:30 +01:00
Thomas Guimbretiere b8d4783d7e Finished remaking TC module. 2014-12-17 02:29:43 +01:00
Thomas Guimbretiere 146e30cbda Added player and world to getNBTData for entities. 2014-12-17 01:20:37 +01:00
Thomas Guimbretiere 5978494340 Added skeleton for a coremod (inactivated for now), just in case.
Added one param to getNBTData (the player). This would invalidate the previous mods, but tricked Waila into using reflection when that happens.
Skeleton Thaumcraft module.
2014-12-17 01:15:29 +01:00
Thomas Guimbretiere c618a10e7c Updated package-info to superseed all those nasty mods including the API (bouh !) 2014-12-16 17:52:08 +01:00
Thomas Guimbretiere 634c9a55ce Fixed corner case when writeToNBT is called in getNBTData for a TE which is not the targeted one. 2014-12-15 04:44:58 +01:00
Thomas Guimbretiere a8fb8a03e0 Added tag v1.5.6a_1.7.10 for changeset fccf438ffd64 2014-12-15 01:36:23 +01:00
Thomas Guimbretiere 13e233d1d2 Desactivated Thaumcraft module until I can fix it. 2014-12-15 01:36:00 +01:00
Thomas Guimbretiere 8f87062c1e Added tag v1.5.5_1.7.10 for changeset 24cd83db1c1c 2014-12-14 20:09:30 +01:00
Thomas Guimbretiere a111fed3d5 Added tag v1.5.6_1.7.10 for changeset 25d552df32d1 2014-12-14 20:08:17 +01:00
Thomas Guimbretiere c887c01e2e Cleanup in TE
getNBTData rethrowing the exceptions to be caught by the Waila Exception handler (IC2, TE).
Version bump
2014-12-14 20:08:07 +01:00
Thomas Guimbretiere 47cc1af622 plop 2014-12-14 04:10:05 +01:00
Thomas Guimbretiere da60ffef67 Readded IC2 generators 2014-12-14 03:31:40 +01:00
Thomas Guimbretiere e69d711124 Bad import 2014-12-14 01:32:42 +01:00
Thomas Guimbretiere 49893aa732 Cleaned up BC and TF modules. 2014-12-14 01:21:39 +01:00
Thomas Guimbretiere e2475c34d5 Removed all usage of the old sync registration method.
Replace all of them by a call to the new registration method (which is just using writeToNBT for now).
2014-12-14 01:06:47 +01:00
Thomas Guimbretiere fcc5699046 Added handling for server side NBT override for Entities. 2014-12-14 00:44:28 +01:00
Thomas Guimbretiere 09ab6cb781 Fixed reflection derp on obf MC.
Added registration for NBT override for Ents
2014-12-13 23:23:33 +01:00
Thomas Guimbretiere fd929a4235 Modules are now registered both clien and server side (let's pray for the best on this one...) 2014-12-13 22:42:59 +01:00
Thomas Guimbretiere 87986a6cfb Added default NBT values server side (position/type)
Ported all ThermalExpansion to the new system.
2014-12-13 22:18:35 +01:00
Thomas Guimbretiere 298eafc0c0 NBT Data provider is now taking precedence on writeToNBT to handle NBT sync. 2014-12-13 20:35:14 +01:00
Thomas Guimbretiere 5349270996 Updated to latest forge (1264) 2014-12-13 20:07:13 +01:00
Thomas Guimbretiere 17dce19ba3 Update to forge1258 (to support ThermalExpension in dev env) 2014-12-13 19:11:29 +01:00
Thomas Guimbretiere 95ce24b31c Added registration and methods for a custom NBT tag getter. 2014-12-13 18:35:26 +01:00
Thomas Guimbretiere 16b3a46bae Completly desactivated BC module. 2014-12-13 17:39:54 +01:00
Thomas Guimbretiere 83339dcbd5 Merge 2014-12-13 17:38:51 +01:00
Thomas Guimbretiere d2291a1215 Merged in EpixZhang/waila/EpixZhang/getcommandusage-return-a-string-rather-t-1415728834683 (pull request #31)
getCommandUsage return a string rather than null. should fix "/help" crash
2014-12-13 17:41:20 +01:00
Thomas Guimbretiere 3ae11044fd Removed debug msg for nbt sync. 2014-12-13 17:38:41 +01:00
Thomas Guimbretiere 68fc21b282 Updated build.gradle to use latest NEI
Reduced the used tags in TE
2014-10-16 19:48:18 +02:00
Thomas Guimbretiere eb941468f7 Fixed early cast in EnderIO 2014-10-11 18:12:46 +02:00
Thomas Guimbretiere 248c4f844f Delayed IMC requests to the end of the pipeline to provide proper lookup order. 2014-10-02 20:20:43 +02:00
Thomas Guimbretiere 446989c5a9 Version bump 2014-09-29 15:06:00 +02:00
Thomas Guimbretiere c8b2803aee Corrected small duplicated method body 2014-09-29 14:46:11 +02:00
Thomas Guimbretiere 3357e9bb32 Added default config value support. 2014-09-29 14:42:46 +02:00