promotional bannermobile promotional banner

ExplosionGlass

Adds realistic glass shattering from explosions.
Back to Files

EXPLGlass-2.2.1.jar

File nameEXPLGlass-2.2.1.jar
Uploader
Z1pperJZ1pperJ
Uploaded
Jul 29, 2026
Downloads
34
Size
1.5 MB
Mod Loaders
Forge
File ID
8532802
Type
R
Release
Supported game versions
  • 1.12.2

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:explosionglass-1284779:8532802")

Learn more about Curse Maven

What's new

What was changed in the new version

Fixed detection so it only triggers on the actual external mod with id bwr_core / bwr-core.

Added scanning of the mods folder for real mod archives and directories. Added log output showing exactly which file or folder was detected.

Prevented the URI is not hierarchical crash by safely handling jar:file: code source URIs.

Added a “Don’t show again” button to the BigWorld notice screen.

Localized the notice buttons with English and Russian translation keys.

Code before / after

Before:

public static boolean isBigWorldDetected() {
    if (Loader.isModLoaded("bigworld")) {
        System.out.println("[ExplosionGlass] BigWorld detected via Forge Loader: bigworld");
        return true;
    }
    if (Loader.isModLoaded("bwr_core") || Loader.isModLoaded("bwr-core") || Loader.isModLoaded("bwr core")) {
        System.out.println("[ExplosionGlass] BigWorld detected via Forge Loader: bwr_core / bwr-core");
        return true;
    }
    // ...
}
backButton = new GuiButton(100, centerX - buttonWidth / 2, startY, buttonWidth, buttonHeight, "Вернуться в главное меню");
noShowButton = new GuiButton(101, centerX - buttonWidth / 2, startY + 26, buttonWidth, buttonHeight, "Больше не показывать");

After:

public static boolean isBigWorldDetected() {
    if (Loader.isModLoaded("bwr_core") || Loader.isModLoaded("bwr-core") || Loader.isModLoaded("bwr core")) {
        System.out.println("[ExplosionGlass] BWR core detected via Forge Loader: bwr_core / bwr-core");
        return true;
    }

    File modsDir = new File(System.getProperty("user.dir"), "mods");
    if (!modsDir.exists() || !modsDir.isDirectory()) {
        System.out.println("[ExplosionGlass] BWR core not detected: mods folder not found");
        return false;
    }

    File[] entries = modsDir.listFiles();
    if (entries == null) {
        System.out.println("[ExplosionGlass] BWR core not detected: unable to list mods folder");
        return false;
    }

    for (File entry : entries) {
        if (!entry.isFile()) continue;
        String lowerName = entry.getName().toLowerCase(Locale.ROOT);
        if (!lowerName.endsWith(".jar") && !lowerName.endsWith(".zip")) continue;
        if (isBwrCoreArchive(entry)) {
            System.out.println("[ExplosionGlass] BWR core detected in mods archive: " + entry.getAbsolutePath());
            return true;
        }
    }

    System.out.println("[ExplosionGlass] BWR core not detected in mods folder");
    return false;
}

backButton = new GuiButton(100, centerX - buttonWidth / 2, startY, buttonWidth, buttonHeight, I18n.format("gui.explosionglass.mainmenu"));
noShowButton = new GuiButton(101, centerX - buttonWidth / 2, startY + 26, buttonWidth, buttonHeight, I18n.format("gui.explosionglass.d

This mod has no related projects