#loader contenttweaker /* SkyFactory 4 ContentTweaker Blocks Script. */ import mods.contenttweaker.Block; import mods.contenttweaker.ResourceLocation; import mods.contenttweaker.VanillaFactory; function addBedrockProperties(block as Block) as Block { block.setBlockHardness(-1); block.setBlockResistance(18000000); block.setEntitySpawnable(false); block.setToolLevel(-1); block.setWitherProof(true); return block; } var compactMachineNetherWall as Block = VanillaFactory.createBlock("compact_machine_nether_wall", ); addBedrockProperties(compactMachineNetherWall); compactMachineNetherWall.setTextureLocation(ResourceLocation.create("contenttweaker:blocks/compact_machine_nether_wall")); compactMachineNetherWall.register(); var compactMachineEndWall as Block = VanillaFactory.createBlock("compact_machine_end_wall", ); addBedrockProperties(compactMachineEndWall); compactMachineEndWall.setTextureLocation(ResourceLocation.create("contenttweaker:blocks/compact_machine_end_wall")); compactMachineEndWall.register(); var compactMachineTwilightForestWall as Block = VanillaFactory.createBlock("compact_machine_twilight_forest_wall", ); addBedrockProperties(compactMachineTwilightForestWall); compactMachineTwilightForestWall.setTextureLocation(ResourceLocation.create("contenttweaker:blocks/compact_machine_twilight_forest_wall")); compactMachineTwilightForestWall.register(); var compactMachineLostCitiesWall as Block = VanillaFactory.createBlock("compact_machine_lost_cities_wall", ); addBedrockProperties(compactMachineLostCitiesWall); compactMachineLostCitiesWall.setTextureLocation(ResourceLocation.create("contenttweaker:blocks/compact_machine_lost_cities_wall")); compactMachineLostCitiesWall.register(); var compactMachineHuntingDimensionWall as Block = VanillaFactory.createBlock("compact_machine_hunting_dimension_wall", ); addBedrockProperties(compactMachineHuntingDimensionWall); compactMachineHuntingDimensionWall.setTextureLocation(ResourceLocation.create("contenttweaker:blocks/compact_machine_hunting_dimension_wall")); compactMachineHuntingDimensionWall.register(); var dust as Block = VanillaFactory.createBlock("dust", ); dust.setBlockHardness(0.7); dust.setBlockSoundType(); dust.setGravity(true); dust.setToolClass("shovel"); dust.setToolLevel(0); dust.register();