- Did some API refactoring

- Added liquid container addition and removal (removal only possible in 1.6.4)
- Extended NEI support to 1.7.10
- Extended IC2 support to 1.6.4
This commit is contained in:
Stan Hebben committed 2014-07-05 22:35:19 +02:00
1 parent 115593efa5
commit 70cba6d84b
143 files changed
+3118 -632

No files matched your search

@@ -1,9 +1,3 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package minetweaker.api.entity;
import minetweaker.api.util.Position3f;
@@ -13,26 +7,60 @@ import stanhebben.zenscript.annotations.ZenGetter;
import stanhebben.zenscript.annotations.ZenSetter;
/**
*
* @author Stan
* Entity interface. Used to obtain information about entities, and modify
* their data. Entities are any item that is freely movable in the world,
* such as players, monsters, items on the ground, ...
*
* @author Stan Hebben
*/
@ZenClass("minetweaker.entity.IEntity")
public interface IEntity {
@ZenGetter("world")
public IDimension getWorld();
/**
* Retrieves the dimension this entity is in.
*
* @return current dimension of this entity
*/
@ZenGetter("dimension")
public IDimension getDimension();
/**
* Retrieves the x position of this entity.
*
* @return entity x position
*/
@ZenGetter("x")
public float getX();
/**
* Retrieves the y position of this entity.
*
* @return entity y position
*/
@ZenGetter("y")
public float getY();
/**
* Retrieves the z position of this entity.
*
* @return entity z position
*/
@ZenGetter("z")
public float getZ();
/**
* Retrieves the position of this entity.
*
* @return entity position
*/
@ZenGetter("position")
public Position3f getPosition();
/**
* Sets the position of this entity. Instantly moves (teleports) the entity
* to that position.
*
* @param position entity position
*/
@ZenSetter("position")
public void setPosition(Position3f position);
}