Jump to content

MISSING_ICON_TILE_514


ArgoEclipse

Recommended Posts

I dont crash, but it says this in the log,

why is my custom rendered item getting this and then a missing texture?

2014-01-21 21:16:28 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/items/MISSING_ICON_ITEM_756_null.png

2014-01-21 21:16:28 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_514_block_blender.png

Link to comment
Share on other sites

block class

 

package brainstorm_51.juicemod.blocks;

 

import cpw.mods.fml.relauncher.Side;

import cpw.mods.fml.relauncher.SideOnly;

import brainstorm_51.juicemod.Basic;

import net.minecraft.block.BlockContainer;

import net.minecraft.block.material.Material;

import net.minecraft.client.renderer.texture.IconRegister;

import net.minecraft.creativetab.CreativeTabs;

import net.minecraft.tileentity.TileEntity;

import net.minecraft.world.World;

 

public class blender extends BlockContainer{

 

public blender(int id){

super(id, Material.glass);

this.setCreativeTab(Basic.basicTab);

this.setLightValue((float) 0.5);

}

 

public TileEntity createNewTileEntity(World world) {

return new blenderTileEntity();

}

 

public int getRenderType(){

return -1;

}

 

public boolean isOpaqueCube(){

return false;

}

public boolean renderAsNormalBlock(){

return false;

}

 

 

 

 

@SideOnly(Side.CLIENT)

public void registerIcon(IconRegister icon) {

blockIcon = icon.registerIcon("basic:icon_blender");

 

 

 

}

}

 

 

Link to comment
Share on other sites

you are missing your modname from the path, your mod isnt called basic based on your package name.

 

and just for good measure the way i do it is to set the unlocalised name wherever then use:

 

par1IconRegister.registerIcon(myMod.modid + ":" + (this.getUnlocalizedName().substring(5)));

 

Hope it helps.

Link to comment
Share on other sites

you are missing your modname from the path, your mod isnt called basic based on your package name.

 

and just for good measure the way i do it is to set the unlocalised name wherever then use:

 

par1IconRegister.registerIcon(myMod.modid + ":" + (this.getUnlocalizedName().substring(5)));

 

Hope it helps.

 

While this is not technically wrong, the problem lies in where you've placed your texture (and changing the registration string isn't going to fix that, unless you get super lucky).

 

In order to completely diagnose your problem I need to know where you're putting your texture file.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Hi

 

Your block and item have no texture name and you haven't registered the Icon properly.

 

 

 

What is this part of your block intended to do? :-)

 

   @SideOnly(Side.CLIENT)
         public void registerIcon(IconRegister icon) {
      blockIcon = icon.registerIcon("basic:icon_blender");

   }

I think you have got the signature wrong, you can pick up this type of error by using @Override eg

 

   
@SideOnly(Side.CLIENT)
   @Override
         public void registerIcon(IconRegister icon) {
      blockIcon = icon.registerIcon("basic:icon_blender");

   }

 

-TGG

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.

Announcements



×
×
  • Create New...

Important Information

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