Jump to content

[1.7.10][Client thread/ERROR]:Couldn't render entity [CLOSED]


Recommended Posts

Posted

Not 100% sure if this is completely the problem but at least TRY before posting.

 

        @Override

        protected ResourceLocation getEntityTexture(Entity entity) {

                // TODO Auto-generated method stub

                return null;

        }

 

You're returning nothing for the entity texture, at the top you have a variable called EntityTexture so just return that instead of null

Posted

I'm not saying you reference anything wrongly, I'm saying instead of returning the entitytexture in the getEntityTexture method you're returning null (Nothing) which would cause an error. Simply replace "return null;" with "return EntityTexture;"

Posted

ok so looking at something from my code I have

 

MinecraftInstance.renderEngine.bindTexture(new ResourceLocation("randomutilities", "textures/gui/lunchbox.png"));

 

So you should try something like

 

private static final ResourceLocation EntityTexture = new ResourceLocation("mineplusalpha", "textures/entity/DogTextureMap.png");

Posted

Oh... But where i put the textures? like... the tutorials i have seen are form 1.7.2, and they go to src/assets/textures/mobs.

I have not founded the 1.7.10 tutorials... (From mobs)

Posted

For example:

 

src/main/resources/assets/yourmodname/textures/blocks for blocks

src/main/resources/assets/yourmodname/textures/entity for entities

 

etc

 

-TGG

 

Well, my texture is located in that path, but look, i dont have assets and the name of my mod, only this: src/main/resources/textures/entity/dogskin.png

 

 

Posted

For example:

 

src/main/resources/assets/yourmodname/textures/blocks for blocks

src/main/resources/assets/yourmodname/textures/entity for entities

 

etc

 

-TGG

 

Well, my texture is located in that path, but look, i dont have assets and the name of my mod, only this: src/main/resources/textures/entity/dogskin.png

 

PS: Steel not working btw

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.