
* 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
15 lines
425 B
Java
15 lines
425 B
Java
package wayoftime.bloodmagic.incense;
|
|
|
|
import net.minecraft.block.Block;
|
|
import net.minecraft.block.BlockState;
|
|
import net.minecraft.util.math.BlockPos;
|
|
import net.minecraft.world.World;
|
|
|
|
/**
|
|
* This is a functional interface to return the TranquilityStack of a certain Block type
|
|
*/
|
|
public interface ITranquilityHandler
|
|
{
|
|
TranquilityStack getTranquilityOfBlock(World world, BlockPos pos, Block block, BlockState state);
|
|
}
|