Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.28 KB | None | 0 0
  1. input: {
  2.   "linen": { type: "block", code: "linen-down" },
  3.   "needle": { type: "item", code: "needle", isTool: true },
  4.   "metal": { type: "item", code: "metalscales-*", allowedVariants: ["copper", "tinbronze", "iron"] }
  5. },
  6. output: { type: "item", code: "armor-body-plate-{metal}" },
  7. productionSteps: [
  8.     {
  9.         name: "Add linen base layer",
  10.         selectionBoxes: {
  11.             "body-front": { x1: 0, y1: 0, z1: 0, x2: 0.25, y: 0.3, x2: 0.25 },
  12.             ....
  13.         },
  14.         interactions: [
  15.             {
  16.                input: "#linen",
  17.                interaction: { type: "rightmousedown", target: "body-front", duration: 0 },
  18.                shape: { base: "armorcrafting/gambeson/linen-body-front-layer1" },
  19.                shapeMergeType: "Add",
  20.            },
  21.            {
  22.                input: "#linen",
  23.                interaction: { type: "rightmousedown", target: "body-back", duration: 0 },
  24.                shape: { base: "armorcrafting/gambeson/linen-body-back-layer1" },
  25.                shapeMergeType: "Add",
  26.            },
  27.            [ ....more step number 1 steps for arms here.... ]
  28.         ]
  29.    },
  30.    {
  31.         name: "Stitch linen layer",
  32.         "__comment": " Texture is defined in the shape",
  33.         selectionBoxes: {
  34.             "body-front": { x1: 0, y1: 0, z1: 0, x2: 0.25, y: 0.3, x2: 0.25 },
  35.             ....
  36.         },
  37.         interactions: [
  38.            {
  39.                
  40.                input: "#needle",
  41.                interaction: { type: "rightmousedown", target: "body-front", duration: 3 },
  42.                shape: { base: "armorcrafting/gambeson/linen-body-front-layer2" },
  43.                shapeMergeType: "Replace",
  44.            },
  45.            [ .... more steps .... ]
  46.         ]
  47.    },
  48.    {
  49.         name: "Add metal scales",
  50.         selectionBoxes: {
  51.             "body-front": { x1: 0, y1: 0, z1: 0, x2: 0.25, y: 0.3, x2: 0.25 },
  52.             ....
  53.         },
  54.         interactions: [  
  55.            {
  56.                input: "#metal",
  57.                interaction: { type: "rightmousedown", target: "body-front", duration: 3 },
  58.                shapeMergeType: "Add",
  59.                shape: { base: "armorcrafting/gambeson/linen-body-front-scales" },
  60.                texture: { base: "block/metal/ingot/{metal}" },
  61.            }
  62.         ]
  63.     }
  64. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement