Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

Adding your own custom edibles

Jacky edited this page Jun 28, 2021 · 4 revisions

As of version 1.3 of Dimensional Edibles, you can add your own custom cakes / apples for any modded dimensions you would like!

  • To add your own custom cakes / apples, look into the customedible section of the mod's config file

    • Here's an example of the config:
    • This would create edibles for the Mining Dimension (from Aroma1997's Dimensional World) and the Deep Dark (from Extra Utilities 2)
    • Mining Dimension using Stone Pickaxe as cake fuel while the Deep Dark using Cobblestone as cake fuel
    customedible {
        # Set a list of dimensions to add cakes / apples for.
        # Format: <Dimension ID>, <Cake / Apple Name>
        # Example: 0, Overworld
        # Note: "Cake" is automatically appended onto the end of the name for cakes.
        S:dimensions <
            6, Mining Dimension
            -11325, Deep Dark
        >
    
        customcake {
            # Set the fuel used by Custom Cakes.
            # Format: <Dimension ID>, <Fuel Registry Name>
            # Example: 0, minecraft:apple
            S:fuel <
                6, minecraft:stone_pickaxe
                -11325, minecraft:cobblestone
            >
    
            # Set to true to make all Custom Cakes pre-fueled upon placed.
            B:preFueled=false
        }
    
    }
    
  • You may add as many custom cakes / apples as you like, but you have to add the crafting recipes for the cakes / apples yourself via CraftTweaker as this feature is mainly intended for modpack creators

  • To add custom recipe for a specific custom cake / apple, the item IDs you need to be using would be:

    • dimensionaledibles:custom_cake for the cake
      • NBT string value cakeName for the dimension name of the cake
    • dimensionaledibles:custom_apple for the apple
      • NBT string value appleName for the dimension name of the apple
    • NBT integer value dimID for the dimension ID of both the cake and the apple
    • CraftTweaker examples:
      • <dimensionaledibles:custom_cake>.withTag({cakeName: "Mining Dimension", dimID: 6})
      • <dimensionaledibles:custom_apple>.withTag({appleName: "Mining Dimension", dimID: 6})
    • If you've found yourself lost while trying to create a recipe for your custom edibles with CraftTweaker, you can always hold the custom edibles on your hand and use /ct hand to dump the full item ID along with the NBT tags
Clone this wiki locally