Started by
Quest_Bob
on
Topic category: Help with Minecraft modding (Java Edition)
So, I would like to have a biome with wind that pushes the player slowly, I don't want any visual wind, just the pushing effect, but I only want it to stay within that certain biome. Is there any way this could be possible? If so, a tutorial would be greatly apreciated :)
Override the motion vector of player (and entity) if biome they are in = your biome. You can make it always push in one direction or have it change based on the time of day or anything really, Then you override motion to x delta movement - x wind velocity, y delta movement - y wind velocity, z delta movement - z wind velocity. Alter the x y z wind velocities as variables, probably don't need y though. Run the override motion on player tick and or entity tick global trigger. Use a world tick trigger to change the wind velocity ie every 10,000 game ticks the x and z values randomise to any number between -0.5 and 0.5.
It worked!!! Thanks for the help :D