Add CTMLib files

This commit is contained in:
Johann Bernhardt committed 2021-12-12 11:06:12 +01:00
1 parent b4165072a7
commit d05e019479
13 files changed
+1680

No files matched your search

@@ -0,0 +1,20 @@
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);
}