mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Add new IFluidHandler for capabilities. (#2942)
Old fluid system is deprecated and slated for removal in the next cleanup cycle.
This commit is contained in:
1 parent
13ed510fcf
commit
92914f82ae
39 files changed
+2612
-298
No files matched your search
@@ -24,7 +24,7 @@ public class BlockFluidClassic extends BlockFluidBase
|
||||
public BlockFluidClassic(Fluid fluid, Material material)
|
||||
{
|
||||
super(fluid, material);
|
||||
stack = new FluidStack(fluid, FluidContainerRegistry.BUCKET_VOLUME);
|
||||
stack = new FluidStack(fluid, Fluid.BUCKET_VOLUME);
|
||||
}
|
||||
|
||||
public BlockFluidClassic setFluidStack(FluidStack stack)
|
||||
|
||||
Reference in new issue
Block a user