I need to do an air elevator, but I dont know how to do activation and deactivation

Started by Qywolf on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need to do an air elevator, but I dont know how to do activation and deactivation

I have an air elevator like a transparent block that you enter and levitation is superimposed on you. And I want it to be turned off initially and at the redstone signal, it and all neighboring blocks of the stopped elevator become blocks of the active elevator, which already imposes levitation. Conversely, when the redstone signal is turned off, it returns to its original standing position. The elevator already exists, only activation remains.

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Getting the player to moveā€¦
Wed, 12/27/2023 - 07:06

Getting the player to move is pretty easy, you can either literally give them the levitation effect, or use the 'override motion vector' function to set their velocity while they're in the elevator. The tricky part is going to be getting the neighboring blocks to move smoothly. You could try messing around with falling block entities, but I'm really not sure where you'd start with that.