CS1 Custom Stuff 1

Information presented below this line is outdated syntax or information used for Custom Stuff 1. It will not work with Custom Stuff 2.

Creative plants

Custom plants with addtocreative not set to false.

The addtocreative attribute defines if a block will be in the creative inventory or not.

The syntax for this attribute is a single line:

addtocreative = false;


The default value for the addtocreative attribute is true so you only have to set this attribute if you want to remove your block from the creative inventory. This value can also be set for each damage value by using addtocreative1, addtocreative2, etc. This is very important to remember when following examples like on the plants example page where blocks should be hidden. An example of what happens when this is forgotten is shown in the picture on this page.

Community content is available under CC-BY-SA unless otherwise noted.