Jump to content

Recommended Posts

Posted

Hello

 

I´m using Eclipse for modding.

 

if i hover over an import from minecraft, the message says:

  Quote

Note: This element has no attached Javadoc and the Javadoc could not be found in the attached source.

Expand  

 

And if i try to launch my mod, a little window pops up:

  Quote

The selection cannot be launched, and there are no recent launches.

Expand  

How can i fix thie

Posted

Post your entire log please

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 (edited)

i have no log.

it does not even try to launch it and so it makes no log.

seems like it cannot find the minecraft application, that it needs to launch it

Edited by Drachenbauer
Posted (edited)

Try to click on the arrow downwards right to the green run button.

eclipse.png.cc1082d0d35a33799088c960e354253d.png

Then press "Run configurations" and open the "Java Application" there should be a "Client". Click on it and press run. It should also be your default in the future so after that you probably just have to press on the green run button as usual.

 

Edited by Meldexun
Posted

Use

gradlew runClient

.

Some tips:

  Reveal hidden contents

 

Posted
  On 2/18/2019 at 3:33 PM, Drachenbauer said:

i used Meldexun´s Methode,

Must i use it for every launch, or can i launch it with a simple click on the green button now?

 

my mod does not show up in the game-window...

Expand  

Seems to be a bug with eclipse.

 

  On 2/17/2019 at 11:42 PM, DavidM said:

Use

gradlew runClient

.

Expand  

This is a workaround for now. Run this in the command prompt in your mod directory

Posted

i found someome talking about a mods.toml and i found it in a fonder META_INF in the forge 1.13.2 mdk zip.

So i added this META_INF folder at the same place in my mod.

 

but now no game window appears and i get an error "AL lib: (EE) alc_cleanup: 1 device not closed" at the end of my console in eclipse.

 

Dit i place the mods.toml wrong?

Posted
  Reveal hidden contents

 

Posted

Oops wrong console.

 

this is it:

  Reveal hidden contents

 

Posted (edited)

Here are my mod-files:

https://github.com/Drachenbauer/Angry-Birds-Mod

may include some java-files, that are not needed any more.

 

And here is the actuall error-log:

  Reveal hidden contents

 

Edited by Drachenbauer
Posted (edited)
  On 2/18/2019 at 5:56 PM, Drachenbauer said:

Do i need to modify the mods.toml file, to make it fit for my mod?

Expand  

Yes.

Right now your mods.toml has errors.

Edited by DavidM

Some tips:

  Reveal hidden contents

 

Posted
  Quote

modLoader="javafml" #mandatory
loaderVersion="[25,)" #mandatory (25 is current forge version)
credits="Drachenbauer" #optional
authors="Drachenbauer" #optional

[[mods]] #mandatory
modId="abmod" #mandatory
version="${file.jarVersion}" #mandatory
displayName="Angry Birds Mod" #mandatory
# The description text for the mod (multi line!) (#mandatory)
description='''
Get the Angry Birds into Minecraft

'''

Expand  

What i must change here?

 

what means this:

version="${file.jarVersion}"

Posted

This is the actual mods.toml:

  Reveal hidden contents

What do i have to change?

and what is the right content there?

 

(updated my files in Gidhub too)

Posted
  On 2/19/2019 at 8:52 PM, Drachenbauer said:

modId="abmod" #mandatory

Expand  

Your modid is too short. It should be angry-birds or angrybirds 

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)

  • 3 weeks later...
Posted (edited)

i made a new workspace setup with the newest version to fix a bug that made rendering blocks in the creative inventory impossible.

 

Now I´ll try to debug it to find out, why it does not load my entity-models.

I think, for this i must use the debug button in the eclipse-viewer.

But now the run-properties are all empty and i have to create one new...

How do i do this correct?

 

i think, i cannot debug it just by run it using my RunGlient.bat

Edited by Drachenbauer
Posted (edited)

Steps to set up an eclipse workspace

- gradlew eclipse

- import gradle project

- gradlew genEclipseRuns (might not be neccesary)

- reimport project (might not be neccesary)

 

I don’t use eclipse, so sorry about the lack of concrete advice but that’s the general idea

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)

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.