Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import crafttweaker.item.IItemStack;
- import crafttweaker.item.IItemCondition;
- val IArray = [
- <pvj:planks_willow>,
- <pvj:planks_mangrove>,
- <pvj:planks_palm>,
- <pvj:planks_redwood>,
- <pvj:planks_fir>,
- <pvj:planks_pine>,
- <pvj:planks_aspen>,
- <pvj:planks_maple>,
- <pvj:planks_baobab>,
- <pvj:planks_cottonwood>,
- <pvj:planks_juniper>,
- <pvj:planks_cherry_blossom>,
- <pvj:planks_jacaranda>,
- <pokecube:plank_pecha>,
- <pokecube:plank_oran>,
- <pokecube:plank_leppa>,
- <pokecube:plank_sitrus>,
- <pokecube:plank_enigma>,
- <pokecube:plank_nanab>,
- <rustic:planks>,
- <traverse:fir_planks>,
- <tropicraft:plank>
- ] as IItemStack[];
- val VArray = [
- "planks willow",
- "planks mangrove",
- "planks palm",
- "planks redwood",
- "planks fir",
- "planks pine",
- "planks aspen",
- "planks maple",
- "planks baobab",
- "planks cottonwood",
- "planks juniper",
- "planks cherry_blossom",
- "planks jacaranda",
- "plank pecha",
- "plank oran",
- "plank leppa",
- "plank sitrus",
- "plank enigma",
- "plank nanab",
- "rustic planks",
- "traverse planks",
- "tropic plank",
- ] as string[];
- val NArray = [
- "pvj:planks_willow",
- "pvj:planks_mangrove",
- "pvj:planks_palm",
- "pvj:planks_redwood",
- "pvj:planks_fir",
- "pvj:planks_pine",
- "pvj:planks_aspen",
- "pvj:planks_maple",
- "pvj:planks_baobab",
- "pvj:planks_cottonwood",
- "pvj:planks_juniper",
- "pvj:planks_cherry_blossom",
- "pvj:planks_jacaranda",
- "pokecube:plank_pecha",
- "pokecube:plank_oran",
- "pokecube:plank_leppa",
- "pokecube:plank_sitrus",
- "pokecube:plank_enigma",
- "pokecube:plank_nanab",
- "rustic:planks",
- "traverse:fir_planks",
- "tropicraft:plank"
- ] as string[];
- for i, item in IArray {
- mods.betterwithmods.Saw.add(IArray[i], [<betterwithmods:siding_wood>.withTag({texture: {Properties: {variant: VArray[i]}, Name: NArray[i]}}), <betterwithmods:siding_wood>.withTag({texture: {Properties: {variant: VArray[i]}, Name: NArray[i]}})]);
- }
- for i, item in VArray {
- mods.betterwithmods.Saw.add(<betterwithmods:moulding_wood>.withTag({texture: {Properties: {variant: VArray[i]}, Name: NArray[i]}}), [<betterwithmods:moulding_wood>.withTag({texture: {Properties: {variant: VArray[i]}, Name: NArray[i]}}), <betterwithmods:moulding_wood>.withTag({texture: {Properties: {variant: VArray[i]}, Name:NArray[i]}})]);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement