ItsAMysteriousYT Posted June 17, 2015 Posted June 17, 2015 I created a vehicle class, but i don't know how to get it drive up blocks (just one block in height). Hope somebody can help me PS: I tried with if(worldObj.getBlock (x,y,z)==Blocks.air...) but it does not work properly Quote
larsgerrits Posted June 17, 2015 Posted June 17, 2015 Set the stepHeight value to 1.0F for 1 block. Quote Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
ItsAMysteriousYT Posted June 17, 2015 Author Posted June 17, 2015 It is just extending Entity not EntityCreature or so Quote
larsgerrits Posted June 17, 2015 Posted June 17, 2015 The stepHeight value is in the Entity class... Quote Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
ItsAMysteriousYT Posted June 18, 2015 Author Posted June 18, 2015 I tried it and it didn't work!! Quote
Elix_x Posted June 18, 2015 Posted June 18, 2015 I tried it and it didn't work!! How and where you set it? Quote Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.