Jump to content

Heltrato

Members
  • Posts

    261
  • Joined

  • Last visited

Everything posted by Heltrato

  1. bump , please help me with this i need to fix this tonight ( sorry if i cant understand a little further , im having a hard time in english also )
  2. So that means it should be like this @ForgeSubscribe public void onBackgroundMusic(PlayBackgroundMusicEvent event, Random rand) { Minecraft mc = Minecraft.getMinecraft(); if (mc.thePlayer.dimension == 3) { event.result = (SoundPoolEntry) music.get(rand.nextInt(music.size())); }
  3. Could u show me what you mean . Im getting confused at annotation on something
  4. Well i tried to register the event in my client proxy file bro . @ForgeSubscribe public void registerSounds() { MinecraftForge.EVENT_BUS.register(new MHFSoundEvents()); }
  5. For my understanding . These voids load the music as a background one . and i set the dim id to 3 because thats my dimension ID . But bad luck wont work . dont know by the way thats a method on older minecraft version and im using on 1.6.2
  6. Guys , i have tried several weeks if my custom music will work on my dimension but with no luck =( please help me im trying to figure this out public class MHFSoundEvents { private final ArrayList<Object> music = Lists.newArrayList(); @ForgeSubscribe public void onSound(SoundLoadEvent event) { // You add them the same way as you add blocks. event.manager.addSound("monsterhunter:kirin/say1.ogg"); event.manager.addSound("monsterhunter:kirin/say2.ogg"); event.manager.addSound("monsterhunter:kirin/hurt1.ogg"); // Music Theme } public void onSoundLoadEvent(SoundLoadEvent event, URL URL) { music.add(new SoundPoolEntry("monsterhunter:MHFMainTheme1.ogg", URL)); // URL can be anything: point to a file, point to something in your classpath, etc. music.add(new SoundPoolEntry("monsterhunter:MHFMainTheme2.ogg", URL)); // URL can be anything: point to a file, point to something in your classpath, etc. music.add(new SoundPoolEntry("monsterhunter:MHFMainTheme3.ogg", URL)); // URL can be anything: point to a file, point to something in your classpath, etc. } public void onBackgroundMusic(PlayBackgroundMusicEvent event, Random rand) { Minecraft mc = Minecraft.getMinecraft(); if (mc.thePlayer.dimension == 3) { event.result = (SoundPoolEntry) music.get(rand.nextInt(music.size())); } } }
  7. Hi Guys , im new to Importing Wavefront Object's in to game and i read the wiki But i need help how can i render it as an armor for ex the helmet or the boots . Any tips about these
  8. Hey Guys does anybody know how to determine the damage Block Fire deals ? Im trying to make a custom block fire but i couldnt determine the block fire's damage P.S Im new to coding block stuff so please dont yell at me
  9. I need help in the entity file called noClip which makes the mobs move through blocks or something . Well i need this to make my mob swim on sand but is what im saying is right or maybe i just dig a wrong code
  10. I got a different way to render 3d armors currently working which is a little bit hard but really nice Thanks to hydroflame First of all dont ever use techne for your 3d . You dont want your player to be a fat cube guy when you wore it it happens a lot . 2nd learn what is wavefront objects . 3rd look at the forge wiki about the tutorial on wavefront objects I promise you this is the best im working on it right now
  11. Hello guys may i ask if my code is write about custom background music in custom in custom dimension . Id try many time to check but i never succeeded hopefully someone might help me with thes heres my SoundLoader class public class MHFSoundEvents { private final ArrayList<Object> music = Lists.newArrayList(); @ForgeSubscribe public void onSound(SoundLoadEvent event) { // You add them the same way as you add blocks. event.manager.addSound("monsterhunter:kirin/say1.ogg"); event.manager.addSound("monsterhunter:kirin/say2.ogg"); event.manager.addSound("monsterhunter:kirin/hurt1.ogg"); // Music Theme } public void onSoundLoadEvent(SoundLoadEvent event, URL URL) { music.add(new SoundPoolEntry("monsterhunter:MHFMainTheme1.ogg", URL)); // URL can be anything: point to a file, point to something in your classpath, etc. music.add(new SoundPoolEntry("monsterhunter:MHFMainTheme2.ogg", URL)); // URL can be anything: point to a file, point to something in your classpath, etc. music.add(new SoundPoolEntry("monsterhunter:MHFMainTheme3.ogg", URL)); // URL can be anything: point to a file, point to something in your classpath, etc. } public void onBackgroundMusic(PlayBackgroundMusicEvent event, Random rand) { Minecraft mc = Minecraft.getMinecraft(); if (mc.thePlayer.dimension == 3) { event.result = (SoundPoolEntry) music.get(rand.nextInt(music.size())); } }
  12. try this this.setMinMaxHeight(0.1F, 0.1F);
  13. Oh ok ill try this seems interesting . By the way will you possibly include mobs and stuff here ?
  14. Uhm is this use for blocks that needs models ?
  15. Hi Everyone How can i play my custom music in my custom dimension ? I've done registering it but i have no idea how to make it play in the dimension heres the SoundLoader.class public class MHFSoundEvents { @ForgeSubscribe public void onSound(SoundLoadEvent event) { // Music Theme event.manager.addMusic("monsterhunter:MHFMainTheme1.ogg"); event.manager.addMusic("monsterhunter:MHFMainTheme2.ogg"); event.manager.addMusic("monsterhunter:MHFMainTheme3.ogg"); }
  16. Guys can i ask is it common to see mobs freeze in a custom dimension or should i say my dimension is delay is there a way i could fix this ?
  17. Nevermind guys i got it to fix im sorry but this aint LanguageManager and Minecraft error its just one really pissing txt i found Note: (Ill share this ) I fix this by deleting my empty pack.mcmeta . Which contains the Language thingys
  18. OMY GOD I FVCKING FIX IT THANKS GUYS Note : if you get an error on this go the f in your src folder. fvcking find the pack.mcdeta and dont hesitate delete it if you dont know what the f is it sorry for the words but it just piss me off a thousand times thanks for the helpers especially Mew
  19. I dont know where to look at it just dont point whats my error
×
×
  • Create New...

Important Information

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