Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MOW:Making New Items: Difference between revisions

From StateCraft Wiki
Created page with "Below is an example of a 'crate packer' recipe, it takes an input of raw iron, and outputs iron ingots have a wait period of 2 seconds (2x 20 tick delays). This example recipe also requires a permission to craft, and has multiple stages to it! <pre>     # ID of the recipe              ingot_smasher:       # The crafting table used for this recipe       base: "nexo:crate_packer"       # The required item(s) for this recipe       tool: # 'mc:..."
 
No edit summary
Line 24: Line 24:
            # Permission required to craft the item
            # Permission required to craft the item
            permission: "recipes.blacksmith.iron"
            permission: "recipes.blacksmith.iron"
            #sounds:
            sounds:
            #  - ""
              - sound: 'minecraft:entity.experience_orb.pickup'
                volume: 1.0
                pitch: 1.5
                delay: 15
              - sound: 'minecraft:block.anvil.use'
                volume: 1.0
                pitch: 1.69
                delay: 0
          2:
          2:
            delay: 20
            delay: 20

Revision as of 11:27, 10 March 2026

Below is an example of a 'crate packer' recipe, it takes an input of raw iron, and outputs iron ingots have a wait period of 2 seconds (2x 20 tick delays). This example recipe also requires a permission to craft, and has multiple stages to it!

    # ID of the recipe          
    ingot_smasher:
      # The crafting table used for this recipe
      base: "nexo:crate_packer"
      # The required item(s) for this recipe
      tool:
        # 'mc:' for mc items, 'nexo:' for nexo items! 
        # "mc:raw_iron"
        # "nexo:grape"
        - "mc:raw_iron"
      transformation:
        stages:
        # Your recipe can have multiple stages
          1:
            # Deletes the crafting table on use if true
            remove: false
            # Delay in ticks until the craft goes through
            delay: 20
            # Number to reduce items in inventory by
            reduce_item_inventory: 0
            # Permission required to craft the item
            permission: "recipes.blacksmith.iron"
            sounds:
              - sound: 'minecraft:entity.experience_orb.pickup'
                volume: 1.0
                pitch: 1.5
                delay: 15
              - sound: 'minecraft:block.anvil.use'
                volume: 1.0
                pitch: 1.69
                delay: 0
          2:
            delay: 20
            reduce_item_inventory: 1
            # Items to drop when the craft is finished
            # "item_id;amount;chance"
            # "mc:glass;1;100" is 100% chance to give 1 glass
            drops:
              - "mc:iron_ingot;1;100"