your current location:首页 > news>The custom fluid tutorial [NTM/HBM] HBM's nuclear technology (HBM's Nuclear Tech Mod) Minecraft Game that HBM

The custom fluid tutorial [NTM/HBM] HBM's nuclear technology (HBM's Nuclear Tech Mod) Minecraft Game that HBM

2024-12-10 17:52:09|Myriagame |source:minecraft skins

This tutorial is set by the author to use the CC By-NC-ND protocol.

What you need to know before starting

First of all, there are two files related to custom fluid, which are hbmfluidtypes.json and _hbmfluidtraits.json. They are placed in .minecraft/config/hbmconfig. If you open the version isolation/1.7.10,/config/hbmconfig.

If you didn’t find it, please make sure you start the game after the module is installed correctly

Part 1-Create a custom fluid

Open HBMFLUIDTYPES.JSON, you can see that it is like this, and the role of each value is explained separately from the next.


"Custom_demo"

"CUSTOM_DEMO" is the internal name of the custom fluid. It is recommended to name it in this way, which can reduce the possibility of problems such as two same names that cause conflicts.Such as "Custom_water", "Custom_oxygen", "Custom_oil" and so on

"name"

"name": The latter dual quotation number is a display name of custom fluid, you can use Chinese.

"ID"

Customized the ID of the fluid, for safety reasons, it is recommended to start using it from a number greater than 1000.Don't press a too big number without pressing the keyboard

"color"

The color of custom fluid is displayed in places such as pipelines and fluid recognition codes.The following number is the result of FF0000 in the hexadecimal color code#FF0000 converted into decimal numbers, so if you want to fill in a color that meets your requirementsTiminal numbers.

"tint"

Control the color of the texture part of the stream in the storage tank, and the number in the back is the same as "color".

p, f, r

The NFPA 704 warning diamond shape displayed after the custom fluid is loaded into the storage tank is values ​​in different parts.

P corresponds to Health, F corresponds to lammability, R corresponds to Instability, and the range that can be filled is 0 ~ 5.

"Symbol"

The value of the white diamond -shaped in the NFPA 704 can be filled in one of the table below.

The value that can be filled in OxidizerntimatterCroyGenicasphyxiantacidNowaterradiation Chinese meaning oxidant anti -substance and low temperature prone to suffocating gas strong

Radilation with water reactions

"Texture"

Controlling the texture of the texture of the custom fluid in the storage tank. The default in the MOD file provides the following four unpleasant textures as a option. The "Tint" value above will determine the color displayed at the final.

Custom_water that can be filled in

Custom_toxincustom_oil

Custom_lava introduces the texture of water -like toxic fluids. Usually use oil substances usually use lava -like fluids

"Temperature"

This item is responsible for determining the temperature of custom fluid.

Precautions

After the modification is completed, check whether it is in line with JSON's grammar. It is best not to fill in the contents of non -English letters and lower lines without clearly stated that you can use the Chinese value. Remember to switch the input method to English and then enter the punctuation.


Part 2-The specific nature of writing fluid

To be continued