Advertisement
Guest User

CustomItems — compressedCobblestone.yml

a guest
Mar 16th, 2019
3,308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.83 KB | None | 0 0
  1. #####
  2. # From the Custom Items Minecraft Plugin — https://www.spigotmc.org/resources/63848/
  3. # By jojodmo — http://jojodmo.com
  4. #####
  5.  
  6. # This is in the file compressedCobblestone.yml
  7. # It is important that the name of the file remains CONSTANT, as this
  8. # is the id of the item. If this is changed, all items created using
  9. # the old ID will function as normal Minecraft items.
  10.   # REQUIRED. The friendly name of the item
  11.   name: "Compressed Cobblestone"
  12.  
  13.   # REQUIRED. The Minecraft item that the player gets
  14.   item:
  15.   # REQUIRED. The Minecraft material name of the item
  16.     material: COBBLESTONE
  17.  
  18.     # REQUIRED. The display name of the item
  19.     displayName: "&bCompressed Cobblestone"
  20.  
  21.     # OPTIONAL. The lore of the item, as a list. By default, each line appears gray
  22.     lore:
  23.     - "Place this item in"
  24.       - "a crafting table to"
  25.       - "uncompress it into"
  26.       - "9 cobblestone"
  27.  
  28.   # OPTIONAL. Whether or not the item can be used in place of its native Minecraft counterpart.
  29.   # For example, if canBeUsedGenerically was set to true, compressedCobblestone could be used
  30.   # In place of Cobblestone in crafting recipes. It is recommended to keep this false
  31.   # Default : false
  32.   canBeUsedGenerically: false
  33.  
  34.   # OPTIONAL. Whether or not the item can be placed as a block
  35.   # Default : if canBeUsedGenerically is set, canBeUsedGenerically
  36.   #         : if canBeUsedGenerically is not set, true
  37.   canBePlaced: true
  38.  
  39.   # OPTIONAL. Information about the item to be used in the information GUI
  40.   info:
  41.   # Valid info keys are description, usage, obtaining, and crafting
  42.     # The information for the crafting is automatically generated by the plugin. Only set it if you
  43.     # want to override the default GUI item.
  44.     description: "Each compressed cobblestone is made of nine cobblestone"
  45.     usage: "Place this item into a crafting table to uncompress it into 9 cobblestone"
  46.     obtaining: "You can get compressed cobblestone by crafting it, or trading with other players"
  47.  
  48.     # A list of items related to this item, for use in the information GUI.
  49.     # see the top of this file on referencing items
  50.     relatedItems:
  51.     - "minecraft:COBBLESTONE"
  52.  
  53.   # OPTIONAL. Custom recipes that can be used to craft this item.
  54.   # Formatting for this is very important, so pay close attention
  55.   recipes:
  56.   # Start each new recipe with a -, and indent all children, like this
  57.     -
  58.       # REQUIRED. Whether or not the recipe is a shaped recipe. This recipe is not shaped (shaped: false)
  59.       shaped: false
  60.  
  61.       # REQUIRED. All of the items required for the recipe. The amounts can add up to at most nine.
  62.       # Again, pay close attention to the formatting. Start each new item with a -, and indent all children.
  63.       # Because this recipe is not shaped (shaped: false), each child of items must have both 'item' and 'amount'
  64.       items:
  65.     -
  66.         # REQUIRED. the item; see referencing items above. This references cobblestone.
  67.         item: "minecraft:COBBLESTONE"
  68.  
  69.         # REQUIRED. the amount of the above item
  70.         amount: 9
  71.  
  72.       # OPTIONAL. The amount of compressedCobblestone created from this recipe. Defaults to 1
  73.       resultAmount: 1
  74.  
  75.     # Start of another recipe
  76.     -
  77.       # REQUIRED. this recipe is shaped (shaped: true)
  78.       shaped: true
  79.  
  80.       # REQUIRED. The shape of the recipe, because the recipe is shaped (shaped: true)
  81.       # each line represents a row in the crafting matrix.
  82.       # the number of characters in each line must be the same as the number of lines.
  83.       # to create a "small" recipe (one that can be crafted without a crafting table), use
  84.       # two lines of two characters each.
  85.       #
  86.       # Each character represents an item defined below in items. If the item is not defined below,
  87.       # then that square in the matrix does not need to be filled.
  88.       shape:
  89.       - "bbb"
  90.         - "bab"
  91.         - "bbb"
  92.  
  93.       # REQUIRED. All of the items required for the recipe.
  94.       # Again, pay close attention to the formatting. Start each new item with a -, and indent all children.
  95.       # Because this recipe is not shaped (shaped: false), each child of items must have both 'item' and 'key'
  96.       items:
  97.         # Start of a new item
  98.         -
  99.           # REQUIRED. the item; see referencing items above. This references cobblestone.
  100.           item: "minecraft:COBBLESTONE"
  101.  
  102.           # REQUIRED. a single character that references the item in the shape above
  103.           key: 'b'
  104.  
  105.         # Start of a new item
  106.         -
  107.           # REQUIRED. the item; see referencing items above. This references a diamond.
  108.           item: "minecraft:DIAMOND"
  109.  
  110.           # REQUIRED. a single character that references the item in the shape above
  111.           key: 'a'
  112.  
  113.       # OPTIONAL. The amount of compressedCobblestone created from this recipe. Defaults to 1
  114.       resultAmount: 16
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement