26.1 Update

Minecraft is now Unobfuscated and requires Java 25
Lots of changes/code cleanup.
See https://github.com/MinecraftForge/MinecraftForge-Experimental/tree/26.1-dev for non-squashed commits.

Co-authored-by: Paint_Ninja <[email protected]>
This commit is contained in:
LexManosandPaint_Ninja committed 2026-03-24 14:07:41 -07:00
1 parent 5ac2675f87
commit 047e5fe252
1558 files changed
+11117 -16291

No files matched your search

@@ -31,7 +31,7 @@ public class AddPackFinderEventTest {
@SubscribeEvent
public void addPackFinders(AddPackFindersEvent event) {
if (event.getPackType() == PackType.CLIENT_RESOURCES) {
var resourcePath = ModList.get().getModFileById(MODID).getFile().findResource("test_nested_resource_pack");
var resourcePath = ModList.getModFileById(MODID).getFile().findResource("test_nested_resource_pack");
var supplier = new PathResourcesSupplier(resourcePath, false);
var pack = Pack.readMetaAndCreate("builtin/add_pack_finders_test", Component.literal("display name"), false, supplier, PackType.CLIENT_RESOURCES, Pack.Position.BOTTOM, PackSource.BUILT_IN);
event.addRepositorySource((packConsumer) -> packConsumer.accept(pack));