Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.25 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. Texture is defined in the shape",
  32.         selectionBoxes: {
  33.             "body-front": { x1: 0, y1: 0, z1: 0, x2: 0.25, y: 0.3, x2: 0.25 },
  34.             ....
  35.         },
  36.         interactions: [
  37.            {
  38.                
  39.                input: "#needle",
  40.                interaction: { type: "rightmousedown", target: "body-front", duration: 3 },
  41.                shape: { base: "armorcrafting/gambeson/linen-body-front-layer2" },
  42.                shapeMergeType: "Replace",
  43.            },
  44.            [ .... more steps .... ]
  45.         ]
  46.    },
  47.    {
  48.         name: "Add metal scales",
  49.         selectionBoxes: {
  50.             "body-front": { x1: 0, y1: 0, z1: 0, x2: 0.25, y: 0.3, x2: 0.25 },
  51.             ....
  52.         },
  53.         interactions: [  
  54.            {
  55.                input: "#metal",
  56.                interaction: { type: "rightmousedown", target: "body-front", duration: 3 },
  57.                shape: { base: "armorcrafting/gambeson/linen-body-front-scales" },
  58.                texture: { base: "block/metal/ingot/{metal}" },
  59.                shapeMergeType: "Add",
  60.            }
  61.         ]
  62.     }
  63. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement