MalisisDoors

MalisisDoors

48M Downloads

3x3 doors break too easily?

otakup0pe opened this issue ยท 1 comments

commented

This might just be me being confused. I've noticed that its possible to break the large 3x3 doors with a simple tap (left click) of an empty hand. My expectation is that it would require an axe to bring them down, similar to vanilla doors.

This is on 1.12 with whatever the latest (as of today) is coming down from curseforge into a custom modpack.

commented

Worked around this with crafttweaker for now.

import crafttweaker.item.IItemStack;
import crafttweaker.block.IBlockDefinition;

// set realistic hardness for fancy doors
val malisisMetalDoors = [
    <malisisdoors:big_door_iron_3x3>,
    <malisisdoors:big_door_rusty_3x3>
] as IItemStack[];

val malisisWoodenDoors = [
    <malisisdoors:big_door_oak_3x3>,
    <malisisdoors:big_door_spruce_3x3>,
    <malisisdoors:big_door_acacia_3x3>,
    <malisisdoors:big_door_jungle_3x3>,
    <malisisdoors:big_door_birch_3x3>,
    <malisisdoors:big_door_dark_oak_3x3>
] as IItemStack[];

for door in malisisMetalDoors {
   door.hardness = 1;
}

// apparently you have to define the tool via block def?
for door in malisisWoodenDoors {
   var a_block as IBlockDefinition = door.asBlock().definition;
   a_block.setHarvestLevel("axe", 1);
}