Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.37 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.                selectionBoxes: [ .... ],
  24.                interaction: { type: "rightmousedown", target: "body-back", duration: 0 },
  25.                shape: { base: "armorcrafting/gambeson/linen-body-back-layer1" },
  26.                shapeMergeType: "Add",
  27.            },
  28.            [ ....more step number 1 steps for arms here.... ]
  29.         ]
  30.    },
  31.    {
  32.         name: "Stitch linen layer. 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.                selectionBoxes: [ .... ],
  42.                stepNumber: 2,
  43.                interaction: { type: "rightmousedown", target: "body-front", duration: 3 },
  44.                shape: { base: "armorcrafting/gambeson/linen-body-front-layer2" },
  45.                shapeMergeType: "Replace",
  46.            },
  47.            [ .... more steps .... ]
  48.         ]
  49.    },
  50.    {
  51.         name: "Add metal scales",
  52.         selectionBoxes: {
  53.             "body-front": { x1: 0, y1: 0, z1: 0, x2: 0.25, y: 0.3, x2: 0.25 },
  54.             ....
  55.         },
  56.         interactions: [  
  57.            {
  58.                input: "#metal",
  59.                interaction: { type: "rightmousedown", target: "body-front", duration: 3 },
  60.                shapeMergeType: "Add",
  61.                shape: { base: "armorcrafting/gambeson/linen-body-front-scales" },
  62.                texture: { base: "block/metal/ingot/{metal}" },
  63.            }
  64.         ]
  65.     }
  66. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement