commit
a4744e6632
1 changed files with 3 additions and 0 deletions
|
@ -10,9 +10,12 @@ import net.minecraft.util.AxisAlignedBB;
|
||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.util.Vec3;
|
import net.minecraft.util.Vec3;
|
||||||
import org.lwjgl.opengl.GL11;
|
import org.lwjgl.opengl.GL11;
|
||||||
|
import cpw.mods.fml.relauncher.Side;
|
||||||
|
import cpw.mods.fml.relauncher.SideOnly;
|
||||||
|
|
||||||
public class BlockHighlightHandler{
|
public class BlockHighlightHandler{
|
||||||
|
|
||||||
|
@SideOnly(Side.CLIENT)
|
||||||
@SubscribeEvent
|
@SubscribeEvent
|
||||||
public void handleBlockHighlight(DrawBlockHighlightEvent e){
|
public void handleBlockHighlight(DrawBlockHighlightEvent e){
|
||||||
if (e.target.typeOfHit == MovingObjectPosition.MovingObjectType.BLOCK){
|
if (e.target.typeOfHit == MovingObjectPosition.MovingObjectType.BLOCK){
|
||||||
|
|
Loading…
Add table
Reference in a new issue