Content Creator

Content Creator

619k Downloads

Double Slabs do not get their properties set correctly and do not drop themselves

cuberyl-catastrophe opened this issue ยท 1 comments

commented

#loader preinit
import mods.contenttweaker.VanillaFactory;
import contentcreator.block.GenericBlock;
import crafttweaker.block.IMaterial;

//Wyrmwood
var wyrmwood_slab = GenericBlock.createSlab(IMaterial.wood(), "wyrmwood_slab");
wyrmwood_slab.setStrength(2.0, 3.0);
wyrmwood_slab.setSoundType(soundtype:wood);
wyrmwood_slab.setHarvestLevel("axe", 0);
wyrmwood_slab.register();

Everything works fine except the double slab doesn't have properties (instantly breaks, no preferred tool, etc) and doesn't drop anything

commented

Should be fixed in v1.3.93, let me know if it works out for you.