Guest User

Untitled

a guest
Feb 14th, 2014
469
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. @SubscribeEvent
  2. public void onRender(RenderTickEvent event){
  3. if (Minecraft.getMinecraft().inGameHasFocus){
  4. int IndicatorY = Mod_Logic.indicatorY;
  5. int IndicatorX = Mod_Logic.indicatorX
  6. int width = Minecraft.getMinecraft().displayWidth;
  7. int height = Minecraft.getMinecraft().displayHeight;
  8. GuiScreen.drawRect((width / 2) + IndicatorX, ((height / 2) + (IndicatorY)), ((width / 2) +IndicatorX + 2), ((height / 2) + (IndicatorY) + 2), 0xFFFF0000);
  9. //Minecraft.getMinecraft().thePlayer.sendChatMessage(Double.toString( (height/2)+IndicatorY));
  10. //Minecraft.getMinecraft().thePlayer.sendChatMessage(Double.toString( (width/2)+IndicatorX ));
  11. }
Advertisement
Add Comment
Please, Sign In to add comment