X

NOTICE

Are you sure you want to report this?

We've split up the commands, scripting and mods, and add ons category! Please be sure you get your thread in the right place.

3

Hitbox command

3 Comments

Post a new comment:

Please sign in to leave a comment.

  • 0
    Comment actions Permalink

    F3 + b

  • 0
    u8iuui11 commented
    Comment actions Permalink

    You can prevent your player from pushing/getting pushed by other entities hitboxes by creating a team, joining the team, and doing:
    /team modify <team> collisionRule never


    Also, ShadowPath79074
    F3+B doesn't enable/disable hitboxes, it only renders the hitboxes.

  • 0
    Blek Snek commented
    Comment actions Permalink

    u8iuui11: This is true, but sometimes the player may already be in a team. This command would be useful not only for making hitboxes not get in the way, but also for making custom hitboxes, for an example, used with special bosses. For instance, maybe you have to kill a boss at the end of a minigame, but the boss has a state where he can't be hit, and there is a special point where he can be hit. This command would be perfect for this. So not only simply colliding with other entities, but also hitting them, which is a bit difficult to do if your player is already in a team for some reason.