internal MeshData GenMesh() { if (ownBlock == null) { return(null); } return(ownBlock.GenMesh(inventory[0].Itemstack, inventory[1].Itemstack, Sealed, pos)); }
internal MeshData GenMesh() { if (ownBlock == null) { return(null); } MeshData mesh = ownBlock.GenMesh(inventory[0].Itemstack, inventory[1].Itemstack, Sealed, Pos); if (mesh.CustomInts != null) { for (int i = 0; i < mesh.CustomInts.Count; i++) { mesh.CustomInts.Values[i] |= 1 << 27; // Enable weak water wavy mesh.CustomInts.Values[i] |= 1 << 26; // Enabled weak foam } } return(mesh); }