
* Initial stab at API structuring * Throwing all the things into the API* Eliminated all internal imports Also added some helpful comments *except for the ritual stuff * Reducing the API Threw back the altar/incense/unnecessary items to main Added in a functional API instance * API cleanup Removing all the unnecessities Smushed and vaporized some redundant recipe stuffs * Made API dummy instances Refactor packaging
24 lines
567 B
Java
24 lines
567 B
Java
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.api.compat.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;
|
|
}
|
|
}
|