Commit Graph
105 Commits
Author SHA1 Message Date
Lordmau5 77277c6024 Fix for networking code (Fixes issues with data on dedicated servers) 2015-03-09 15:23:18 +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 46b0f19572 Fix for issue #137 2015-01-04 15:48:14 +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 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 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