On Player Collides Event

Started by Kane on Wed, 08/09/2017 - 12:52

Topic category: Advanced modding

Last seen on 12:58, 23. Sep 2019
Joined Aug 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
On Player Collides Event
Wed, 08/09/2017 - 12:52

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).

Last seen on 23:11, 12. Jul 2019
Joined Jun 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 12:58, 23. Sep 2019
Joined Aug 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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: