Jump to content

Bitterholz

Members
  • Posts

    29
  • Joined

  • Last visited

Everything posted by Bitterholz

  1. Here is a picture of my project Setup. http://imgur.com/a/eK0nI Blockstate: { "forge_marker": 1, "defaults": { "transform": "forge:default-block", "textures": {"all": "lptwo:blocks/solid/ore_rutile"}, "model": "cube_all" }, "variants": { "inventory": [{"textures": {"all": "lptwo:blocks/solid/ore_rutile"}}], "normal": [{"textures": {"all": "lptwo:blocks/solid/ore_rutile"}}] } } models.block: { "parent": "block/cube_all", "textures": { "all": "lptwo:blocks/solid/ore_rutile" } } models.item: { "parent":"lptwo:block/ore_rutile", "display": { "thirdperson": { "rotation": [ 10, -45, 170 ], "translation": [ 0, 1.5, -2.75 ], "scale": [ 0.375, 0.375, 0.375 ] } } } the block itself public class BlockOreRutile extends Block{ public BlockOreRutile(){ super(Material.ROCK); setUnlocalizedName(References.NAME_ORE_RUTILE); setRegistryName(References.RN_ORE_RUTILE); setCreativeTab(CreativeTabs.BUILDING_BLOCKS); GameRegistry.register(this); GameRegistry.register(new ItemBlock(this), getRegistryName()); } @SideOnly(Side.CLIENT) public void initModel(){ ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(this), 0, new ModelResourceLocation(getRegistryName(), "inventory")); } }
  2. Hi, i have a very strange Issue trying to get my fresh new mod running from eclipse. Its not a crash or any particular Error, its rather something very confusing. Launching minecraft from eclipse, it says its unable to locate the Blocks texture ive set in its blockstate.json for sides:all. [14:40:56] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= [14:40:56] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found. [14:40:56] [Client thread/ERROR] [TEXTURE ERRORS]: ================================================== [14:40:56] [Client thread/ERROR] [TEXTURE ERRORS]: DOMAIN lptwo [14:40:56] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------------------------------- [14:40:56] [Client thread/ERROR] [TEXTURE ERRORS]: domain lptwo is missing 1 texture [14:40:56] [Client thread/ERROR] [TEXTURE ERRORS]: domain lptwo has 1 location: [14:40:56] [Client thread/ERROR] [TEXTURE ERRORS]: mod lptwo resources at C:\Users\s.wienecke\workspace\Modding\LP2\bin [14:40:56] [Client thread/ERROR] [TEXTURE ERRORS]: ------------------------- [14:40:56] [Client thread/ERROR] [TEXTURE ERRORS]: The missing resources for domain lptwo are: [14:40:56] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/solid/ore_rutile.png [14:40:56] [Client thread/ERROR] [TEXTURE ERRORS]: ------------------------- [14:40:56] [Client thread/ERROR] [TEXTURE ERRORS]: No other errors exist for domain lptwo [14:40:56] [Client thread/ERROR] [TEXTURE ERRORS]: ================================================== [14:40:56] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= Full error log: http://pastebin.com/xzJmziHQ The file in question though, IS IN THE RIGHT PLACE. C:\Users\s.wienecke\workspace\Modding\LP2\bin\assets\lptwo\textures\blocks\solid\ore_rutile.png also located in C:\Users\s.wienecke\workspace\Modding\LP2\src\main\resources\assets\lptwo\textures\blocks\solid\ore_rutile.png Ive tried countless things, moving arround the workspace, resrtucturing it to match the forge guideline...nothing helped. even completely setting up everything from scratch does NOT work. Code was approved by McJty, we both were unable to locate the issue. ModelRessourceLocation is set and initialised propperly, domain is right.... Im running MC forge v12.18.3.2185, in Eclipse neon.1, windows 10 Issue has been Resolved. Its not advisable to use 24-bit PNG files as they return an IOException in the Ressource Loader, caused by "Bad PNG signature"
  3. Hey Guys, I might have a simmilar issue. My Mod is loading fine and there is no complaint over any json errors, but the block Texture cant be found... Forge Version: 12.18.3.2185 [11:23:52] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= [11:23:52] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found. [11:23:52] [Client thread/ERROR] [TEXTURE ERRORS]: ================================================== [11:23:52] [Client thread/ERROR] [TEXTURE ERRORS]: DOMAIN mymod [11:23:52] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------------------------------- [11:23:52] [Client thread/ERROR] [TEXTURE ERRORS]: domain mymod is missing 1 texture [11:23:52] [Client thread/ERROR] [TEXTURE ERRORS]: domain mymod has 1 location: [11:23:52] [Client thread/ERROR] [TEXTURE ERRORS]: mod mymod resources at C:\Users\myname\workspace\Modding\MyMod\bin [11:23:52] [Client thread/ERROR] [TEXTURE ERRORS]: ------------------------- [11:23:52] [Client thread/ERROR] [TEXTURE ERRORS]: The missing resources for domain mymod are: [11:23:52] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/solid/ore_rutile.png [11:23:52] [Client thread/ERROR] [TEXTURE ERRORS]: ------------------------- [11:23:52] [Client thread/ERROR] [TEXTURE ERRORS]: No other errors exist for domain mymod [11:23:52] [Client thread/ERROR] [TEXTURE ERRORS]: ================================================== [11:23:52] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= allthough its exactly in the right place! Both C:\Users\myname\workspace\Modding\MyMod\bin\assets\mymod\textures\blocks\solid\ore_rutile.png and C:\Users\myname\workspace\Modding\MyMod\resources\assets\mymod\textures\blocks\solid\ore_rutile.png Its Block Constructor and Model init are both called in preInit. Its Blockstate points to "Textures":{"all": "mymod:blocks/solid/ore_rutile"}, for all Variants(default, normal and inventory). It accesses the domain just fine for the blockstate, block and item json... Im highly confused, since everything appears to be in the right place...
×
×
  • Create New...

Important Information

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