Jump to content

Recommended Posts

Posted

I am currently working on a sidemod plugin for pixelmon reforged. I took a snipped of code from another project that essentially creates an itemstack and sets its nbt. I am fairly certain that this code works as intended.Capture.thumb.PNG.9cec81e4d0963ebb7f2bb7e68acff2c1.PNG

This all compiles, but when I run it, it gives me a method not found error. I assume this is because I this is a maven project, and as such have no way of using minecraft mappings. (the only reason any of this works is because I am using spongeforge). Since I only need to use this once, is there any way I could use the SRG names in development, or any other way I can solve this issue? I am trying to avoid migrating to gradle.

Posted

Unfortunately, I only have experience with the "normal" forge mod dev environment.

 

Does your current environment not have *any* kind of mappings in use?  Because if that's the case, I'd start by burning it in holy fire.  Doing normal mod work using fully obfuscated names would be absurd (unless you had some very special reason for doing so).

Just to be clear, SRG mappings look something like "field_110275_br", while the corresponding MCP mapping is "horseJumping".  I'm not even sure what the unmapped version of that particular field would be.

Posted

@Laike_Endaril So you don't think there's a way to get at the SRG values for 1.13.2? I'm trying to find the mappings for a field that no longer has a public setter (this is just early dirty testing for migrating old mods that used setMaxStackSize which is gone now). For 1.12 there was the -srgBin.jar files...I don't see those anymore...

Posted

@The_Wabbit This thread is about a completely different environment, not forge 1.13.

You should probably open a new thread asking for the new equivalent to setMaxStackSize, since it doesn't quite fit in this topic (note: I don't know the new naming, as I haven't done anything on 1.13 yet).

Posted

Can you please clarify what you are trying to do?

It sounds like you're trying to make an addon for Pixelmon without making use of Forge's development tools.

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

If I understand correctly, yes, that was the goal.  At the time I was to preoccupied to consider the fact that this is a forge forum and not a sponge forum :P

In any case, hopefully the "like" on my post above with a sponge forum thread link means it's solved, but if not, then yeah, this would probably be better off on the sponge forums

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.