Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • Problem with textures
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 0
keten

Problem with textures

By keten, April 27, 2015 in ForgeGradle

  • Reply to this topic
  • Start new topic

Recommended Posts

keten    0

keten

keten    0

  • Tree Puncher
  • keten
  • Members
  • 0
  • 3 posts
Posted April 27, 2015

Hi, I just setup the folders... (with gradlew setupDecompWorkspace and gradlew eclipse)

 

And, wen I run the mod.. I have this issues:

 

[13:25:34] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

[13:25:34] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found.

[13:25:34] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================

[13:25:34] [Client thread/ERROR] [TEXTURE ERRORS]:  DOMAIN minecraft

[13:25:34] [Client thread/ERROR] [TEXTURE ERRORS]: --------------------------------------------------

[13:25:34] [Client thread/ERROR] [TEXTURE ERRORS]:  domain minecraft is missing 1 texture

[13:25:34] [Client thread/ERROR] [TEXTURE ERRORS]:    domain minecraft has 3 locations:

[13:25:34] [Client thread/ERROR] [TEXTURE ERRORS]:      unknown resourcepack type net.minecraft.client.resources.DefaultResourcePack : Default

[13:25:34] [Client thread/ERROR] [TEXTURE ERRORS]:      mod FML resources at C:\Users\{me}\.gradle\caches\minecraft\net\minecraftforge\forge\1.7.10-10.13.3.1395-1710ls\forgeSrc-1.7.10-10.13.3.1395-1710ls.jar

[13:25:34] [Client thread/ERROR] [TEXTURE ERRORS]:      mod Forge resources at C:\Users\{me}\.gradle\caches\minecraft\net\minecraftforge\forge\1.7.10-10.13.3.1395-1710ls\forgeSrc-1.7.10-10.13.3.1395-1710ls.jar

[13:25:34] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------

[13:25:34] [Client thread/ERROR] [TEXTURE ERRORS]:    The missing resources for domain minecraft are:

[13:25:34] [Client thread/ERROR] [TEXTURE ERRORS]:      textures/blocks/orerubi.png

[13:25:34] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------

[13:25:34] [Client thread/ERROR] [TEXTURE ERRORS]:    No other errors exist for domain minecraft

[13:25:34] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================

[13:25:34] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7687

diesieben07

diesieben07    7687

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7687
  • 56228 posts
Posted April 27, 2015

You tried to register a texture in the default (=minecraft) resource domain. Don't do that.

  • Quote

Share this post


Link to post
Share on other sites

keten    0

keten

keten    0

  • Tree Puncher
  • keten
  • Members
  • 0
  • 3 posts
Posted April 27, 2015

I'm too noob in this...

 

this is my block class:

 

public class OreRubi extends Block {

 

private String name= "orerubi";

 

public OreRubi(){

super (Material.rock);

GameRegistry.registerBlock(this, name);

setBlockName(this.name);

setBlockTextureName(this.name);

setCreativeTab(CreativeTabs.tabBlock);

setHardness(0.5f);

}

 

}

 

and my main class:

 

@Mod(modid = MainChomod.MODID, version = MainChomod.VERSION)

public class MainChomod {

 

public static final String MODID = "chomod";

public static final String VERSION = "1.0";

 

public static Block rubiOre;

 

@EventHandler

public void preInit(FMLPreInitializationEvent event){

rubiOre = new OreRubi();

}

 

@EventHandler

public void init(FMLInitializationEvent event){

 

}

}

 

What I need to do? Thanks!

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7687

diesieben07

diesieben07    7687

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7687
  • 56228 posts
Posted April 27, 2015

setBlockTextureName(this.name);

You didn't specify the resource domain, meaning it will use the default = "minecraft".
  • Quote

Share this post


Link to post
Share on other sites

keten    0

keten

keten    0

  • Tree Puncher
  • keten
  • Members
  • 0
  • 3 posts
Posted April 27, 2015

Yeah! exactly!! thanks a lot!

  • Quote

Share this post


Link to post
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.   Paste as plain text instead

  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.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Iron1601
      Right Way To Add Arbitrary Data To PlayerEntities

      By Iron1601 · Posted 29 minutes ago

      Thank you very much.
    • NullDev
      [Solved] Custom Slime Block not working with Pistons

      By NullDev · Posted 31 minutes ago

      Turns out it was a problem with IntelliJ. Not sure what, but I restarted it and everything is working fine now.
    • diesieben07
      Right Way To Add Arbitrary Data To PlayerEntities

      By diesieben07 · Posted 33 minutes ago

      Because they are originally intended to support "this object can do X"-scenarios. For example: "this tile entity has an inventory" (or in capability-speak: "this tile entity has the inventory capability"). For example, to get an object's inventory capability you call thing.getCapability(ITEM_HANDLER_CAPABILITY, null). This gives you a LazyOptional, which will either be present (thing has an inventory) or not (thing doesn't have an inventory). The facing can be used to convey additional info. For blocks it means the actual facing (a furnace exposes a different inventory on the top than on the bottom), for other things it could mean all kinds of things (entities use sides to give access to separate inventories for just armor or just the held item).   Additionally, you can also use AttachCapabilitiesEvent to attach capabilities to "foreign objects". What you attach here is not really a capability, but a capability provider ("something that can have capabilities") - the capabilities given by this provider will also be exposed by the "foreign object". This provider is special, in that it can also save data, which will be attached to the "foreign object". This whole mechanism allows you to: Write your own capability which stores the data you need. Write your own provider which manages serialization of that data and exposes the capability. Attach that provider to all players using AttachCapabilitiesEvent - players will now store your data.
    • cadbane86140
      Minecraft: Harry Potter Episode #2- Getting Sorted into our Houses!

      By cadbane86140 · Posted 33 minutes ago

      Hello There! Today is the day we get sorted into our Hogwarts Houses! But it is very different than it is in the movies, we actually have to answer a series of questions and then we will be put into the houses. But during our questions of course we have to meme during it which just makes up for some hilarious moments! I hope you all enjoy this video and if you did don't forget to like and sub for more!  
    • diesieben07
      [Solved] Custom Slime Block not working with Pistons

      By diesieben07 · Posted 42 minutes ago

      Cannot reproduce:
  • Topics

    • Iron1601
      4
      Right Way To Add Arbitrary Data To PlayerEntities

      By Iron1601
      Started 1 hour ago

    • NullDev
      8
      [Solved] Custom Slime Block not working with Pistons

      By NullDev
      Started 18 hours ago

    • cadbane86140
      0
      Minecraft: Harry Potter Episode #2- Getting Sorted into our Houses!

      By cadbane86140
      Started 33 minutes ago

    • KBomb
      23
      Mods aren't loading on Forge 1.16.5 server

      By KBomb
      Started Yesterday at 07:32 PM

    • Jeldrik
      8
      Starting GUI on key Input

      By Jeldrik
      Started 19 hours ago

  • Who's Online (See full list)

    • Xrated_junior
    • NullDev
    • KensIDi
    • DaxMinecraft
    • Skyriis
    • rjakobs
    • pokmon987
    • ColumnDragon
    • rinlix2
    • spynery
    • lupicus
    • sonofgaming
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • Problem with textures
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community