Added IUseable and apparently updated some build things.
This commit is contained in:
parent
b485454708
commit
d043109284
6 changed files with 30 additions and 5 deletions
|
@ -1 +1 @@
|
||||||
58
|
59
|
||||||
|
|
3
info.txt
3
info.txt
|
@ -51,4 +51,5 @@ Minecraft 1.4.5
|
||||||
@ AssemblyLine_v0.2.3.55.jar AssemblyLine_v0.2.3.55_api.zip
|
@ AssemblyLine_v0.2.3.55.jar AssemblyLine_v0.2.3.55_api.zip
|
||||||
@ AssemblyLine_v0.2.3.56.jar AssemblyLine_v0.2.3.56_api.zip
|
@ AssemblyLine_v0.2.3.56.jar AssemblyLine_v0.2.3.56_api.zip
|
||||||
* AssemblyLine_v0.2.3.57.jar AssemblyLine_v0.2.3.57_api.zip
|
* AssemblyLine_v0.2.3.57.jar AssemblyLine_v0.2.3.57_api.zip
|
||||||
* AssemblyLine_v0.2.3.58.jar AssemblyLine_v0.2.3.58_api.zip
|
x AssemblyLine_v0.2.3.58.jar AssemblyLine_v0.2.3.58_api.zip
|
||||||
|
* AssemblyLine_v0.2.4.59.jar AssemblyLine_v0.2.4.59_api.zip
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
0.2.3
|
0.2.4
|
|
@ -1 +1 @@
|
||||||
0.2.3
|
0.2.4
|
||||||
|
|
|
@ -51,7 +51,7 @@ public class AssemblyLine
|
||||||
|
|
||||||
public static final String NAME = "Assembly Line";
|
public static final String NAME = "Assembly Line";
|
||||||
|
|
||||||
public static final String VERSION = "0.2.3";
|
public static final String VERSION = "0.2.4";
|
||||||
|
|
||||||
public static final String CHANNEL = "AssemblyLine";
|
public static final String CHANNEL = "AssemblyLine";
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
package assemblyline.common.machine.armbot;
|
||||||
|
|
||||||
|
import net.minecraft.entity.Entity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The IUseable inteface is used by the ArmBot so that it may interact with Tile Entities.
|
||||||
|
* onUse will be called on the block an ArmBot is touching whenver the USE command is run
|
||||||
|
* on it.
|
||||||
|
* @author Briman0094
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public interface IUseable
|
||||||
|
{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Called when the ArmBot command "USE" is run. This is called on any IUseable the
|
||||||
|
* ArmBot is touching.
|
||||||
|
* @param tileEntity the TileEntityArmbot that is using this IUseable
|
||||||
|
* @param heldEntity the Entity being held by the ArmBot, or null if there is none
|
||||||
|
* @return whether or not the "use" did anything
|
||||||
|
*/
|
||||||
|
public boolean onUse(TileEntityArmbot tileEntity, Entity heldEntity);
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue