mirror of
https://github.com/GTNewHorizons/bdlib.git
synced 2026-11-20 20:22:20 +00:00
Allow fluid gauge to have no overlay, fixed typo
This commit is contained in:
1 parent
5854625700
commit
1618931c6d
2 files changed
+3
-2
No files matched your search
@@ -56,6 +56,7 @@ class WidgetFluidGauge(val rect: Rect, overlay: Texture, dslot: DataSlotTankBase
|
||||
GL11.glColor3d(1, 1, 1)
|
||||
GL11.glDisable(GL11.GL_BLEND)
|
||||
|
||||
parent.drawTexture(rect, overlay)
|
||||
if (overlay != null)
|
||||
parent.drawTexture(rect, overlay)
|
||||
}
|
||||
}
|
||||
@@ -13,7 +13,7 @@ import net.minecraftforge.fluids.{Fluid, FluidStack, FluidTankInfo}
|
||||
|
||||
trait CIFluidOutput extends CIOutputFaces {
|
||||
def outputFluid(resource: FluidStack, doDrain: Boolean): FluidStack
|
||||
def outputFluid(ammount: Int, doDrain: Boolean): FluidStack
|
||||
def outputFluid(amount: Int, doDrain: Boolean): FluidStack
|
||||
def canOutputFluid(fluid: Fluid): Boolean
|
||||
def getTankInfo: Array[FluidTankInfo]
|
||||
}
|
||||
Reference in new issue
Block a user