Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import crafttweaker.block.IBlock;
- import crafttweaker.block.IBlockDefinition;
- import crafttweaker.block.IBlockProperties;
- import crafttweaker.item.IItemStack;
- import crafttweaker.item.IItemDefinition;
- //0.2
- val HB2 = [
- <minecraft:tallgrass:*>,
- <minecraft:deadbush>,
- <minecraft:double_plant:*>
- ] as IItemStack[];
- //2
- val HB20 = [
- <minecraft:grass>,
- <minecraft:dirt>,
- <minecraft:grass_path>,
- <minecraft:farmland>//,
- //<minecraft:double_plant:*>
- ] as IItemStack[];
- //3
- val HB30 = [
- <minecraft:log:*>,
- <minecraft:log2:*>
- ] as IItemStack[];
- val HB50 = [] as IItemStack[];
- //blocks harder to break
- for block in HB2{
- block.hardness = 0.2;
- }
- for block in HB20{
- block.hardness = 2.0;
- }
- for block in HB30{
- block.hardness = 3.0;
- }
- for block in HB50{
- block.hardness = 5.0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement