Stairs not inheriting proper Hardness and Resitance values

Published by nari0015 on
Status
Resolved
Issue description

I am making a mod for Minecraft 1.12.2 that add several building materials that are blast proof, and all the blocks I have made using the templates provided function as I need them to, how ever the stairs do NOT. While I can set the stairs Hardness and Resistance values to match the full blocks they do not actually use the set values and instead seam to only use the default values.

Included is a workspace I created with just one stair using the same settings as I am in my mod, it has the same behavior for the stairs as I am experiencing in my mods workspace.

 

any help would be greatly appreciated, thanks in advance and thanks for this great tool.

Issue comments

Checking the generated code:

Code for stairs

resistance is set. It could be that stairs ignore this setting. Try changing the material type if that would help.

Otherwise it could be that 1.12.2 ignores this setting for stairs, it would not be the first time for such a thing to happen.

I will check why this could be happening but the parameter might be just ignored by extending Stairs and if this is the case there is not much to be done.