Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hello! I recently started writing mods for minecraft 1.7.10 and I had a problem. I use IDEA 15. When I try to run my mod I get this:

[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found.
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]:   DOMAIN amp
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]: --------------------------------------------------
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]:   domain amp is missing 1 texture
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]:     domain amp is missing a resource manager - it is probably a side-effect of automatic texture processing
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]:     The missing resources for domain amp are:
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/TestItem.png
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]:     No other errors exist for domain amp
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[17:01:44] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

This suggests that the system can not find texture. Textures in src/main/resources/assets/amp/textures/items/TestItem.png

Mod's ID - "amp"

An item code:

package com.leshainc.amp.item;

import com.leshainc.amp.lib.RefStrings;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;

public class TestItem {
    public static Item TestItem;

    public static void MainRegistry() {
        InitializeItem();
        RegisterItem();
    }

    public static void InitializeItem() {
        TestItem = new Item();
        TestItem.setUnlocalizedName("TestItem");
        TestItem.setCreativeTab(CreativeTabs.tabMaterials);
        TestItem.setTextureName(RefStrings.modID + ":TestItem");
    }

    public static void RegisterItem() {
        GameRegistry.registerItem(TestItem,"TestItem");
    }
}

What to do?

  • Author
If you are using Intellij 14 (which you should) you need to add the following to the end of your build.gradle before importing:

idea { module { inheritOutputDirs = true } }

If you don't do that, your assets will not work. (Thanks to SanAndreasP for finding this solution)

 

But i am using Intellij 15

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.