-
Notifications
You must be signed in to change notification settings - Fork 0
Shaped Craft
Heads with this source type can be crafted by putting the ingredients in a fixed shape within the crafting grid.
Source Type Key: SHAPED_CRAFT
Required Permissions: decorheads.craftheads
myhead:
name: My Head
texture: eyJ0ZXh0dXJlcyI6eyJTS0lOI...
sources:
my-drop-source:
source-type: SHAPED_CRAFT
ingredients:
- OAK_PLANKS
- PAPER
grid:
- '0 0 0'
- '0 1 0'
- '0 / 0'
Tag: ingredients
Description: Sets the ingredients required to craft this head. There must be at least one, and at most nine ingredients.
Example:
ingredients:
- GLASS_BOTTLE
- INK_SAC
Tag: grid
Description: Sets the shape ingredients must be placed in to craft the head.
Within the grid, ingredients are identified by their position in the ingredients list, starting at 0. Empty spaces can be set using /
.
Example:
ingredients:
- GLASS_BOTTLE # Position 0
- INK_SAC # Position 1
grid:
- '0 0 0'
- '0 1 0'
- '0 / 0'
The grid can be of a variable size, and will automatically work on smaller crafting grids, such as the inventory, as long as it fits.
2x2 Example:
grid:
- '0 0'
- '1 1'
Alternatively, the grid does not have to be a perfect square, and can be defined as lines.
Example:
grid: grid:
- '0' - '0 1 0'
- '1' OR
- '0'
This source has no additional filters.
Still lost? Found an error? Feel free to tweet me with any questions!
Drops:
Crafting: