Moving some spell classes, moved BloodUtils API stuff for books into main code
This commit is contained in:
parent
beea2e875a
commit
8c1396421a
169 changed files with 227 additions and 250 deletions
|
@ -0,0 +1,41 @@
|
|||
package WayofTime.alchemicalWizardry.book.interfaces;
|
||||
|
||||
/**
|
||||
* Copied from WaslieCore, to make it no longer require it in the API. (https://github.com/wasliebob/WaslieCore/blob/master/src/main/java/wasliecore/interfaces/IElement.java)
|
||||
*/
|
||||
public interface IEntryElement{
|
||||
/**
|
||||
* In here you need to draw the element
|
||||
*/
|
||||
public void drawElement();
|
||||
|
||||
/**
|
||||
* @param mX
|
||||
* Mouse X Position
|
||||
* @param mY
|
||||
* Mouse Y Position
|
||||
* @return is the mouse in a element
|
||||
*/
|
||||
public boolean isMouseInElement(int mX, int mY);
|
||||
|
||||
/**
|
||||
* This get's called when you enter the element
|
||||
* @param mX
|
||||
* Mouse X Position
|
||||
* @param mY
|
||||
* Mouse Y Position
|
||||
*/
|
||||
|
||||
public void onMouseEnter(int mX, int mY);
|
||||
|
||||
/**
|
||||
* This get's called when you click within the element
|
||||
* @param mX
|
||||
* Mouse X Position
|
||||
* @param mY
|
||||
* Mouse Y Position
|
||||
* @param type
|
||||
* Type of click (right, left, scroll)
|
||||
*/
|
||||
public void onMouseClick(int mX, int mY, int type);
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
package WayofTime.alchemicalWizardry.book.interfaces;
|
||||
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public interface IReviving {
|
||||
public void spawnEntity(World world, int x, int y, int z);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue