Files
Chisel/src/main/java/team/chisel/ctmlib/ICTMBlock.java
T
2021-12-12 11:06:12 +01:00

21 lines
440 B
Java

package team.chisel.ctmlib;
import net.minecraft.world.IBlockAccess;
public interface ICTMBlock<T extends ISubmapManager> {
/**
* Gets the {@link ISubmapManager} for this block in the world.
*/
T getManager(IBlockAccess world, int x, int y, int z, int meta);
/**
* Gets the {@link ISubmapManager} for this block in item form.
*
* @param meta
* The meta (damage) of the stack.
*/
T getManager(int meta);
}