Jump to content

Help with custom IItem overlay render


Kloonder

Recommended Posts

Hey, I have some problems with custom overlay rendering.

if(itemstack.stackTagCompound.getBoolean("SwiftnessFlag")){
				renderItem.renderIcon(0, 0, ModifiableShoe.swiftnessOverlay, 16, 16);
			}
			if(itemstack.stackTagCompound.getBoolean("StrenghtFlag")){
				renderItem.renderIcon(0, 0, ModifiableShoe.strenghtOverlay, 16, 16);
			}
			if(itemstack.stackTagCompound.getBoolean("JumpBoostFlag")){
				renderItem.renderIcon(0, 0, ModifiableShoe.springArmor, 16, 16);
			}
			if(itemstack.stackTagCompound.getBoolean("FeatherSlowdownFlag")){
				renderItem.renderIcon(0, 0, ModifiableShoe.featherArmor, 16, 16);
			}
			if(itemstack.stackTagCompound.getBoolean("StoneFlag")){
				renderItem.renderIcon(0, 0, ModifiableShoe.stoneIIcon, 16, 16);
			}
			if(itemstack.stackTagCompound.getBoolean("JetBoots")){
				renderItem.renderIcon(0, 0, ModifiableShoe.jetBootIcons[0], 16, 16);
			}
			if(itemstack.stackTagCompound.getBoolean("SingleJetBoot")){
				renderItem.renderIcon(0, 0, ModifiableShoe.jetBootIcons[1], 16, 16);
			}

It renders those items with the correct overlay, but it sometimes uses strange black overlays. I hope you know what I mean, so if you know any toturial plaese tell me :)

Creator of Extra Shoes

 

Watch out, I'm total jerk, and I'll troll anybody if it feels like its necessary. Pls report me then

Link to comment
Share on other sites

Hey, I have some problems with custom overlay rendering.

It renders those items with the correct overlay, but it sometimes uses strange black overlays. I hope you know what I mean, so if you know any toturial plaese tell me :)

To be honest, no I have no idea what you mean, could you post screenshots please?  And - is it some of the items black all of the time, or all of the items black but only some of the time?

 

What do you mean by "overlay"?

 

-TGG

Link to comment
Share on other sites

Hey, I have some problems with custom overlay rendering.

It renders those items with the correct overlay, but it sometimes uses strange black overlays. I hope you know what I mean, so if you know any toturial plaese tell me :)

To be honest, no I have no idea what you mean, could you post screenshots please?  And - is it some of the items black all of the time, or all of the items black but only some of the time?

 

What do you mean by "overlay"?

 

-TGG

 

width=800 height=450https://lh6.googleusercontent.com/-lvH3BMerlNA/VGt3cUPPI-I/AAAAAAAAAu0/VfJY42Vywic/w1580-h889-no/2014-11-18_17.41.54.png[/img]

width=800 height=450https://lh5.googleusercontent.com/-gb3LdlAbobU/VGt3W2CKltI/AAAAAAAAAuQ/l1TqGml1rBo/w1580-h889-no/2014-11-18_17.41.51.png[/img]

Sometimes its there sometimes not, donno why

Creator of Extra Shoes

 

Watch out, I'm total jerk, and I'll troll anybody if it feels like its necessary. Pls report me then

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.