highlight interfaces from interface terminal.

This commit is contained in:
Salomão
2021-02-28 05:12:08 -03:00
parent b4ba1af1ec
commit 22cf913708
10 changed files with 245 additions and 6 deletions
@@ -0,0 +1,25 @@
package appeng.client.render;
import net.minecraft.util.math.BlockPos;
// taken from McJty's McJtyLib
public class BlockPosHighlighter
{
private static BlockPos hilightedBlock;
private static long expireHilight;
public static void hilightBlock( BlockPos c, long expireHilight ) {
hilightedBlock = c;
BlockPosHighlighter.expireHilight = expireHilight;
}
public static BlockPos getHilightedBlock() {
return hilightedBlock;
}
public static long getExpireHilight() {
return expireHilight;
}
}