mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-17 03:05:10 +00:00
Add CTMLib files
This commit is contained in:
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);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user