val oreFence = <ore:oreFence>;

var fence = <ore:oreFence>;
 
oreFence.add(<minecraft:fence:*>);
oreFence.add(<lotr:tile.fence:*>);
oreFence.add(<lotr:tile.fence2:*>);
oreFence.add(<lotr:tile.fence3:*>);
oreFence.add(<lotr:tile.fenceRotten>);

recipes.remove(<JABBA:upgradeStructural:6>);
recipes.remove(<JABBA:upgradeStructural:5>);
recipes.remove(<JABBA:upgradeStructural:4>);
recipes.remove(<JABBA:upgradeStructural:3>);
recipes.remove(<JABBA:upgradeStructural:2>);
recipes.remove(<JABBA:upgradeStructural:1>);
recipes.remove(<JABBA:upgradeStructural>);

recipes.addShaped(<JABBA:upgradeStructural:6>, [[fence, <minecraft:emerald>, fence], [<minecraft:emerald>, null, <minecraft:emerald>], [fence, <minecraft:emerald>, fence]]);
recipes.addShaped(<JABBA:upgradeStructural:5>, [[fence, <minecraft:end_stone>, fence], [<minecraft:end_stone>, null, <minecraft:end_stone>], [fence, <minecraft:end_stone>, fence]]);
recipes.addShaped(<JABBA:upgradeStructural:4>, [[fence, <ore:blockObsidian>, fence], [<ore:blockObsidian>, null, <ore:blockObsidian>], [fence, <ore:blockObsidian>, fence]]);
recipes.addShaped(<JABBA:upgradeStructural:3>, [[fence, <minecraft:diamond>, fence], [<minecraft:diamond>, null, <minecraft:diamond>], [fence, <minecraft:diamond>, fence]]);
recipes.addShaped(<JABBA:upgradeStructural:2>, [[fence, <minecraft:gold_ingot>, fence], [<minecraft:gold_ingot>, null, <minecraft:gold_ingot>], [fence, <minecraft:gold_ingot>, fence]]);
recipes.addShaped(<JABBA:upgradeStructural:1>, [[fence, <minecraft:iron_ingot>, fence], [<minecraft:iron_ingot>, null, <minecraft:iron_ingot>], [fence, <minecraft:iron_ingot>, fence]]);
recipes.addShaped(<JABBA:upgradeStructural>, [[fence, <ore:plankWood>, fence], [<ore:plankWood>, null, <ore:plankWood>], [fence, <ore:plankWood>, fence]]);

