Skip to content

Commit

Permalink
Make some methods abstract
Browse files Browse the repository at this point in the history
  • Loading branch information
glowredman committed Jun 27, 2023
1 parent 0fed2f6 commit 8eac3bf
Showing 1 changed file with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,12 @@ public void drawFluid(int recipe, boolean increase) {
int scaleFluid;

@Shadow(remap = false)
public int getScaledEnergy(int amount) {
throw new IllegalStateException("ReSiever failed to shadow getScaledEnergy!");
}
public abstract int getScaledEnergy(int amount);

@Shadow(remap = false)
public int getScaledFluid(int amount) {
throw new IllegalStateException("ReSiever failed to shadow getScaledFluid!");
}
public abstract int getScaledFluid(int amount);

@Shadow(remap = false)
protected void drawFluidRect(int j, int k, FluidStack fluid, int width, int height) {
throw new IllegalStateException("ReSiever failed to shadow drawFluidRect!");
}
protected abstract void drawFluidRect(int j, int k, FluidStack fluid, int width, int height);

}

0 comments on commit 8eac3bf

Please sign in to comment.