Jump to content

Projectile texture no longer showing up


Tynarus

Recommended Posts

Alright, something I found odd. No errors in the console or anything but... My projectiles no longer load their textures. They still work and everything, but the texture no longer appears.

 

This worked fine in all versions of Forge that I used up until the 1.4.4 release, including all of the 1.4.2 ones... But now suddenly has stopped working.

 

Here's some code from it:

 

		int index = RenderingRegistry.addTextureOverride("/gui/items.png" , Constants.getImgDir() + "entity/beeferslime.png");
	int id = EntityRegistry.findGlobalUniqueEntityId();
	EntityRegistry.registerGlobalEntityID(EntitySlimeBall.class, "BeeferSlimeBall", id);
	EntityRegistry.registerModEntity(EntitySlimeBall.class, "Beefer SlimeBall", id, infection, 64, 1, true);
	RenderingRegistry.registerEntityRenderingHandler(EntitySlimeBall.class, new RenderSnowball(index));

 

And I am preloading the texture as well, so I know it's not that.

 

It'll most likely be something stupid that's entirely my fault, but I thought I'd bring it up incase it isn't my fault.  :P

 

Forge Version: 6.3.0 for Minecraft 1.4.4

Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.