Skip to content

Commit d8f8f55

Browse files
committed
Merge remote-tracking branch 'origin/dev/master' into dev/26.1
2 parents 0841357 + 591f2f9 commit d8f8f55

2 files changed

Lines changed: 17 additions & 7 deletions

File tree

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
}

src/apiPlatformStub/java/net/neoforged/neoforge/transfer/fluid/FluidResource.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@
33
import net.minecraft.core.component.DataComponentPatch;
44
import net.minecraft.world.level.material.Fluid;
55

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

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

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

1216
}

0 commit comments

Comments
 (0)