Ninjabrain-bot

Revision as of 14:40, 31 August 2026 by Nyxar77 (talk | contribs) (add ninjabrain-bot wiki page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Ninjabrain Bot is a stronghold calculator for Minecraft speedrunning.

Ninjabrain Bot

Native Application

Operating SystemLinux, macOS, Windows
LicenseGNU General Public License v3.0
External links
GitHubNinjabrain1/Ninjabrain-Bot
DocumentationGitHub Wiki

Installation

Ninjabrain Bot is available in Nixpkgs as ninjabrain-bot.

NixOS

Add it to environment.systemPackages:

{
  environment.systemPackages = with pkgs; [
    ninjabrain-bot
  ];
}

Home Manager

Home Manager can install Ninjabrain Bot and manage its preferences declaratively:

{
  programs.ninjabrain-bot = {
    enable = true;
    package = pkgs.ninjabrain-bot;

    settings = {
      language = "en-US";
      windowSize = "small";
      showNetherCoordinates = true;
      theme = 1;
    };
  };
}

The preferences file is managed at ~/.java/.userPrefs/ninjabrainbot/prefs.xml. Changes made through the application's settings window will be replaced on the next Home Manager activation.

See the Home Manager option reference for all available programs.ninjabrain-bot.settings options.

Hyprland

Ninjabrain Bot is a Java XWayland application. When tiled, Hyprland can give it a large window while the application only draws its interface in part of it, leaving an empty black area.

Float the main window instead. Do not set a fixed size, as Ninjabrain Bot manages its own window size.

Hyprland 0.55 and later

Add this to ~/.config/hypr/hyprland.lua:

hl.window_rule({
  name = "ninjabrain-bot",
  match = {
    class = "^ninjabrainbot-Main$",
  },
  float = true,
  center = true,
})

Older Hyprland configurations

Add these rules to ~/.config/hypr/hyprland.conf:

windowrule = float, match:class ^ninjabrainbot-Main$
windowrule = center, match:class ^ninjabrainbot-Main$

The window class is case-sensitive and uses a hyphen: ninjabrainbot-Main.

See also