Jumping under block

Started by notpro123 on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined Aug 2023
Points:
113

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
Jumping under block

I'm trying to do mario like block that if you hit the bottom of the block something happens can anyone help me?

Active 2 weeks ago
Joined Aug 2023
Points:
149

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 32
Use the 'When entity…
Thu, 08/10/2023 - 18:15

Use the 'When entity collides in the block' function. You may have to make your block model slightly smaller at the bottom (change your bounding box to start at Y = 1, instead of Y = 0).

To certify the player being below the block, build this in the procedure:
'If (y position of (Event/Target Entity)) < (y)'

do: (put the rest of your procedure here).

Active 20 hours ago
Joined May 2023
Points:
185

User statistics:

  • Modifications: 1
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 46
is the 'when entity collides…
Thu, 08/10/2023 - 20:49

is the 'when entity collides in the block' function based on the model?

Active 4 months ago
Joined Jun 2022
Points:
350

User statistics:

  • Modifications: 0
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 19
yes
Thu, 08/10/2023 - 23:24

yes

Active 1 year ago
Joined Aug 2023
Points:
113

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
Thanks  
Fri, 08/11/2023 - 04:19

Thanks

 

Active 1 year ago
Joined Aug 2023
Points:
113

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
In what category is when…
Fri, 08/11/2023 - 04:55

In what category is when entity collides in the block function?

 

Active 20 hours ago
Joined May 2023
Points:
185

User statistics:

  • Modifications: 1
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 46
"is entity inside a solid…
Thu, 08/17/2023 - 00:23

"is entity inside a solid wall" inside the entity data section

I think the only way to determine if any entity is in specific block is through the blocks "when entity collides in block trigger"