On Player Collides Event

Started by Kane on

Topic category: Advanced modding

Joined Aug 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
On Player Collides Event

It seems that this event is not working properly, since when I'm on top of the block, nothing will happen.

The only way to make this event work, is to make a block with reduced bounding box (0.9 already works), so I was wondering, is there a solution for this?
 

I want through MCreator 1.6.6, where this event works properly, but the code is exaxtly the same as that for this version (except for the damage source that has to be capitalized).

Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It may only happen when you
Wed, 08/09/2017 - 23:17

It may only happen when you are in the block's area. You can make the player not able to collide with it using the Isn't Collideable setting or you can set the block's box to .9.

Joined Aug 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:It may only happen when you
Fri, 08/11/2017 - 09:05

@#1 mmm I remember in old versions when I stand on a block, I got the effect I setted (wasn't collidable and bouncing = 1).

I know it works setting it to 0.99 but since it's a tree block, leaves will "fall" when the bouncing are not 1 D: