"Is block ladder?" option for blocks

Upvotes: 13
Issue description

If this option is checked, the block behaves like ladders and vines (mobs can climb this block provided it's not full and they're colliding with a solid wall)

The required code (at least for 1.12.2) is:

@Override
public boolean isLadder(IBlockState state, IBlockAccess world, BlockPos pos, EntityLivingBase entity) {
	return true;
}

 

Issue comments

You could also add "Is block web" so it would be passable and make the player fall down slowly and you should also add "Set the player's fall speed to 'X' number"

You could also add "Is block web" so it would be passable and make the player fall down slowly and you should also add "Set the player's fall speed to 'X' number"

This is doable by procedures



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.