cn.nukkit.block.BlockFlowable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powernukkit Show documentation
Show all versions of powernukkit Show documentation
A Minecraft Bedrock Edition server software implementation made in Java from scratch which supports all new features.
package cn.nukkit.block;
import cn.nukkit.math.AxisAlignedBB;
/**
* @author MagicDroidX (Nukkit Project)
*/
public abstract class BlockFlowable extends BlockTransparentMeta {
protected BlockFlowable(int meta) {
super(meta);
}
@Override
public boolean canBeFlowedInto() {
return true;
}
@Override
public boolean canPassThrough() {
return true;
}
@Override
public double getHardness() {
return 0;
}
@Override
public double getResistance() {
return 0;
}
@Override
public boolean isSolid() {
return false;
}
@Override
public boolean breaksWhenMoved() {
return true;
}
@Override
public boolean sticksToPiston() {
return false;
}
@Override
protected AxisAlignedBB recalculateBoundingBox() {
return null;
}
}