Oh, sorry, I explained my problem poorly, they can climb walls but they can't when riding.
I can set it to true to give it the climbing ability, but it climbs down air blocks when it falls.
So I've been trying to create a ride-able spider, everything works fine, but they don't appear to have the ability to climb walls when I start riding them.
Here's the code, it's taken directly from the EntitySpider code.
@Override
public void onUpdate()
{
super.onUpdate();
if (!this.world.isRemote)
{
this.setBesideClimbableBlock(this.collidedHorizontally);
}
}
I'm sorry if this is a basic fix, I'm pretty new at modding and Java as a whole.
7 replies
Important Information
By using this site, you agree to our Terms of Use.