Jump to content

Recommended Posts

Posted

So I finally got my new mob to pathfind ladders and move up and down them.  It is really cool.  However in order for me to do it, I had to override two big methods, move() in Entity and travel() in EntityLivingBase.  It's ok enough that I had override them but they both reference private variables (a method too I think).  Oftentimes these variables are used in other methods.  I can't override everything and I don't want to.  So I find myself having to use reflection again to get the value of the private vars in my methods, update them and set them at the end.  It's a pain.  I know Mojang does what they want and its up to us to adapt but why so many private methods and variables?  

 

Can we do something about this in Forge?  Or is that too much change?

Posted

Look into Forge's Access Transformers, I don't think we have an official docs page on them at this time, but this is the tutorial I followed.

  • Thanks 1

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted

@DaemonUmbra  Hi. I read your link to an AT tutorial.  Where I got stuck is how to get Searge namings.  It had this:

 

Most devs use the MCP Bot on Esper IRC for AT work. 

 

I haven't used IRC for over 20 years (in college).  I did logon to EsperNet and I can go to the #minecraft channel but A) I can't message to the channel even after I registered and B) I don't see MCP_BOT on there anyway.  Is there another way I can get these namings?

 

Thanks

Posted

bspkrs made a Mapping Viewer a while ago.

 

I’ve mostly been using ForgeBot, an instance of tterrag’s Discord bot K9, which lives in the Forge Discord Server and can be DMed to keep channels clear of spam.

  • Like 1
  • Thanks 1

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted
  On 10/10/2018 at 10:07 PM, DaemonUmbra said:

bspkrs made a Mapping Viewer a while ago.

 

I’ve mostly been using ForgeBot, an instance of tterrag’s Discord bot K9, which lives in the Forge Discord Server and can be DMed to keep channels clear of spam.

Expand  

 

That Mapping Viewer worked well.  As did the AT.  It's pretty neat, it changes it in the class file but leaves the source as-is.  And the mod reads the class file as public.  Thanks!

 

 

 

Posted (edited)
  On 10/10/2018 at 10:07 PM, DaemonUmbra said:

I’ve mostly been using ForgeBot, an instance of tterrag’s Discord bot K9, which lives in the Forge Discord Server and can be DMed to keep channels clear of spam.

Expand  

Can you edit the MCP stuff from this bot? For example adding mappings

Edited by Cadiboo

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted
  On 10/11/2018 at 2:45 AM, Cadiboo said:

Can you edit the MCP stuff from this bot? For example adding mappings

Expand  

I'm not sure actually.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted (edited)
  On 10/11/2018 at 2:51 AM, DaemonUmbra said:

I'm not sure actually.

Expand  

is it @forge-bot? I just talked to it and if it is, you can't add mappings.

 

@MrChoke You can add mappings by going to https://webchat.esper.net/ and typing in /join #mcpbot and then typing in !help

Edited by Cadiboo
  • Thanks 1

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

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.