How to use COT registered items to create Jaopca materials

This tutorial is suitable for Jaopca-1.12.2-2.3.0.0

The configuration of Jaopca can register any items. Whether the item is added by the module itself or from COT.

First use COT to register an item as a ingot.

Then create a new file under Config/Jaopca/Materials, named .toml. The items created above are named CastStone.toml.

The content of the file is as follows:

 [general]

#, Unknown usage

alternativenames = []

#Mile by -product, the usage is unknown

extras = []

#The shape of the material should not be registered

moduleblacklist = []

#Whether the material has an attachment light effect

haveffect = false

#, Optional ones are Metallic (metal), Crystal (crystal), and dust (powder). At present, DUST will miss the stickers, and it is not recommended to use it.

Modeltype = "Metallic"

#, Youller 16 -proof code can be obtained through PS, etc., and then converted into decimal.

color = 4408131

After writing, make a change at the position of about 40 lines at the position of config/jaopca/main.toml:

#Add custom mineral rhetoric, format: 

CUSTOM = ["ContentTweaker: Cast_Stone_INGOT@0 = IngotcaststStone"]

Chinese name of the material in Config/Jaopca/LANG/ZH_CN.JSON:

 "jaopca.material.caststone": "cast stone" 

Then restart the game, you can see a series of items registered by Jaopca.

If you only see Jaopca registered, then the black and white list fills in the problem, and you can fill in any material in Config/Jaopca/Modules.Register in this way)

#Forced materials generate this shape.

PassiveMaterialWhitelist = ["*"]