Page cover

✍️Creating Custom Content

Custom content in Origami is written in YAML, and can be reloaded with subcommands of the "/oc" command in-game.

Learn about the YAML format here!

Model data

Both blocks and items can have custom models defined. Here's how:

Block textures are stored at <server folder>/plugins/Origami/custom/MY-CONTENT-PACK-NAME/textures/block/<texture name>.png and will be automatically added to the generated resource pack. For items, replace "block" here with "item".

In a custom block's YAML file, a model field with the value of rainbow would point to: <server folder>/plugins/Origami/custom/MY-CONTENT-PACK-NAME/models/block/rainbow.json. Again, replace "block" with "item" fo the equivalent folder for custom item models.

JSON Models

For more information on models, see the Minecraft Wiki.

Below is an example of a simple custom block using the texture mosaic on all sides.

{
    "parent": "minecraft:block/cube_all",
    "textures": {
        "all": "origami:block/mosaic"
    }
}

Last updated