if(block instanceof IFluidBlock) {
Fluid fluid = ((IFluidBlock)block).getFluid();
String fluidName = fluid.getName();
if(ReactorInterior.getFluidData(fluidName) != null) { return; }
throw new MultiblockValidationException(String.format("%d, %d, %d - The fluid %s is not valid for the reactor's interior", x, y, z, fluidName));
}
else {
throw new MultiblockValidationException(String.format("%d, %d, %d - %s is not valid for the reactor's interior", x, y, z, block.getLocalizedName()));
}
}
else {
throw new MultiblockValidationException(String.format("%d, %d, %d - Null block found, not valid for the reactor's interior", x, y, z));
}
}