Started by
SwivelSkittle
on
Topic category: Help with MCreator software
Hello!, I'm developing a mod for a vehicle that is just a simple flying machine, allowing the player to gain and lower in altitude, aswell as move around the sky similar to how a boat works.
I have my BlockBench model implemented into MCreator, and the functionality that lets the entity move and rotate with the players view, aswell as float mid air
But I have no clue how I would make the vehicle physically move up or down, and how I would bind that function to a key press
Any help would be appreciated.
Use player variable, get entity riding block, and set movement blocks for this.
Could you show an example of this? I can't get it to work :(
I did something similar, I did it in the version 2020.2
I'm lousy in English
Create two global variables. create an entity and in "On tick update",
up = "prueba"
down = "downg"
https://drive.google.com/file/d/1CMy8V9o477w8nSDfGJeTcg0-7pG6G9NC/view?…
Now, create two "key binding"
I used "space" to up
https://drive.google.com/file/d/1fOpuFqNklQg1I2TzjljXIfBYU1z4teb3/view?…
and "x" to Down
https://drive.google.com/file/d/1mjYQkczGaUedrUCSxIvlZh2lqG9DyGvs/view?…
There is another way to accomplish all of this with "Entity head pitch in degrees"
The photos have been deleted, I want to see them too