diff --git a/src/main/java/net/minecraftforge/fluids/BlockFluidBase.java b/src/main/java/net/minecraftforge/fluids/BlockFluidBase.java index 7f78d7061..9c457dd3b 100644 --- a/src/main/java/net/minecraftforge/fluids/BlockFluidBase.java +++ b/src/main/java/net/minecraftforge/fluids/BlockFluidBase.java @@ -171,6 +171,12 @@ public abstract class BlockFluidBase extends Block implements IFluidBlock { return state.getValue(LEVEL); } + @Deprecated + public IBlockState getStateFromMeta(int meta) + { + return this.getDefaultState().withProperty(LEVEL, meta); + } + public BlockFluidBase setQuantaPerBlock(int quantaPerBlock) { if (quantaPerBlock > 16 || quantaPerBlock < 1) quantaPerBlock = 8;