Added a bit of framework for the incense system.
This commit is contained in:
parent
2ffd6c144a
commit
574c995865
10 changed files with 286 additions and 0 deletions
|
@ -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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue