mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-15 09:34:50 +00:00
Clean up null issues, add more annotations (#3590)
This commit is contained in:
1 parent
43efa3cfc4
commit
c545b8ecd4
130 files changed
+629
-262
No files matched your search
@@ -23,6 +23,7 @@ import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
/**
|
||||
* Implement this interface on Block classes which represent world-placeable Fluids.
|
||||
@@ -60,6 +61,7 @@ public interface IFluidBlock
|
||||
* If false, the drain will only be simulated.
|
||||
* @return
|
||||
*/
|
||||
@Nullable
|
||||
FluidStack drain(World world, BlockPos pos, boolean doDrain);
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user