Thomas Guimbretiere
f282be75f4
FMPHandler registers itself properly when FMP is found.
2014-02-17 21:10:45 +01:00
Thomas Guimbretiere
ec1ab8e548
Added registration for FMP data providers.
...
Moved getNBTInt to NBTUtil.
2014-02-17 20:36:02 +01:00
Thomas Guimbretiere
add57cbd6b
Spring cleaning on the registrar by abusing generics.
2014-02-17 20:09:28 +01:00
Thomas Guimbretiere
ce249c806e
Switched to generics for the registration.
2014-02-17 19:08:32 +01:00
Thomas Guimbretiere
3f6da9018c
Tooltip cleanup works for entities too now.
2014-02-17 18:36:47 +01:00
Thomas Guimbretiere
2b7f3866a5
Separate config for blocks & entities
2014-02-17 18:32:50 +01:00
Thomas Guimbretiere
b83d5bd297
Added shift toggled data display.
...
Will default to false, can be turned on in the config.
2014-02-17 18:02:45 +01:00
Thomas Guimbretiere
4e7e32fba7
Added config options for Steve's carts module.
...
Added toggle shift view.
2014-02-17 17:13:53 +01:00
Thomas Guimbretiere
2346ffd559
Steve's carts cargo and liquid managers done.
...
TODO : Add config options for EVERYTHING
2014-02-17 04:54:16 +01:00
Thomas Guimbretiere
49a2a32a77
Restricted synced keys for Carpenter's and SecretDoors.
2014-02-17 02:07:44 +01:00
Thomas Guimbretiere
47fb4c55a8
Carpenter's block module added
2014-02-17 02:05:08 +01:00
Thomas Guimbretiere
b6b5404440
Added torches and trapdoors to the override.
2014-02-17 01:29:37 +01:00
Thomas Guimbretiere
89fc1c8ce7
Added secret room module.
...
Added lookup by TileEntity for override stack to the Raytracing routine.
2014-02-17 00:40:46 +01:00
Thomas Guimbretiere
79107209d9
Added option in the VanillaMC module to hide/show silverfishes.
...
It will default to true (Hide silverfishes).
2014-02-17 00:10:01 +01:00
Thomas Guimbretiere
3533ea2d23
Added comments to the accessors.
2014-02-16 23:45:24 +01:00
Thomas Guimbretiere
f1a4056431
Try/Catch the creation of the stack in the Accessor (it does fail sometimes with some mods.)
2014-02-16 23:35:32 +01:00
Thomas Guimbretiere
dcc35737be
Added liquid display to Steve's carts.
...
Added getStack to the accessor to get the none overriden stack.
ID:Meta is now based on the override stack instead of the accessor.
Fixed a NPE when a stack provider returns a null stack.
Version bump.
2014-02-16 23:33:53 +01:00
Thomas Guimbretiere
4a3015eb21
Steve's carts first module test.
2014-02-15 21:13:27 +01:00
Thomas Guimbretiere
d3a317e3dd
All modules are now registering a full NBT sync request (just because it would be a pita to track down the keys).
2014-02-15 17:16:19 +01:00
Thomas Guimbretiere
9d1045333a
Entity data is now synced too.
2014-02-15 17:01:14 +01:00
Thomas Guimbretiere
80e30abec3
Added partial NBT syncing to the protocol.
...
TEs will NOT be synced by default anymore. You actually have to either request "*" to get the whole NBT,
or request specific keys using "aaa.bbb", etc.
2014-02-15 16:41:38 +01:00
Thomas Guimbretiere
2dd88b9c13
Added synced NBT Key registration and retrieval.
2014-02-15 12:24:04 +01:00
Thomas Guimbretiere
f46d9393b5
Refactoring & Cleanup
2014-02-15 11:43:12 +01:00
Thomas Guimbretiere
d2f8911797
Right justification.
...
Fixed tooltip size prb.
2014-02-15 03:13:21 +01:00
Thomas Guimbretiere
a1365b2db3
Tabulated display of IC2 tooltips.
2014-02-15 02:24:34 +01:00
Thomas Guimbretiere
0988ee744e
Added Empty Heart to the icon list.
...
Fixed light prb (tesselator color reset)
Added life display to EntityLivingBase
2014-02-15 02:07:01 +01:00
Thomas Guimbretiere
537c3dc1af
Icon rendering and handling is almost done.
2014-02-15 01:35:49 +01:00
Thomas Guimbretiere
5f7bf6cc5c
Generic icon rendering method based on an enum with u,v,su,sv
...
Also handles adding a backgroup icon (for hearts for example).
2014-02-15 00:18:59 +01:00
Thomas Guimbretiere
904fe472b8
Code cleanup, basic icon rendering support.
2014-02-15 00:07:14 +01:00
Thomas Guimbretiere
0ef5f65067
Support for columns is now added. Inserting SpecialChars.TAB in a tooltip will create a new column.
...
Text in the columns is aligned properly when rendering.
2014-02-14 22:36:11 +01:00
Thomas Guimbretiere
b6d529575d
Basic line splitting
...
This will be redone and put here as reference.
2014-02-14 22:04:12 +01:00
Thomas Guimbretiere
669435f153
Moved string rendering to the Tooltip itself to allow for more complex stuff.
2014-02-14 18:42:54 +01:00
Thomas Guimbretiere
f1c484d390
Moved more data to the Tooltip class for precomputation.
...
Only one overlay renderer now with offsets and data precomputed in the ClientTick (not more Entity vs Stack).
2014-02-14 18:32:32 +01:00
Thomas Guimbretiere
ef20dcc4c6
Tooltip position & size computation moved out of the RenderTick into the ClientTick.
...
Will allow for more flexibility on how to render it too since more can be computed there.
2014-02-14 17:55:48 +01:00
Thomas Guimbretiere
1bbf3e8747
Server => Client config key syncing is operational.
2014-02-13 19:50:11 +01:00
Thomas Guimbretiere
3bc29dd907
Key forcing is now send over the network upon login.
2014-02-13 19:29:22 +01:00
Thomas Guimbretiere
23bbd2ceb4
Moved Overlay data to a separate class (OverlayConfig)
...
Moved default config file to ConfigHandler.
2014-02-13 19:00:37 +01:00
Thomas Guimbretiere
d0e2932257
Server forcing config keys are generated.
...
The whole file is now loaded only once on startup.
2014-02-13 18:51:40 +01:00
Thomas Guimbretiere
cf6ecd55e5
First pass at reworking the config system to handle multiple categories (General and modules for now)
2014-02-13 18:34:53 +01:00
Thomas Guimbretiere
bfc2e5dec6
Declared Waila API as an API so it doesn't get messed up by other mods.
...
Fixes issue #22
2014-02-13 00:10:51 +01:00
Thomas Guimbretiere
d6589ec1c1
Config options are added to the config file when the option is registered.
2014-02-12 23:51:01 +01:00
Thomas Guimbretiere
1cadab1320
Clean up
...
Added commented HP display for demonstration.
2014-02-12 22:57:21 +01:00
Thomas Guimbretiere
91aea326c7
Override for entities is in.
2014-02-12 22:27:10 +01:00
Thomas Guimbretiere
d2c6d95e75
Entity tooltip is now handled by the API (registration, lookup, etc).
...
TODO : Add icon handling and overriding.
2014-02-12 22:12:32 +01:00
Thomas Guimbretiere
5a8673d322
Added & registered default empty module for Entities.
2014-02-12 18:57:59 +01:00
Thomas Guimbretiere
917eaab8be
Added tag 1.4.5a for changeset 5dd753fa7c80
2014-02-12 18:20:19 +01:00
Thomas Guimbretiere
198d0c7079
Removed some logging
...
Reflection is now done with FML utilities
Fixes issue #17
Version bump
1.4.5a
2014-02-12 18:20:11 +01:00
Thomas Guimbretiere
03f4bed4fe
Added missing registrar methods for entities.
2014-02-11 21:10:46 +01:00
Thomas Guimbretiere
1bfcc07e1f
Fixed getSide()
...
Fix for issue #21
2014-02-11 20:38:33 +01:00
Thomas Guimbretiere
ef9a1bedfc
Basic IWailaEntityProvider registration process implemented.
...
Removed duplicated stackProviders & decoratorProviders methods based on IDs
Deprecated ID based registration (in plan for 1.7)
2014-02-11 20:09:12 +01:00