Ninjabrain-bot
Ninjabrain Bot is a stronghold calculator for Minecraft speedrunning.
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.