your current location:首页 > news>How to add new varieties of metals to adapt to XX technology

How to add new varieties of metals to adapt to XX technology

2024-12-05 23:05:37|Myriagame |source:minecraft skins

Open the metal_types.json file in Assets/MinefantasyReForget/Registry/MineFantasyReForg.Metal_types.json records all the attributes of the metal. Take the original iron as an example:

 {{

"Name": "Iron",

"Oldictlist": "Intotiron",

"Properties": {

"Tier": 2,

"Durability": 2.0,,,

"Flexibility": 1.0,

"Sharpness": 2.0,

"Hardness": 2.5,

"Resistance": 20,

"Density": 2.5,

"Melting_point": 1200,

"Rarity": 0,

"Enchantability": 5, 5,

"Craft_tier": 2,

"Craft_time_modifier": 6.0,

"Unbreakable": False

},

"Armor_stats": {

"Cutting": 1.0,

"Blunt": 1.0,

"Piercing": 1.0

},

"Color": {{

"Red": 140,

"Green": 120,

"Blue": 100

}

},

name is the name of the metal in the MOD, you can just get one casually.

Oredictlist is the ore adapted in the mineral dictionary, this is casual.

Tier is a metal grade and related to the excavation level.

Durability is durable finished product, the greater the data, the higher the more durable

Flexibility is used to adjust the bow and arrow damage of wooden materials. The greater the data, the higher the damage.

Sharpness is the sharpness of weapons. The larger the value, the better.

Hardness is the armor performance made, the better the data, the better.

Residentance is unknown, which may have something to do with mecha efficiency/resistance and retreat

Density is a metal density, the greater the data consumption, the more endurance

Melting_point is a temperature that can be forged. This data*1.5 is an indispensable temperature (the upper limit of the forging furnace is 5000 degrees, so this value cannot exceed 3333 ...)

Rarity is the data of wood, which is unknown

Enchantability is a metal enchanting ability, the larger the more it is to get good enchantment.

Craft_tier is a metal forging level. This value means what kind of anvil/hammer forging is this metal needed

Craft_time_modifier is the difficulty of forging metal. The higher the more forging, the longer.

If it is True, the unlimited tools made of this metal are unlimited and durable.

COLOR is the RGB value of the metal color. Find the RGB value of your favorite color, and modify this value to your favorite look.

After that, open assets/minefantasyReForget/Lang/zh_cn.lang, and fill in the Chinese name of the materials just written into Material.xxx.Name.

If you need to use 坩埚 坩埚 alloys, you need to open the ASSETS/MINEFANTASYREFORGED/LANG/RECIPES_MFR, open the alloy_recipes folder, and imitate a copy according to the bronze_bar.json file inside.

If the material you add is not a ingot, you can use Bar.json in anvil_recipes as an example to create a new file.

If you want to change the attributes of the wood, open the woodTypes.json file with the same metal folder with the compressed software, the attributes of wood and metal are basically the same. Of course, you can also add new "wood" by yourself, which depends on yourHow big is the brain hole.