Jump to content

Recommended Posts

Posted (edited)

This is my intellij structure: 

image.png.638b42f7837b259f0dd33e5da9c7e953.png

 

 

and when I do

    private static final ResourceLocation CAST_TEXTURES = new ResourceLocation("assets/textures/entity/CastingCircle-texturemap.png");

 

it fails to load. Where should I be looking?

Edited by Turtledove
Posted
  On 4/14/2020 at 5:02 AM, Turtledove said:

I'm attempting to register a simple entity that extends entity:

Expand  

1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. For more information read the LTS at the top of the page.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted
  On 4/14/2020 at 5:35 AM, Animefan8888 said:

1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. For more information read the LTS at the top of the page.

Expand  

edited the post to a different question on a 1.15 version of the mod.

Posted
  On 4/14/2020 at 5:39 AM, Turtledove said:

edited the post to a different question on a 1.15 version of the mod.

Expand  

That post shows no proof of a switch, but I'll give you a hint check out the other ResourceLocations you have made and the ones made by Minecraft for the same purpose.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted
  On 4/14/2020 at 5:44 AM, Animefan8888 said:

That post shows no proof of a switch, but I'll give you a hint check out the other ResourceLocations you have made and the ones made by Minecraft for the same purpose.

Expand  

Alright, my directory is now:

 

src

    |_main

             |_resources

                        |_assets

                               |_ModID (in this case necropolisofnostalgia)

                                    |_blah blah path to texture

 

and I've done MODID + "blah blah path to texture", and still nothing. Ready to tear my hair out at this point lol

Posted
  On 4/14/2020 at 7:05 AM, chubel10 said:

Inside the definition for your entity renderer, did you @Override getEntityTexture() method in order to return your own ResourceLocation?

 

Expand  

Yup. I also made sure it wasn't an issue with IntelliJ since I remember I had a similar issue in version 1.10 when it built and ran using Gradle. But in this version that shouldn't be an issue...

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.