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

15 lines
499 B
Java
Raw Normal View History

package WayofTime.bloodmagic.apibutnotreally.incense;
import net.minecraft.block.state.IBlockState;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
2017-08-15 21:30:48 -07:00
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);
}