Added a bit of framework for the incense system.

This commit is contained in:
WayofTime 2016-01-23 16:25:39 -05:00
parent 2ffd6c144a
commit 574c995865
10 changed files with 286 additions and 0 deletions

View file

@ -0,0 +1,15 @@
package WayofTime.bloodmagic.api.incense;
import net.minecraft.block.state.IBlockState;
import net.minecraft.util.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);
}