How would I make it so you can still destroy a block, but the player (and other mobs) can't collide with it?

Started by Bigmancozmo on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How would I make it so you can still destroy a block, but the player (and other mobs) can't collide with it?

I am trying to make custom decorations for my mod. When I was making some, however, I set the bounding box size to the size of the model, except now you can collide with it. Since it is tiny (ex. flowers), I do not want the player to collide with them, but I want the player to be able to destroy them. I tried setting the box size to 0x0, except that prevents you from destroying them. So, how would I go through doing this? Do I need to use custom code?

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Go to the properties tab and…
Tue, 06/21/2022 - 06:42

Go to the properties tab and enable for your decoration block >> Can walk through the block?

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks! Must've missed that.
Tue, 06/21/2022 - 13:40

Thanks! Must've missed that.