Jump to content

ykozxy

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ykozxy's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Well, I can implement it on the server side, but I'm just confused about the mechanism of the method.
  2. I'm currently using the following code segment to simulate a player attacking an entity (basically auto attack). Minecraft mc = Minecraft.getMinecraft(); mc.playerController.attackEntity(mc.player, mob); where mob is an instance of EntityLiving. The mod works well when playing locally, but when on servers (especially those with RPG game mode), sometimes the targeted entity won't get hurt when executing the statement. Does anybody know why it is and how can I modify my code?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.