How to make blocks push down on Pressure Plates

Started by TehEpicDoge on

Topic category: Help with modding (Java Edition)

Last seen on 02:56, 17. Mar 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make blocks push down on Pressure Plates

This might seem a bit random, but I wanna make it so a block that I've made pushes down/activates a Pressure Plate. Is it even possible to do that, cause I can't really find anything on how to do it.

Last seen on 07:43, 25. Apr 2024
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Like when the block is…
Fri, 02/16/2024 - 07:45

Like when the block is dropped? Or just when in the world?

Last seen on 14:11, 22. Apr 2024
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i think he means like a…
Fri, 02/16/2024 - 14:31

i think he means like a weighted pressure plate?

Last seen on 02:56, 17. Mar 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So I have a block with…
Fri, 02/16/2024 - 15:20

So I have a block with gravity and I wanna make it so that you can activate a pressure plate when the block is on top of it, instead of making it destroy itself. Hopefully this will give you better context.

Last seen on 14:11, 22. Apr 2024
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In vanilla gravity blocks…
Fri, 02/16/2024 - 18:07

In vanilla gravity blocks will destroy itself so you would need to do custom code to do that

Last seen on 02:56, 17. Mar 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ah, ok
Fri, 02/16/2024 - 18:21

Ah, ok

Last seen on 07:43, 25. Apr 2024
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You might be able to create…
Wed, 02/21/2024 - 03:02

You might be able to create a custom entity that'd do a similar thing? SImilar to how vanilla blocks use a fallingBlock entity for blocks with gravity - you could spawn a custom entity that looks like your block and simulate it falling when not supported. That way when it comes into contact with the pressure plate it shouldn't despawn. Haven't tried anything but maybe give that a go