mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-28 07:35:44 +00:00
29 lines
642 B
Java
29 lines
642 B
Java
package mantle.blocks.iface;
|
|
|
|
import net.minecraft.entity.EntityLivingBase;
|
|
import net.minecraftforge.common.util.ForgeDirection;
|
|
|
|
/**
|
|
* Logic for blocks which have a specific direction facing.
|
|
*
|
|
* @author mDiyo
|
|
*/
|
|
public interface IFacingLogic {
|
|
|
|
public byte getRenderDirection();
|
|
|
|
public ForgeDirection getForgeDirection();
|
|
|
|
@Deprecated
|
|
public void setDirection(int side);
|
|
|
|
@Deprecated
|
|
public void setDirection(float yaw, float pitch, EntityLivingBase player);
|
|
|
|
/**
|
|
* This will be added next version public void setDirection(int side, float yaw, float pitch, EntityLivingBase
|
|
* player);
|
|
*/
|
|
|
|
}
|