mirror of
https://github.com/GTNewHorizons/JustEnoughCalculation.git
synced 2026-11-26 14:52:55 +00:00
feat: support forestry
This commit is contained in:
1 parent
f141891b3e
commit
9b36a0666b
11 files changed
+246
-20
No files matched your search
@@ -86,7 +86,8 @@ public class JecaGui extends GuiContainer {
|
||||
*/
|
||||
public static boolean onMouse() {
|
||||
Optional<JecaGui> optionalJecaGui = currentJecaGui();
|
||||
if(!optionalJecaGui.isPresent()) return false;
|
||||
if (!optionalJecaGui.isPresent())
|
||||
return false;
|
||||
JecaGui gui = optionalJecaGui.get();
|
||||
int mouseX = getMouseX();
|
||||
int mouseY = getMouseY();
|
||||
@@ -348,7 +349,8 @@ public class JecaGui extends GuiContainer {
|
||||
|
||||
public void drawFluid(Fluid f, int xPos, int yPos, int xSize, int ySize) {
|
||||
IIcon fluidIcon = f.getFlowingIcon();
|
||||
if(fluidIcon == null) fluidIcon = f.getStillIcon();
|
||||
if (fluidIcon == null)
|
||||
fluidIcon = f.getStillIcon();
|
||||
mc.renderEngine.bindTexture(TextureMap.locationBlocksTexture);
|
||||
setColor(f.getColor() & 0x00FFFFFF);
|
||||
if (fluidIcon != null)
|
||||
|
||||
Reference in new issue
Block a user