description | cover | coverY |
---|---|---|
Custom content in Origami is written in YAML, and can be reloaded with subcommands of the "/oc" command in-game. |
0 |
{% hint style="info" %}
Learn about the YAML format here!
{% endhint %}
{% hint style="info" %} Both blocks and items can have custom models defined. Here's how: {% endhint %}
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.
{% hint style="info" %} For more information on models, see the Minecraft Wiki. {% endhint %}
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"
}
}