BloodMagic/src/main/java/WayofTime/bloodmagic/api/incense/IIncensePath.java

16 lines
487 B
Java
Raw Normal View History

package WayofTime.bloodmagic.api.incense;
import net.minecraft.block.state.IBlockState;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
public interface IIncensePath
{
/**
* Goes from 0 to however far this path block can be from the altar while
* still functioning. 0 represents a block that can work when it is two
* blocks horizontally away from the altar.
*/
int getLevelOfPath(World world, BlockPos pos, IBlockState state);
}