Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

vladmany

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About vladmany

  • Rank
    Tree Puncher
  1. I am creating a modification for one RPG server, which should, when holding down a certain key, continuously force the player to attack, like he would press the left mouse button many times. This is not a cheat! Clickers are allowed on this server. Only I want to trigger the attack itself, and not a click of the left mouse button. Sorry for my English.
  2. I need to trigger a player's attack action. I copied the net.minecraft.client.Minecraft.clickMouse() method from the sources and changed it a bit, removing everything about the leftClickCounter private property: public static void callAttackAction() { Minecraft instance = Minecraft.getMinecraft(); if (!instance.player.isRowingBoat()) { switch (instance.objectMouseOver.typeOfHit) { case ENTITY: if (instance.objectMouseOver.entityHit != null && instance.playerController != null) {
  3. Whatever I do, whatever I try, the config button remains grayed out and inaccessible. I used the simplest example of config implementation, and even it doesn't work. What could be the problem? I created a git repository for my project.
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.