Skip to content

Conversation

@Jalvaviel
Copy link

Added Block Presets for Meteor, Cuboid Nuker Shape & MiniHud Nuker Shapes.

@PoTheMagicDragon
Copy link
Collaborator

PoTheMagicDragon commented Oct 24, 2025

A few ux things:

  • Having the search bar combined with the "add" a preset was a bit confusing. It would be nice to have them separate
  • It would be nice having an indicator or how many/ what blocks are in the list. Not a needed feature though (example, (32 blocks) or an overlay on top of the block that says +31 or something similar)

You can conditionally add setting based on if minihud is installed by adding them in the init block like so:

class Nuker : Module("Epic Nuker", "Epic nuker for nuking terrain") {
    private var miniHudShape: BoolSetting? = null
    init {
        if (minihudInstalled)
        miniHudShape = setting(generalGroup,
        "Mini Hud Shape",
        "Only breaks blocks in the Mini hud shape renderer",
        false)
    }
}

This makes it so that users who don't have minihud installed don't have an extra setting to comb through. You could also make the visible check based on if it's installed if that's easier

I'm still reviewing everything so I'll have to come back to this tomorrow. Have you put any thought on how to integrate this into rusher/ the command line? I'd like it at least working with the command line before it's merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants