My mod doesn't work!!!

Started by denyoongi on

Topic category: Help with modding (Java Edition)

Last seen on 11:17, 19. Jun 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
My mod doesn't work!!!

I wanted to make my first mod and I followed a tutorial to make discs customizable but when I add the mod minecraft won't open it's 1.15.2 btw. Please help :(

Last seen on 11:17, 19. Jun 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also, I don't really know…
Tue, 06/09/2020 - 14:22

Also, I don't really know how to add attachment

Last seen on 22:41, 29. Dec 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can add photos by using…
Tue, 06/09/2020 - 14:45

You can add photos by using Imgur and you can add crash logs using Pastebin.

Last seen on 22:41, 29. Dec 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Uhh.. I meant can you add a…
Tue, 06/09/2020 - 15:29

Uhh.. I meant can you add a console log from when you try to start the test client.

Last seen on 11:17, 19. Jun 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So what's wrong?
Tue, 06/09/2020 - 18:58

So what's wrong?

Last seen on 11:17, 19. Jun 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Please, someone, help I…
Tue, 06/09/2020 - 20:11

Please, someone, help

I deleted already almost all of the mod and I'm just left with https://pastebin.com/VQGmqHQ5. These are the only files now edited by me and it still won't launch.

Last seen on 11:17, 19. Jun 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I fixed it by deleting # …
Tue, 06/09/2020 - 22:44

I fixed it by deleting #  and changing main to Main but my disc isn't in the game, the code looks like this, but super is struck through could it be the reason why?

package trojan.objects.items;

import net.minecraft.item.MusicDiscItem;
import net.minecraft.util.SoundEvent;

public class FireMusicDisc extends MusicDiscItem {

    @SuppressWarnings("deprecation")
    public FireMusicDisc(int comparatorValueIn, SoundEvent soundIn, Properties builder) {
        super(comparatorValueIn, soundIn, builder);

    }

    
    }

Last seen on 22:41, 29. Dec 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Perhaps try deleting the…
Tue, 06/09/2020 - 23:10

Perhaps try deleting the disc and then re-adding it? Maybe it got corrupted. If that doesn't work create a bug report.

Last seen on 11:17, 19. Jun 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah, didn't work, still…
Wed, 06/10/2020 - 00:48

Yeah, didn't work, still says the MusicDiscItem is deprecated

Last seen on 22:41, 29. Dec 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create a bug report.
Wed, 06/10/2020 - 00:51

Create a bug report.

package trojan.objects.items…
Wed, 06/10/2020 - 10:48
package trojan.objects.items;

import net.minecraft.item.MusicDiscItem;
import net.minecraft.util.SoundEvent;

public class FireMusicDisc extends MusicDiscItem {

    @SuppressWarnings("deprecation")
    public FireMusicDisc(int comparatorValueIn, SoundEvent soundIn, Properties builder) {
        super(comparatorValueIn, soundIn, builder);

    }

    
    }

This is not MCreator's code.

Last seen on 22:41, 29. Dec 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah, I saw the word “Trojan…
Wed, 06/10/2020 - 12:14

Yeah, I saw the word “Trojan” and I thought, 

well that’s not good, but I wasn’t sure so I didn’t say anything. 
 

OP: Did you download MCreator from this site?