Block Attributes

id2

This attribute defines the second unique id of the fluid.

Examples

// Uses a fixed id
id2 = 3456;

// Uses the id from the config file
// In the mod.js you have to call config.addBlockIdProperty("myFluid2", 2345); before adding the fluid
// 2345 is the default id
id2 = config.getItemId("myFluid2");