We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62462f1 commit 7616ec7Copy full SHA for 7616ec7
loader/src/main/java/com/fox2code/foxloader/event/world/LiquidFlowIntoBlockEvent.java
@@ -25,6 +25,7 @@
25
26
import com.fox2code.foxevents.Event;
27
import net.minecraft.common.block.children.BlockFluid;
28
+import net.minecraft.common.block.fluid.Fluid;
29
import net.minecraft.common.entity.Entity;
30
import net.minecraft.common.world.World;
31
import org.jetbrains.annotations.Nullable;
@@ -49,6 +50,10 @@ public BlockFluid getBlockFluid() {
49
50
return this.blockFluid;
51
}
52
53
+ public Fluid getFluid() {
54
+ return this.blockFluid.getFluid();
55
+ }
56
+
57
public int getMetadata() {
58
return this.metadata;
59
0 commit comments