use of net.roguelogix.biggerreactors.machine.containers.CyaniteReprocessorContainer in project BiggerReactors by BiggerSeries.
the class CyaniteReprocessorScreen method initSymbols.
/**
* Initialize symbols.
*/
public void initSymbols() {
// (Right) Water tank symbol:
RenderedElement<CyaniteReprocessorContainer> waterTankSymbol = new RenderedElement<>(this, 152, 6, 16, 16, 48, 175, new TranslatableComponent("screen.biggerreactors.cyanite_reprocessor.water_tank.tooltip"));
waterTankSymbol.onRender = (@Nonnull PoseStack mS, int mX, int mY) -> RenderHelper.drawMaskedFluid(mS, waterTankSymbol.x, waterTankSymbol.y, this.getBlitOffset(), waterTankSymbol.width, waterTankSymbol.height, waterTankSymbol.u, waterTankSymbol.v, Fluids.WATER.getSource());
this.addScreenElement(waterTankSymbol);
}
Aggregations