File tree Expand file tree Collapse file tree 2 files changed +20
-8
lines changed
src/apiPlatformStub/java/net
neoforged/neoforge/fluids Expand file tree Collapse file tree 2 files changed +20
-8
lines changed Original file line number Diff line number Diff line change 33import net .minecraft .nbt .CompoundTag ;
44import 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}
Original file line number Diff line number Diff line change 33import net .minecraft .core .component .DataComponentPatch ;
44import 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- DataComponentPatch getComponentsPatch ();
12+ public DataComponentPatch getComponentsPatch () {
13+ throw new AssertionError ("stub" );
14+ }
1115
12- int getAmount ();
16+ public int getAmount () {
17+ throw new AssertionError ("stub" );
18+ }
1319
1420}
You can’t perform that action at this time.
0 commit comments