how to make block do a procedure when an entity collides with it without letting them walk through it? [SOLVED]

Started by MelodyAutumn on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to make block do a procedure when an entity collides with it without letting them walk through it? [SOLVED]
Wed, 01/18/2023 - 23:12 (edited)

hi, i'm working on a few new blocks for my parkour block mod and i'm trying to make a block that functions the same way honey blocks do when you slide down them, but without everything else that comes with honey blocks. i've tried using the "when entity collides in block" trigger but that only works if i get rid of the block's collision and i want it to stay solid like the honey block. i don't know java so i'm kinda limited to procedures at this point

all help is appreciated!

Edited by MelodyAutumn on Wed, 01/18/2023 - 23:12
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could activate its…
Tue, 01/17/2023 - 02:04

You could activate its tickrate and make a procedure in its tick update to check when entity or player is close to the block,

Then maybe adding slowfall or some simmilar effect for a few ticks.

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i'll give it a shot, thanks!
Wed, 01/18/2023 - 22:32

i'll give it a shot, thanks!

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it worked, thanks ^-^
Wed, 01/18/2023 - 23:11

it worked, thanks ^-^

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Great to hear! Good luck…
Thu, 01/19/2023 - 00:48

Great to hear! Good luck with your mod