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.

Heltrato

Members
  • 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. Yep i found a better way Thanks bro
  9. 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
  10. 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
  11. 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
  12. 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())); } }
  13. try this this.setMinMaxHeight(0.1F, 0.1F);
  14. Oh ok ill try this seems interesting . By the way will you possibly include mobs and stuff here ?
  15. Uhm is this use for blocks that needs models ?
  16. bump anyone please
  17. Hello guys ? i need help
  18. 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"); }
  19. 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 ?
  20. 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
  21. 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
  22. I dont know where to look at it just dont point whats my error

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.