mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-12 16:27:45 +00:00
All devs and contributors should use the provided formatter settings. If your IDE does not support the format, the rules are simple, it is the default java formatting rules, with 200char line lengths and 1 extra line after class definitions.
19 lines
632 B
Java
19 lines
632 B
Java
package com.cricketcraft.chisel.api;
|
|
|
|
import com.cricketcraft.chisel.carving.CarvableVariation;
|
|
|
|
public interface ICarvable {
|
|
|
|
/**
|
|
* This grabs the variations possible
|
|
*
|
|
* @param metadata
|
|
* This is the metadata that a block will use and the basis of
|
|
* chisel Traditionally you make an instance of CarvableHelper
|
|
* ex. CarvableHelper carverHelper = new CarvableHelper(); In
|
|
* this method you return carverHelper.getVariation(metadata) and
|
|
* that should be all you need if you register it correctly.
|
|
*/
|
|
public CarvableVariation getVariation(int metadata);
|
|
}
|