mezz
d159f5f4e2
Fix proxy injector filtering. ( #3300 )
2016-10-09 01:22:28 -07:00
LexManos
bc303074f6
Introduce IContextSetter for events.
...
This will set the active mod container for events using the normal EventBus.
Fixes improper warnings from initializing mods using the new Registry events.
Modders, you should not use this as it has many performance implementations
and if abused will slow down the event bus A LOT. ActiveModContainer is not
thread safe.
2016-10-08 16:30:53 -07:00
LexManos
c0db34796b
Filter out proxy injectors for incorrect mods.
...
Prevents mod classes being initialized early when multiple mods are in the same source.
2016-10-08 16:27:49 -07:00
cpw
7a84376044
Add in registry registration events, new subscription events you can use to make sure you're registering things at the "best" time.
2016-09-17 21:13:15 -04:00
LexManos
1107088acb
Add support for generic filtering of events.
...
Please DO NOT use this in performance sensitive environments where you will have tons of things added to the listener list.
If that's the case define sub-classes as they have completely separate lists and will thus be more efficient when firing the event.
2016-09-17 15:08:23 -07:00
LexManos
b879cc9b73
Fix potential shading issue in GuiEditArrayEntries. Closes #3247
2016-09-12 14:48:55 -07:00
LexManos
12769dbaae
Fixed decorate event being called with SHROOM type for both convered trees and large mushrooms. Closes #3215
2016-08-22 16:40:24 -07:00
LexManos
ec2977afc9
Another fix for registry substitutions. Closes #3212
2016-08-21 15:54:57 -07:00
LexManos
d6d9a45100
Add legacy support for signature change of AddCallback.
2016-08-20 17:11:17 -07:00
cpw
03c8852961
Don't crash if you select a fake player
2016-08-13 16:37:58 -04:00
LexManos
3a48a9cd73
Skip searching for mods in the JAVA_HOME directory. Closes #2249 and #2250
2016-08-13 13:28:21 -07:00
LexManos
4cd0f88a69
Add RenderTooltipEvent ( #3034 )
2016-08-12 13:57:07 -07:00
LexManos
fe2243df9f
Removed unintentional functionality when using the Splash Screen.
2016-08-08 17:54:12 -07:00
LexManos
62ec59103a
Compleetly skip FML handshake for Vanilla connections. Should fix race condition. Closes #3084
2016-08-08 17:35:15 -07:00
LexManos
69af6a9b8c
Fix name in legacy support in registry changes.
2016-08-08 17:32:49 -07:00
LexManos
f4e8804c8a
Restone binary compatibility with registry substitution rework.
...
Modders please switch to using the provided RegistryBuilder to ensure more forward compatbility. Closes #3144
2016-08-02 15:55:18 -07:00
LexManos
f088e3df6b
Second pass at fixing 'Dissapearing Doors' This now more robustly fixes ALL uses of get and has slight performance improvements for itterable states. Closes #3139
2016-07-31 14:30:05 -07:00
LexManos
0f6b16cada
Added config option to disable Forge's fix of Stair/Slab face culling.
...
Some vanilla resource packs exploit this issue in their custom models causing unintended rendering issues.
2016-07-30 10:31:46 -07:00
cpw
4dcee246d5
Another pass at substitutions - now capable of fixing up ItemBlock to point at the right block when a block is substituted, should also handle substituting itemblocks. There's some hackery in the way we have to change the value of ItemBlock.block, but it's not too egregious in my opinion.
2016-07-29 17:08:52 -04:00
cpw
5d9169db0f
Merge remote-tracking branch 'origin/pr/3125' into 1.10.x
2016-07-28 18:25:45 -04:00
Alexandre DUPONCHEL
b0fd97557e
FIX : IndexOutOfBoundException
2016-07-28 17:59:59 +02:00
cpw
543156a008
Tidy up some more todos
2016-07-27 10:52:48 -04:00
cpw
056ff67a81
Mark it for actual removal in 1.11
2016-07-27 10:41:20 -04:00
cpw
ab64d1a166
Fix a vanilla bug with the blockstate ID map not being properly symmetric with respect to block.getStateFromMeta - closes #3012 properly but probably has a random MCJIRA ticket somewhere too.
2016-07-26 17:16:42 -04:00
cpw
d7245c5ffe
Merge remote-tracking branch 'origin/pr/3055' into 1.10.x - closes #3055 and #3043 hopefully. Complex solution, but it seems legit. Needs testing.
2016-07-23 20:14:51 -04:00
cpw
45b299ce06
Something that needs to happen: warn people about bad modids- if they're not lowercased, or if they're too long.
2016-07-23 20:01:54 -04:00
cpw
b7739ffc71
Some tweaks to ContainedDeps - it should extract to a file in versionedMods directly, even if the tag in the jar has a subpath element. It'll also skip if there is a matching filename in the main mods dir.
2016-07-21 13:59:02 -04:00
cpw
7d4bf619fe
More tests. Substitutions now work, and a fix is included. *sigh* Closes too many bugs to count.
2016-07-20 16:03:56 -04:00
cpw
22394f87d5
Some test harness stuffs. Time to get the registry manager properly tested.
2016-07-19 19:21:52 -04:00
LexManos
5f234fdcf8
Added support for using static methods as event listeners, Register the .class instead of an instance.
...
And added an improvement to calltime listener rebuilding.
2016-07-13 12:08:13 -07:00
LexManos
72f7c0be1f
Forge will now load extra mods from mods/mod_list.json and mods/mc_version/mod_list.json.
...
As defined by the same json spec as --modListFile.
And now if repositoryRoot is prefixed with absolute: the path will NOT be relative to the MC directory.
2016-06-30 00:16:40 -07:00
Mumfrey
32459b01b6
Store member field mappings in the mapping table, possible fix for #3043
2016-06-29 15:33:27 +01:00
LexManos
373fa8f7a3
1.10.2 Update
2016-06-28 21:25:04 -07:00
LexManos
dd3c3a249e
Fixed Husks rendering as standard zombies. Closes #3028
2016-06-25 11:05:46 -07:00
luacs1998
8e3bc83c3b
Simple implementation of a Open/Close container event ( #3017 )
2016-06-25 12:34:42 -04:00
cpw
efbd21e3eb
Fix that the Missing blocks/items/registries prompt often got stuck.
2016-06-25 01:07:45 -04:00
cpw
cc593f3939
Accept more 1.9.4 version strings. Fix NPE for custom villager types and their associated zombie spawns. Still needs review.
2016-06-23 09:29:03 -04:00
cpw
260be68723
Update to 1.10
2016-06-23 02:39:55 -04:00
cpw
c8d775c865
In accordance with our stated goal of relicensing Forge to LGPL v2.1, this commit enacts that change. Although it is using the 1.9.4 codebase, it is intended that this branch become public with the 1.10 changes, as such the license will take effect at that time. The three commits from persons who have failed to accept the new license, as documented in #2789 , have had their commits reverted. This should complete the license transition. Commits after the commit date of this commit should be considered licensed by LGPLv2.1, as indicated in LICENSE-new.txt. All patches are now considered owned by the Forge project and Forge Development LLC in particular (note that they will not get the license boilerplate, as they are machine generated files).
2016-06-22 23:49:48 -04:00
diesieben07
5604e3f380
Make ASMDataTable more useful: ( #2911 )
...
- EnumHolder now has getters for it's data
- enum arrays work now
- nested annotations work now outside of being in arrays
(cherry picked from commit f10f750)
2016-06-22 22:52:57 -04:00
mezz
86d5b5a872
Improve the "missing mods" on-screen error message ( #2997 )
2016-06-22 22:18:34 -04:00
cpw
dd09da27b5
Slight tweak to early loading, to accommodate FMP
2016-06-13 09:33:26 -04:00
cpw
f7feec029e
Mute the connection reset by peer exception - it's spamilicious for the most part.
2016-06-12 12:15:10 -04:00
cpw
ee7c965fe0
Fix missing IMC message query.
2016-06-11 21:08:54 -04:00
LexManos
9a23cf76d2
Expanded custom villagers to Zombies and world gen.
...
Fixed edge cases where custom professiosn wernt being used correctly. Closes #2862
2016-06-03 16:49:30 -07:00
LexManos
06d7a9e39c
Forge will now warn the user and ask permission to load a world with unknown registries. Closes #2934
2016-06-01 19:40:59 -07:00
cpw
caa61e1be9
Merge branch '1.9.4'
2016-05-31 00:34:03 -04:00
mezz
86baf7462f
Improve JavaDoc links, fix some broken JavaDocs ( #2833 )
...
Improve JavaDoc links, fix broken JavaDocs
2016-05-29 14:05:07 -07:00
LexManos
e65218b525
Fixed new ICrashReportDetail loader working with packaged mods by delaying it until the ModContainer's construct event. Closes #2924
2016-05-29 02:37:37 -07:00
LexManos
d3e758fce6
Fixed issue with @ObjectHolder and the new registry system. Closes #2640
...
Only run static initalizers for classes we need to get the names from values.
2016-05-29 00:06:43 -07:00