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.

PhilipChonacky

Members
  • Joined

  • Last visited

Everything posted by PhilipChonacky

  1. Wracking my brain and losing sleep so I need a sanity check! I have a custom mob, based on EntityZombie (EntityBeavis) I created the "sounds.json" file at the root of my asset folder (testmod) [example below] put the ogg file in the sounds folder (beavis_cornholio.ogg) sounds folder is in 'assets/testmod' called the custom sound by overriding the "playLivingSound" method referencing modid:event ("testmod:beavisliving") When I run the code, the error I get is "Unable to play unknown soundEvent testmod:beavisliving I know its gotta be something stupid but I'm just not seeing it. EntityBeavis.java package net.chonacky.minecraft.mod.testmod.bb; import net.chonacky.minecraft.mod.testmod.Main; import net.minecraft.entity.monster.EntityZombie; import net.minecraft.world.World; public class EntityBeavis extends EntityZombie { private String livingSound = Main.MODID+":beavisliving" ; //MODID = "testmod" public EntityBeavis(World worldIn) { super(worldIn); this.setCustomNameTag("Let's Burn Something!"); } @Override public void playLivingSound() { this.playSound(livingSound, this.getSoundVolume(), this.getSoundPitch()); } } Here is the sounds.json file: { "beavisliving": { "category": "master", "sounds": [{"name":"beavis_cornholio"} ] } }

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.