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.

sirolf2009

Members
  • Joined

  • Last visited

  1. I updated to the latest forge and did a fresh install, still doesn't work
  2. The reason this is happening, is because minecraft uses the same instance for every block. The only way I can see is to make a tile entity for the block and use par1World.getBlockTileEntity(par2, par3, par4).potionPrimaryAdded = true;
  3. Woops, that was just a typo. The images are actually in assets/necromancy/textures/entities
  4. It's just how I set everything up. The necronomicon is an item that uses IITemRenderer to have a model, that's why I've put it's texture in assets/necromancy/textures/model. The nightcrawler is an entity, that's why I've put it's texture in assets/necromancy/textures/entities EDIT: it was part of the problem public static final ResourceLocation TEXTURES_ENTITIES_NIGHTCRAWLER = new ResourceLocation(MOD_ID,LOC_RESOURCES_TEXTURES_ENTITIES+"/nightcrawler.png"); so yes this is the way to do it but this is expecting a file called "mcp/src/minecraft/assets/necromancy/textures/entities/nightcrawler.png" like your error logs point out double check syntax or your setup is fucked up but i wouldnt think its that Doesn't look like it
  5. ah, you're HydroFlame, how the fuck did I not see that? But I still don't see what i'm doing wrong. The only difference I see is that you're using the path as a separate parameter for the ResourceLocation, but I tried that before and it didn't work. I also don't get your hint. I'm storing the textures for my models in mcp\src\minecraft\assets\necromancy\textures\models, isn't that where necromancy:textures/models/necronomicon.png is pointing to? Just to be sure, I tried to to this: public static final ResourceLocation TEXTURES_ENTITIES_NIGHTCRAWLER = new ResourceLocation(MOD_ID,LOC_RESOURCES_TEXTURES_ENTITIES+"/nightcrawler.png"); and it got me this: [00:55:20] 2013-08-09 00:55:20 [WARNING] [Minecraft-Client] Failed to load texture: necromancy:textures/entities/nightcrawler.png [00:55:20] java.io.FileNotFoundException: necromancy:textures/entities/nightcrawler.png [00:55:20] at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110536_a(SimpleReloadableResourceManager.java:67) [00:55:20] at net.minecraft.client.renderer.texture.SimpleTexture.func_110551_a(SimpleTexture.java:31) [00:55:20] at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(TextureManager.java:84) [00:55:20] at net.minecraft.client.renderer.texture.TextureManager.func_110577_a(TextureManager.java:41) [00:55:20] at net.minecraft.client.renderer.entity.Render.func_110776_a(Render.java:50) [00:55:20] at net.minecraft.client.renderer.entity.Render.func_110777_b(Render.java:45) [00:55:20] at net.minecraft.client.renderer.entity.RendererLivingEntity.renderModel(RendererLivingEntity.java:293) [00:55:20] at net.minecraft.client.renderer.entity.RendererLivingEntity.func_130000_a(RendererLivingEntity.java:154) [00:55:20] at net.minecraft.client.renderer.entity.RenderLiving.doRenderLiving(RenderLiving.java:28) [00:55:20] at com.sirolf2009.necromancy.client.renderer.RenderNightCrawler.renderTeddy(RenderNightCrawler.java:29) [00:55:20] at com.sirolf2009.necromancy.client.renderer.RenderNightCrawler.doRender(RenderNightCrawler.java:25) [00:55:20] at net.minecraft.client.renderer.entity.RenderManager.renderEntityWithPosYaw(RenderManager.java:312) [00:55:20] at net.minecraft.client.renderer.entity.RenderManager.renderEntity(RenderManager.java:281) [00:55:20] at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:524) [00:55:20] at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1160) [00:55:20] at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1002) [00:55:20] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:934) [00:55:20] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:826) [00:55:20] at net.minecraft.client.main.Main.main(Main.java:93) [00:55:20] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [00:55:20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [00:55:20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [00:55:20] at java.lang.reflect.Method.invoke(Method.java:601) [00:55:20] at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
  6. I came across that tutorial before, but aren't I doing what they want? 1) I'm using [codeMinecraft.getMinecraft().renderEngine.func_110577_a(theTexture);[/code] 2) I register my icons with @Override public void registerIcons(IconRegister reg){ this.itemIcon = reg.registerIcon("modid:itemimagename");//no .png of anything else } 3) My assets are in mcp/src/minecraft/assets/*modid* P.S. The OBJ loader is amazing
  7. Hey everyone, I have another texture loading problem topic for you guys So in eclipse, my textures are working just fine. But if I copy everything to MCP (I'm using pahimar's setup) and recompile+start client I get a ton of errors: I put my source code in MCP/src/minecraft and my resources in MCP/src/assets so it looks like this (the com folder contains my source code): Now because i'm an amazing modder, I have one file where I keep all my ResourceLocations But wait! There's more! I'm using the advanced model loader and I use this snippet: scytheSpecial = AdvancedModelLoader.loadModel("/assets/necromancy/models/scythe.obj"); This tells me that I did put my assets in the right place, but the textures say something different. So in conclusion, what the hell? And just in case it helps, here's my github https://github.com/sirolf2009/Necromancy

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.