Modding:Advanced Items: Difference between revisions

From Vintage Story Wiki
No edit summary
Line 5: Line 5:
= Variant Switcher =
= Variant Switcher =


Let's create an item, which allows you to switch through all different kinds of variants for a block.
Let's create an item, which allows you to switch through all different kinds of variants for a block by right-clicking it.


== Item Assets ==
== Item Assets ==

Revision as of 08:39, 9 August 2017


It's highly recommended to read Creating Items first. Additionally this tutorial requires a development environment. If you don't have one already you should read the tutorial Setting up a dev environment.

Variant Switcher

Let's create an item, which allows you to switch through all different kinds of variants for a block by right-clicking it.

Item Assets

The Item Class

Testing

Distribution