Commit Graph

153 Commits

Author SHA1 Message Date
LexManos 74a43877e4 Quiet down errors related to modders not changing their update urls from the default. 2020-12-26 11:39:14 -08:00
David Quintana 93c00b67d9
Implement feature for mods to define new world types (#7448)
* Mods can now register world types via a new forge registry, and optionally register a settings screen to tweak them.
  * The default world type for dedicated servers and singleplayer world creation is configurable via forge's common config.
2020-11-28 00:57:15 +01:00
cpw 47e076071b
Fix #6692
Thanks @AterAnimAvis for help and suggestions

Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-11-22 17:00:48 -05:00
Take Weiland fa46f3dd49
Fix concurrency issue in StartupMessageManager (#7483) 2020-11-20 10:17:00 -08:00
cpw 49b596dda3
Fix problem where the absence of forge and MC in later loading triggered a weird crash.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-11-15 11:08:34 -05:00
cpw 4a09a2420d
Return the processed modlist data to the upstream system, not the raw unprocessed data. Should resolve the problem
that mixin complains about missing info when it's in a "crashed" situation.

Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-11-13 19:12:43 -05:00
cpw 160f3f88f9
Support backwards loading 1.16.3 mods in 1.16.4, because we are able to do that. Tweak loading a bit to be smarter about dependency errors of various kinds.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-11-07 20:48:02 -05:00
cpw 5a7facc20f
Fix early sorting bug that meant the file deduping was causing an error, to, well, not cause it, so we can get to an error screen.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-11-02 14:57:23 -05:00
Tobias Hotz 1af6632a29
Auto-detect ansi support for log4j2
move to fml.loading subpackage

Add license header
2020-11-01 17:03:12 -05:00
cpw 6982c5dd56
Add in proper handling of equals and hashcode for modjar urls. Fixes very slow loading on windows.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-10-26 18:00:14 -04:00
cpw 80baad974e
Restore FingerprintViolationEvent with appropriate THIS IS F*CKING DEAD DELET WARNINGS.
Also, notify in UI if using legacy JDK without capability to read out security data from mod jars.

Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-10-26 07:31:49 -04:00
cpw ae160cad12
Add signature reporting for mods, using new signature capture from ModLauncher. Need to figure out
how to reflect Minecraft's JAR signatures into here.

Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-10-25 22:26:16 -04:00
cpw 6ff6277efa
Rollback registries to vanilla state if something happens during loading, so subsequent activities can still run and not generate false reports..
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-10-25 11:33:43 -04:00
DaemonUmbra 9b421b54a7
Added "Bukkit Plugin" to InvalidModIdentifier (#7384) 2020-10-02 16:40:06 -07:00
ichttt e344fd08a5
Add a better license error screen (#7350) 2020-09-23 14:16:36 -07:00
LexManos c75eb9e7cf 1.16.3 Update
Also included a bunch of warning cleanups.
2020-09-10 12:01:45 -07:00
cpw 4ff0d246ce
Fix ExplodedDirectoryLocator visiting non-existent paths. Closes #7203
Also, bump modlauncher to 7.0.1 to fix resources.

Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-09-06 19:38:58 -04:00
cpw b1f73a0760
Use new enumeration mechanism in ModLauncher, to allow getResources to work. This enables serviceloader-in-mods, and other stuff that might need to visit multiple mod jars. Also, tweaked the visitor code slightly, may result in a trivial performance change. Closing #7302 as it's not really relevant any more.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-09-06 17:54:05 -04:00
cpw bfeec0c7bd
Merge branch '1.16.1' into 1.16.x
# Conflicts:
#	patches/minecraft/net/minecraft/client/Minecraft.java.patch
#	patches/minecraft/net/minecraft/item/crafting/Ingredient.java.patch
#	src/main/java/net/minecraftforge/fml/client/ClientModLoader.java
#	src/main/java/net/minecraftforge/registries/GameData.java
2020-08-31 21:15:56 -04:00
cpw d76ee4edd7
Redo event dispatch, removes a bunch of nonsense, and tries to integrate with the vanilla CF system where possible
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-08-30 21:39:06 -04:00
sciwhiz12 625cd746ef
Add user-friendly exceptions when config loading fails (#7214) 2020-08-21 14:27:12 -07:00
sciwhiz12 07ffc890e5
Fix modproperties property in mods.toml causing exception (#7192) 2020-08-21 11:25:40 -07:00
Cyborgmas 797791c2af
Fix small logging issues with loading pack.png for mods (#7265) 2020-08-21 10:24:49 -07:00
malte0811 5037adede9
Improve startup time by caching the manifest data for mod jars (#7256) 2020-08-20 21:29:02 -07:00
sean e1efab0452
Print mod file name on InvalidModFileException (#7241) 2020-08-13 19:16:53 -07:00
LexManos fe43088c96 Initial 1.16.2 Update 2020-08-13 00:35:08 -07:00
LexManos 4ffcdaa6da Make license toml entry optional during 1.16.1
There are to many existing mods to make this required.
Yes, we are technically before a RB and can do breaking changes. However this is too large.
2020-07-28 00:16:18 -07:00
cpw 97dfcbc52b
Update coremods and spi, include mandatory license field in metadata. Added at top level of mods.toml file.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-07-27 20:21:39 -04:00
cpw 532d153d33
Update modlauncher, eventbus, accesstransformers and more to use a newer mechanism for generating ASM.
Introduced IModBusEvent as a marker interface for events on the ModBus. Expect exceptions if you use
the modbus for events not listened there.

Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-07-27 19:40:43 -04:00
cpw daa85d3c5b
Don't show the early launcher GUI when running data. It's not needed and prevents use on automated builds.
Need to investigate why a bunch of tags seem to be being blown away by rerunning on forge.

Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-07-21 20:12:33 -04:00
David Quintana 517bbc8b5b Update copyright year to 2020. 2020-07-02 19:49:11 +02:00
ichttt 4aa53dbb00
Fix loading screen color and text (#6824) 2020-06-30 13:16:51 -07:00
LexManos 97d4652f5f Make installer use MCPConfig version to identify MC assets. 2020-06-26 12:52:50 -07:00
cpw 41a6d70aee
Tweak the server startup a bit, make sure methods that can't work because they run before a server exists explode saying so.
Also fix other launch profiles.

Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-06-26 14:27:32 -04:00
cpw 4700973dff
Update to 1.16.1 and fix a couple more patch problems
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-06-25 18:28:48 -04:00
Anthony Anderson ca2ed1ff7a
Final patching
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-06-25 17:55:54 -04:00
cpw 20f78ac724
Modify how modfiles load slightly, for better decoupling.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-06-25 17:51:27 -04:00
cpw a39f1cbe1a
Improve the DistExecutor API and introduce some "almost completely" safe mechanisms to handle sided lambdas.
In general, use sided lambdas safely by embedding them in a separately loaded class. There's a whole twitch stream
dedicated to investigating this problem. See link in DistExecutor if you're interested.

Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-05-24 17:40:52 -04:00
Alex Thomson 4ce32c3663
Fix exclusion of coremods not filtering correctly when the mods directory is a symbolic link. (#6600) 2020-05-12 15:02:01 -07:00
David Quintana 0fc1ea01d1 Remove redundant call to modifyLoot. Closes #6657 2020-04-28 19:22:48 +02:00
tterrag ea23cd4779 Fix various issues with the loading screen and datagen
Fix NPE on datagen startup
Fix early loading GUI hanging and never terminating after datagen
Add loading GUI messages for datagen
2020-04-28 00:00:45 -04:00
tterrag 9d8817b5db Rename window icon image to avoid conflict, fix not using vanilla icon 2020-04-27 01:09:34 -04:00
cpw 8c8ef2d9e1
Use forge logo as short term window Icon, fix Buffer cast problems for new JDK stupid.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-04-26 21:42:18 -04:00
cpw 6a25490d7f
Handle message display a bit better, try to make the UI tick a bit better.. Still a problem with
a modelbake right at the end, happening on the window flip.

Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-04-26 21:03:43 -04:00
RogueLogix 6a0b16817d Move ClientVisualization to secondary thread 2020-04-26 16:06:44 -07:00
RogueLogix 677e2104a0 move handOffWindow down near start() 2020-04-26 15:41:53 -07:00
cpw 438c969fef
merge early startup into main window if used. It seems to work well.. Also ticks window on main thread, so mac compatible now.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-04-26 18:24:48 -04:00
tterrag a3b1007633 Fix child annotations not inheriting member name, cleanup 2020-04-11 01:57:40 -04:00
tterrag bdd0af5280 Fix element type of scanned child annotations 2020-04-11 01:19:25 -04:00
cpw 3e48066021
Add a progress message for atlas textures. Fills a big time gap on bigger packs.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
2020-03-20 17:34:46 -04:00