Finished implementation of Incense Altar and associated blocks.

Also added the recipe for the Ritual Tinkerer, as well as the finalized book entry for the Incense Altar.
This commit is contained in:
WayofTime 2020-11-13 19:44:57 -05:00
parent 7634404dac
commit cb2db9bc50
108 changed files with 2197 additions and 81 deletions

View file

@ -0,0 +1,24 @@
package wayoftime.bloodmagic.common.block;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import wayoftime.bloodmagic.incense.IIncensePath;
public class BlockPath extends Block implements IIncensePath
{
protected final int pathLevel;
public BlockPath(int pathLevel, Properties properties)
{
super(properties);
this.pathLevel = pathLevel;
}
@Override
public int getLevelOfPath(World world, BlockPos pos, BlockState state)
{
return pathLevel;
}
}