Jump to content

Recommended Posts

Posted

I am trying to code a mod using eclipse on Mac, and I have been following a youtube tutorial. The person edits the Example class down to what I have pasted in the pastebin link below. He runs it and it logs HELLO from Register Block in the console (if it helps, he is using InteliJ).  When I run it, I can't find the message in my console. My game still launches, but my Find tool says String not found. Any help is appreciated. Thanks!

 

Pastebin: https://pastebin.com/KgzQkTCh

 

Video: 

 

 

 

 

 

 

Posted

I don't think Eclipse shows INFO level logging by default.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

I tried doing System.out.println("Hello from Register Block") in the same function, and I also tried LOGGER.fatal("Hello from Register Block") instead. Neither worked though, so should I just continue with his tutorial when he makes that function actually register stuff?

 

Posted
  On 6/23/2019 at 11:46 AM, diesieben07 said:

Did you create a mods.toml? 

Expand  

I don’t know if this helps, but I’ll say it just in case. There was already a mods.toml file under src/main/resources/META-INF when I imported everything into eclipse. I changed some of the stuff though such as the name of the mod, the package format, the snapshot, the mod ID, etc. Just like what the guy in the video did (and I believe him because he is a RFTools developer)

Posted

I'm not getting your issue.

[27Jun2019 23:19:06.624] [Client thread/INFO] [com.cademissner.cademod.CadeMod/]: HELLO from Register Block

 

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

The logger is working fine for me too.

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.