Skip to content

Commit 1f73103

Browse files
committed
stub classes with classes
(cherry picked from commit 146e613) (cherry picked from commit 8e1abfa) (cherry picked from commit 26eacb9) (cherry picked from commit 4403649) (cherry picked from commit f98b427)
1 parent 369e522 commit 1f73103

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/apiPlatformStub/java/net/minecraftforge/fluids/FluidStack.java

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,18 @@
33
import net.minecraft.nbt.CompoundTag;
44
import net.minecraft.world.level.material.Fluid;
55

6-
public interface FluidStack {
6+
public final class FluidStack {
77

8-
Fluid getFluid();
8+
public Fluid getFluid() {
9+
throw new AssertionError("stub");
10+
}
911

10-
CompoundTag getTag();
12+
public CompoundTag getTag() {
13+
throw new AssertionError("stub");
14+
}
1115

12-
int getAmount();
16+
public int getAmount() {
17+
throw new AssertionError("stub");
18+
}
1319

1420
}

0 commit comments

Comments
 (0)