Entity without a hitbox

Started by DeepResonanceX on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity without a hitbox

Hey, i'm making a mod that adds a shield hability that resembles the one from Sonic, i made a custom entity that follows the player while they're shielded as a visual for shielded players. How could i make the entity have no hitbox but be visible? I tried setting the bounding box to all 0's but it just becomes invisible. I want it to be visible, but have no hitbox so it doesn't interfere with the player's actions like combat, building, etc. How could i do this?

Joined Oct 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I was trying to achieve…
Sat, 10/10/2026 - 05:53

I was trying to achieve something similar, but with the same unfortunate result.
I have a prismarine bubble shield that I was spawning and then immediately making it mount onto the player, but the bubble not only obstructs attacks and interactions for the player, but also for other entities like zombies that I have the bubble mount. The zombie will just stand there aimlessly for as long as the bubble rides it. But then if I reduce the hitbox of the entity, it is invisible even with extremely high tracking range.

This is on V2024.4. Not sure if it's an MCreator bug or a Minecraft quirk, but it's not dissimilar to an MCreator V2024.4 issue related to the modifying of projectile entity hitbox sizes being buggy.