- 682
- 20
- 319
Вообще не реагирует, на +кординатах все нормально, а тут ппц.
Должно принтить "Da"
Должно принтить "Da"
event:
@SubscribeEvent
public void onTick(TickEvent.ClientTickEvent event)
{
if(Minecraft.getMinecraft().thePlayer == null) return;
if(Minecraft.getMinecraft().currentScreen!=null) {
}
double x = Math.abs(Minecraft.getMinecraft().thePlayer.posX);
double y = Math.abs(Minecraft.getMinecraft().thePlayer.posY);
double z = Math.abs(Minecraft.getMinecraft().thePlayer.posZ);
if(x >= 334 && z <= -842) {
// System.out.print("no");
if(x <= 343 && z >= -852) {
System.out.print("da"); //
}
}
}
Последнее редактирование: