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 modding (Java Edition)

Last seen on 00:31, 19. Apr 2024
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?

Last seen on 08:09, 24. Apr 2024
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?

Last seen on 00:31, 19. Apr 2024
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.

Last seen on 11:34, 9. Oct 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(No subject)
Sun, 07/10/2022 - 02:27

a