mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-24 22:04:23 +00:00
28 lines
545 B
Java
28 lines
545 B
Java
package minetweaker.api.block;
|
|
|
|
import minetweaker.api.data.IData;
|
|
import stanhebben.zenscript.annotations.*;
|
|
|
|
/**
|
|
* Block interface. Used to interact with blocks in the world.
|
|
*
|
|
* @author Stan Hebben
|
|
*/
|
|
@ZenClass("minetweaker.block.IBlock")
|
|
public interface IBlock extends IBlockPattern {
|
|
|
|
/**
|
|
* Gets the block definition.
|
|
*
|
|
* @return block definition
|
|
*/
|
|
@ZenGetter("definition")
|
|
IBlockDefinition getDefinition();
|
|
|
|
@ZenGetter("meta")
|
|
int getMeta();
|
|
|
|
@ZenGetter("data")
|
|
IData getTileData();
|
|
}
|