Jump to content

Recommended Posts

Posted

As you can see in this snippet, there are little functions and "fields" there. (func) and (field_71439).  Can someone tell me what exactly they are? And if there's anything I need to import to fix this?  Pretty much every single func and field is a red line.  Thank you.

 

EntityClientPlayerMP ep = Minecraft.func_71410_x().field_71439_g;
        if ((ep != null) && 
          (FMLClientHandler.instance().getClient().field_71415_G)) {
          if (Mouse.isButtonDown(0))
          {
            ep.func_71038_i();
            if (Minecraft.func_71410_x().field_71476_x != null)
            {
              MovingObjectPosition mop = Minecraft.func_71410_x().field_71476_x;
              if (mop.field_72313_a == MovingObjectPosition.MovingObjectType.ENTITY)
              {
                Entity entity = mop.field_72308_g;
                
                C02PacketUseEntity pac = new C02PacketUseEntity(entity, C02PacketUseEntity.Action.ATTACK);
                
                ep.field_71174_a.func_147297_a(pac);

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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