Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Item textures doesn't load.


urabaros
 Share

Recommended Posts

I'm SURE that did everything right, but it just doesn't load. I'm trying to create a custom armor and I already did it before. I simply can't comprehend where is the problem, textures from Armor's Item just don't show up (but the armor texture itself while wearing works fine).

	public static final RegistryObject<Item> LAVA_BOOTS = ITEMS.register("lava_boots", 
			() -> new ArmorItem(LavaMaterial.LAVA_ARMOR, EquipmentSlotType.FEET,
					new Item.Properties().group(ItemGroup.COMBAT)));

Json:

{
    "parent": "item/generated",
    "textures": {
        "layer0": "lavaarmor:armor/lava_boots"
    }
}

Everyting looks completely fine for me! I don't what happened!

My path:

image.png.d3681de1c708c893c68cee576089ab5e.png

 

My main class:

@Mod(LavaArmor.MODID)
public class LavaArmor {
	public static final String MODID = "lavaarmor";
 
	public LavaArmor() {
		
		IEventBus bus = FMLJavaModLoadingContext.get().getModEventBus();
		bus.addListener(this::setup);
		ItemInit.ITEMS.register(bus);
		MinecraftForge.EVENT_BUS.register(this);
	 	MinecraftForge.EVENT_BUS.register(EventHandler.class);
	}
	
	@SuppressWarnings("deprecation")
	private void setup(final FMLCommonSetupEvent event) {
		
		DeferredWorkQueue.runLater(() -> {
			
		});
		
	}
}

 

Edited by urabaros
Link to comment
Share on other sites

[14:16:09] [Forge Version Check/INFO] [ne.mi.fm.VersionChecker/]: [forge] Found status: OUTDATED Current: 36.1.0 Target: 36.2.0
[14:16:21] [Worker-Main-12/ERROR] [minecraft/AtlasTexture]: Using missing texture, unable to load lavaarmor:textures/armor/lava_boots.png : java.io.FileNotFoundException: lavaarmor:textures/armor/lava_boots.png
[14:16:21] [Worker-Main-9/ERROR] [minecraft/AtlasTexture]: Using missing texture, unable to load lavaarmor:textures/armor/lava_leggings.png : java.io.FileNotFoundException: lavaarmor:textures/armor/lava_leggings.png
[14:16:21] [Worker-Main-9/ERROR] [minecraft/AtlasTexture]: Using missing texture, unable to load lavaarmor:textures/item/jade_ingot.png : java.io.FileNotFoundException: lavaarmor:textures/item/jade_ingot.png
[14:16:22] [Worker-Main-11/ERROR] [minecraft/AtlasTexture]: Using missing texture, unable to load lavaarmor:textures/armor/lava_helmet.png : java.io.FileNotFoundException: lavaarmor:textures/armor/lava_helmet.png
[14:16:22] [Worker-Main-9/ERROR] [minecraft/AtlasTexture]: Using missing texture, unable to load lavaarmor:textures/armor/lava_chest.png : java.io.FileNotFoundException: lavaarmor:textures/armor/lava_chest.png

 

I think this place, right?

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.

Guest
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.

 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.