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 Tue, 06/21/2022 - 03:30

Topic category: Help with modding (Java Edition)

Last seen on 02:40, 22. Jul 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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?
Tue, 06/21/2022 - 03:30

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 02:30, 7. Aug 2022
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 02:40, 22. Jul 2022
Joined May 2022
Points:

User statistics:

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

Thanks! Must've missed that.

Last seen on 16:20, 4. Aug 2022
Joined May 2022
Points:

User statistics:

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

a