semisolid block?

Started by swelkinn_n on

Topic category: Help with modding (Java Edition)

Last seen on 23:20, 6. Apr 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
semisolid block?

Is it possible to make a block that can be walked through on all sides except the top, but can be stood on like scaffolding?

climbing is not a requirement if this changes things significantly

Last seen on 18:09, 10. Jan 2024
Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
^^^^^this
Thu, 06/23/2022 - 19:47

^^^^^this

Last seen on 01:07, 18. Apr 2024
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can make block A have no…
Fri, 06/24/2022 - 12:18

You can make block A have no collisions, and block B have collisions. block A will be the one you are placing in the world, and block B will replace block A when the trigger "When entity walks on block" occurs for block A. Just from a quick scouring of the available procedures, you would prrobably have to use set block B to be a tile entity and use the Tick Update trigger to detect if there are no entities on top of it, in order to swap back to block A.

Last seen on 18:09, 10. Jan 2024
Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey Octave, thanks for the…
Sat, 06/25/2022 - 02:13

Hey Octave, thanks for the reply, it was very useful. Could you explain more how could the block detect if the player is above it?

Last seen on 01:07, 18. Apr 2024
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For block A you can use …
Sat, 06/25/2022 - 02:37

For block A you can use "entity walks on block" trigger to detect if the player is above it. For block B you will have to use on update tick trigger > create a local logic variable, and use entity iterator @ block x,y+1,z, size 1. If entity iterator = subtype(player) set local variable to true. After the iterator block, check if the variable is true and if so, replace block @x,y,z with block A.

Last seen on 12:02, 20. Mar 2024
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
...But this wouldn't work…
Wed, 08/02/2023 - 17:12

...But this wouldn't work for multiplayer as the block would become solid for everyone when one person stood ontop of it. :(