So I am making a mod in a Modding Camp, and I want this normal block that I made. But I want it so that when you walk on it, it slows you down (like Soul Sand.) I tried to do it, but it caused me to go at the speed of light. I also asked the teacher, but he does not know how. Does anyone know how? Thanks!
Can you show some of the code, specifically the area that says onEntityCollidedWithBlock? Use {code} tags around the code (with [] instead of {}).
Rollback Post to RevisionRollBack
When posting a new thread: http://bit.ly/1nUXmYS If your problem has been solved, please consider adding [Solved] to beginning of the title! Ever heard of OpenEye? If you want to help me help you, get it now: http://bit.ly/1o0c3IW
I do have the code part that I tried. I even tried doing 0.1F, -0.001. But those did not work the way I expected it. (The code is in // so that it will ignore it for now.
I'm not sure 1.7.2 uses this.slipperiness, but you will nonetheless have to change 1.0F to something lower than 0.6F. I think 0.4F is Soul Sand, but don't quote me on that.
BTW, if that works, rub it in the teacher's face for me .
When posting a new thread: http://bit.ly/1nUXmYS If your problem has been solved, please consider adding [Solved] to beginning of the title! Ever heard of OpenEye? If you want to help me help you, get it now: http://bit.ly/1o0c3IW
Bad news and Good news: The bad news, your idea did not work (There was really no difference). The good news, I figured out how to make it work! I typed in 0.9 and it slowed me down! But thanks for your help!
Want to learn Minecraft History in Minecraft? Here you go: http://www.minecraftforum.net/forums/minecraft-discussion/creative-mode/2368408-mcmuseum-learn-minecraft-history-in-minecraft
When posting a new thread: http://bit.ly/1nUXmYS
If your problem has been solved, please consider adding [Solved] to beginning of the title!
Ever heard of OpenEye? If you want to help me help you, get it now: http://bit.ly/1o0c3IW
If the image does not show, it says:
this.slipperiness = 1F;
Program used: Eclipse using Minecraft 1.7.2
Want to learn Minecraft History in Minecraft? Here you go: http://www.minecraftforum.net/forums/minecraft-discussion/creative-mode/2368408-mcmuseum-learn-minecraft-history-in-minecraft
BTW, if that works, rub it in the teacher's face for me
When posting a new thread: http://bit.ly/1nUXmYS
If your problem has been solved, please consider adding [Solved] to beginning of the title!
Ever heard of OpenEye? If you want to help me help you, get it now: http://bit.ly/1o0c3IW
Want to learn Minecraft History in Minecraft? Here you go: http://www.minecraftforum.net/forums/minecraft-discussion/creative-mode/2368408-mcmuseum-learn-minecraft-history-in-minecraft