2014-12-15 00:11:48 +00:00
|
|
|
package com.cricketcraft.chisel.api;
|
|
|
|
|
|
2015-01-15 06:06:07 -05:00
|
|
|
import com.cricketcraft.chisel.carving.CarvableHelper;
|
2014-12-15 00:11:48 +00:00
|
|
|
import com.cricketcraft.chisel.carving.CarvableVariation;
|
|
|
|
|
|
2015-01-07 19:50:18 -05:00
|
|
|
public interface ICarvable {
|
|
|
|
|
|
|
|
|
|
/**
|
2015-01-15 06:06:07 -05:00
|
|
|
* Gets a {@link CarvableVariation} from this block, based on metadata.
|
|
|
|
|
* <p>
|
|
|
|
|
* Typically you can refer this method to {@link CarvableHelper#getVariation(int)} but this method is provided for more complex metadata handling.
|
2015-01-07 19:50:18 -05:00
|
|
|
*
|
|
|
|
|
* @param metadata
|
2015-01-15 06:06:07 -05:00
|
|
|
* The metadata of the block
|
2015-01-07 19:50:18 -05:00
|
|
|
*/
|
|
|
|
|
public CarvableVariation getVariation(int metadata);
|
2014-12-15 00:11:48 +00:00
|
|
|
}
|