1.21 Port & Smart Azalea Leaves

- Closes #51
This commit is contained in:
Martin Prokoph
2024-06-18 20:08:31 +02:00
parent 3e24b1ac0a
commit 1ad05aa6bf
10 changed files with 117 additions and 33 deletions

View File

@@ -13,7 +13,7 @@ public class CullLeavesClientFabric implements ClientModInitializer {
public void onInitializeClient() {
MidnightConfig.init("cullleaves", CullLeavesConfig.class);
FabricLoader.getInstance().getModContainer("cullleaves").ifPresent(modContainer -> {
ResourceManagerHelper.registerBuiltinResourcePack(new Identifier("cullleaves:smartleaves"), modContainer, ResourcePackActivationType.NORMAL);
ResourceManagerHelper.registerBuiltinResourcePack(Identifier.of("cullleaves:smartleaves"), modContainer, ResourcePackActivationType.NORMAL);
});
}
}