mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-17 19:05:16 +00:00
32 lines
792 B
Java
32 lines
792 B
Java
/**
|
|
* This class was created by <Vazkii>. It's distributed as
|
|
* part of the Botania Mod. Get the Source Code in github:
|
|
* https://github.com/Vazkii/Botania
|
|
*
|
|
* Botania is Open Source and distributed under the
|
|
* Botania License: http://botaniamod.net/license.php
|
|
*
|
|
* File Created @ [Aug 26, 2014, 5:42:16 PM (GMT)]
|
|
*/
|
|
package vazkii.botania.api.subtile;
|
|
|
|
import net.minecraft.util.ResourceLocation;
|
|
|
|
/**
|
|
* A TileEntity that implements this contains a SubTileEntity.
|
|
*/
|
|
public interface ISubTileContainer {
|
|
|
|
/**
|
|
* Gets the SubTile in this block. Generally shouldn't return null, but in that
|
|
* case use the fallback DummySubTile.
|
|
*/
|
|
public SubTileEntity getSubTile();
|
|
|
|
/**
|
|
* Sets the SubTile on this block from it's name.
|
|
*/
|
|
public void setSubTile(SubTileType type);
|
|
|
|
}
|