Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @SubscribeEvent
- public void onRender(RenderTickEvent event){
- if (Minecraft.getMinecraft().inGameHasFocus){
- int IndicatorY = Mod_Logic.indicatorY;
- int IndicatorX = Mod_Logic.indicatorX
- int width = Minecraft.getMinecraft().displayWidth;
- int height = Minecraft.getMinecraft().displayHeight;
- GuiScreen.drawRect((width / 2) + IndicatorX, ((height / 2) + (IndicatorY)), ((width / 2) +IndicatorX + 2), ((height / 2) + (IndicatorY) + 2), 0xFFFF0000);
- //Minecraft.getMinecraft().thePlayer.sendChatMessage(Double.toString( (height/2)+IndicatorY));
- //Minecraft.getMinecraft().thePlayer.sendChatMessage(Double.toString( (width/2)+IndicatorX ));
- }
Advertisement
Add Comment
Please, Sign In to add comment