Confirmedusers
556
edits
mNo edit summary |
m (Clarification on grouped recipes.) |
||
(One intermediate revision by the same user not shown) | |||
Line 135: | Line 135: | ||
=== Next Steps... === | === Next Steps... === | ||
If you want to test your knowledge, consider doing the tasks under the ''Going Further'' section below. | |||
Now that you've had a proper introduction to variants, go take a look at the [[Modding:Content Tutorial Block Variants|Block Variants]] tutorial. This will give you even more experience in creating and using variants. | |||
== Going Further == | |||
Want to make some additional changes to this mod? Try and achieve the following things! | |||
Create a new colored wand. | |||
{| class="wikitable mw-collapsible mw-collapsed" | |||
|To achieve this... | |||
|- | |||
|Add a new state to the ''wandtype'' variant, and create a new colored texture that matches to your new state. Don't forget, if you are using the 'byType', you will need to add a new entry for your new wand. You will also need to add a new entry in your lang file. | |||
|} | |||
Make some new grid recipes, one for each wand color ([[Modding:Content Tutorial Simple Recipe|Simple Recipe Tutorial]]). For an extra challenge, see if you can work out how to create all three recipes from one file (Tip: arrays of recipes must be contained within square brackets ('''[ ]''')). | |||
{| class="wikitable mw-collapsible mw-collapsed" | |||
|To achieve this... | |||
|- | |||
|Create three new recipes based on the simple wand, making sure each one is unique. The output code for each is the resolved item code, for example "''advancedwand-blue''". Make sure your domains are correct, and [[Modding:Debugging Content|check the logs for errors]] if you struggle with this. | |||
To create more than one recipe in a file, place a comma after the final curly bracket ( '''}''' ), and then place your next recipe inside another set of curly brackets. When all recipes have been added, place an opening square bracket ( '''[''' ) at the very beginning of the file, and a closing square bracket ( ''']''' ) at the very end of the file. | |||
|} | |||
{{Navbox/contentmodding}} | {{Navbox/contentmodding}} | ||
</translate> | </translate> |