Jump to content

Thor597

Forge Modder
  • Posts

    268
  • Joined

  • Last visited

Everything posted by Thor597

  1. Yeahhhh
  2. I have a problem. I want my mob to do this sound but im not getting anything, heres my code package net.minecraft.src; import cpw.mods.fml.common.Side; import cpw.mods.fml.common.asm.SideOnly; import net.minecraftforge.client.event.sound.SoundLoadEvent; import net.minecraftforge.event.ForgeSubscribe; public class ThorMod_SoundHandler { @ForgeSubscribe @SideOnly(Side.CLIENT) public void onSound(SoundLoadEvent event) { try { event.manager.soundPoolSounds.addSound("monkey1", mod_TheThorMod.class.getResource("/Sounds/monkey1")); event.manager.soundPoolSounds.addSound("monkey2", mod_TheThorMod.class.getResource("/Sounds/monkey2")); event.manager.soundPoolSounds.addSound("monkey3", mod_TheThorMod.class.getResource("/Sounds/monkey3")); } catch (Exception e) { System.err.println("Failed to register one or more sounds."); } } } And in my entity class I have this protected String getLivingSound() { return "monkey"; }
  3. Can you explain what is the path to the actual file and how to add more?
  4. The method instance() is undefined for the type ThorMod_InputStreamURLHandler i think you forgot it
  5. Yes I would want some more help with that stuff. Someone should make a page on the tutorials page on how to add background music to dimensions and just music in general and also in the same tutorial how to add sounds(I used the system with ISoundHandler before but now that its gone I need to do the events things) so yeah, a tutorial called: How to add new Audio(Sounds and Music) should be in the tutorials section!
  6. Hello! How do I make music play in my dimension like how the aether does it? I want my custom music to play.
  7. So, what do I do? I mean why did this code work for the overworld? I have nearly the same generating as the overworld
  8. Im trying to make caves generate in my dimension but no matter what they wont work. I have assigned every block to my blocks so i dont understand why it isn not generating! AC_MapGenCaves Code in ChunkProvider: Help please!
  9. Even when i set the probablility to 4000 its rare
  10. OK, I will How is it possible without base edits? please do tell!
  11. I heard somewhere that forge has a functionality that works kinda like PlayerAPI/ModelPlayerAPI/RenderPlayerAPI So what is this and how do I use it? I want to add it so that if people use my mod and im there i have a a custom cape/model or whatever without editing the base files. Thanks
  12. Ok im gonna get right to it. I have some worldgens(The Ice Castle and the Icicles) and their generating wayy to rarely, the ice castle is never found and the icicles i come across every 5 minutes and the dungeon has been found only 3 times while flying through the dimension Code in chunkprovider: AC_GenDungeon AC_GenIceCastle(I removed all the setBlock lines because theres sooo many) AC_GenIcicle(all the icicle ones are the same exept they have more icicles coming off the bottom) Please Help!
  13. Thats what I was thinking
  14. I think theres some way of doing it, but I dont know how forge does it now.
  15. Now i added ModLoader.registerEntityID(ThorMod_EntityEmeraldPrimed.class, "EmBomb", ModLoader.getUniqueEntityId()); to my @Init and still same problem
  16. its in my mod_ file: RenderingRegistry.registerEntityRenderingHandler(ThorMod_EntityEmeraldPrimed.class, new ThorMod_RenderEmeraldBomb());
  17. Hello After updating to 1.3.2 my explosive didnt render, when I right click it to activate it it just becomes invisible. My classes: ClientProxy: Block file Entity File: Render File: Please help
  18. How about making a new mob using the exact same details and shit as the ocelot?
  19. Too bad then
  20. How can I have a custom provider for a biome?
  21. Soooo, how do we do it for forge 4x?
  22. Since we already have the ModLoader.addBiome, why not have ModLoader.addGenLayer(genlayer) and ModLoader.addMapGen(mapgen) and make it possible to have it biome specific and dimension specific, Regards
  23. umm, dude we know how to add a block to the tabs, but we want to be able to add a new tab altogether
×
×
  • Create New...

Important Information

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