make the player crawl to a height of 1 block

Started by Darknessay on

Topic category: Help with modding (Java Edition)

Last seen on 12:50, 18. Sep 2024
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
make the player crawl to a height of 1 block

as you know, if you push a block onto the player's head with a piston, so that the player remains standing in a space of 1 block, the player's camera will lower, and the player will "lie down" and crawl. 
I need to cause the same effect.

more details: I'm making a monster crawling on the ground. when it catches up the player, the player must fall and be crushed by this monster and look at it from a bottom angle to see the mouth on the monster's stomach.
How can i do it?

Last seen on 13:05, 18. Sep 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There is a player animations…
Sat, 09/14/2024 - 16:13

There is a player animations plugin https://mcreator.net/plugin/91396/player-animator-forge-1192 which should help with this, use that to animate the player falling down and facing the entity. I havent used it before so I dont know its capabilities but you can try it out. It does add a dependency though, other than that plugin I dont think its possible without coding it.

Last seen on 12:50, 18. Sep 2024
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I almost insure that there…
Sat, 09/14/2024 - 22:28

I almost insure that there is an easier way to do it. 
I dont need any animations, i just want to make player look from lower height.
This mechanic is in vanilla, so there must be a command or a crutch to cause same effect.
But ty, ill try it if not find another way.

Last seen on 12:50, 18. Sep 2024
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For example:Can i make…
Sat, 09/14/2024 - 22:30

For example:
Can i make invisible block that only my monster could pass through?
In that case i could spawn invisible block under the player when monster catches him...