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.

Featured Replies

Posted

For some reason Optifine is conflicting with my mod and whenever I go to use a custom music disk it just doesn't play but the text will show up. Any ideas?

No ideas. Do you have any other mods installed?

  • Author

Nope just tested with Optifine. It works on vanilla so it must be that.

  • Author

If I'm not mistaken, all that is required for adding sound in 1.7.10 is the sounds.json correct?

 

Here it is anyway:

 

 

{

    "rip": {"category": "master","sounds": ["block/rip1","block/rip2","block/rip3"]},

    "snowGlobe": {"category": "master","sounds": ["misc/snowGlobe"]},

    "star": {"category": "master","sounds": ["misc/star"]},

    "jingleBells": {"category": "master","sounds": [{"name": "records/jingleBells","stream": true}]},

    "deckTheHalls": {"category": "master","sounds": [{"name": "records/deckTheHalls","stream": true}]},

    "golemSay": {"category": "master","sounds": ["mob/miniGolem/golemSay1","mob/miniGolem/golemSay2","mob/miniGolem/golemSay3"]},

    "golemStep": {"category": "master","sounds": ["mob/miniGolem/golemStep1","mob/miniGolem/golemStep2","mob/miniGolem/golemStep3"]},

    "golemHurt": {"category": "master","sounds": ["mob/miniGolem/golemHurt1","mob/miniGolem/golemHurt2","mob/miniGolem/golemHurt3"]},

    "golemDeath": {"category": "master","sounds": [{"name": "mob/miniGolem/golemDeath","stream": false}]},

    "gingerBreadHit": {"category": "master","sounds": ["mob/gingerbreadMan/gingerBreadHit1","mob/gingerbreadMan/gingerBreadHit2","mob/gingerbreadMan/gingerBreadHit3"]},

    "gingerBreadDeath": {"category": "master","sounds": [{"name": "mob/gingerbreadMan/gingerbreadDeath","stream": false}]},

    "penguinSay": {"category": "master","sounds": ["mob/penguin/penguinSay1","mob/penguin/penguinSay2","mob/penguin/penguinSay3"]},

    "penguinHurt": {"category": "master","sounds": [{"name": "mob/penguin/penguinHurt","stream": false}]},

    "penguinDeath": {"category": "master","sounds": [{"name": "mob/penguin/penguinDeath","stream": false}]},

    "bearSay": {"category": "master","sounds": ["mob/polarBear/bearSay1","mob/polarBear/bearSay2","mob/polarBear/bearSay3"]},

    "bearHurt": {"category": "master","sounds": ["mob/polarBear/bearHurt1","mob/polarBear/bearHurt2","mob/polarBear/bearHurt3"]},

    "bearDeath": {"category": "master","sounds": [{"name": "mob/polarBear/bearDeath","stream": false}]},

    "reindeerSay": {"category": "master","sounds": ["mob/reindeer/reindeerSay1","mob/reindeer/reindeerSay2"]},

    "reindeerHurt": {"category": "master","sounds": ["mob/reindeer/reindeerHurt1","mob/reindeer/reindeerHurt2"]},

    "reindeerDeath": {"category": "master","sounds": [{"name": "mob/reindeer/reindeerDeath","stream": false}]},

    "albinoReindeerSay": {"category": "master","sounds": ["mob/albinoReindeer/albinoReindeerSay1","mob/albinoReindeer/albinoReindeerSay2"]},

    "albinoReindeerHurt": {"category": "master","sounds": ["mob/albinoReindeer/albinoReindeerHurt1","mob/albinoReindeer/albinoReindeerHurt2"]},

    "albinoReindeerDeath": {"category": "master","sounds": [{"name": "mob/albinoReindeer/albinoReindeerDeath","stream": false}]},

    "calendar": {"category": "master","sounds": ["block/calendar1","block/calendar2"]},

    "snowGlobeTap": {"category": "master","sounds": ["block/snowGlobeTap"]},

    "santa": {"category": "master","sounds": ["misc/santa"]}

}

 

 

  • Author

Oh yeah. Sorry I forgot all about that. Here it is:

 

package wintercraft.items;

import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.item.ItemRecord;
import net.minecraft.util.ResourceLocation;
import wintercraft.Wintercraft;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

public class ItemChristmasMusicDisk extends ItemRecord{

    public ItemChristmasMusicDisk(String recordName) {
	super(recordName);
	this.setCreativeTab(Wintercraft.WintercraftTab);
	this.maxStackSize = 1;
    }
   
    @Override
    public ResourceLocation getRecordResource(String name)
    {
        return new ResourceLocation(recordName);
    }
    
    @SideOnly(Side.CLIENT)
    public void registerIcons(IIconRegister par1IconRegister)
    {
        this.itemIcon = par1IconRegister.registerIcon(Wintercraft.modid + ":" + this.getUnlocalizedName().substring(5));
    
    }
}

What version of Optifine are you using?  1.7.10 A4 was really buggy for me and caused a lot of mods to stop working.  The newest version which I think came out today has some bug fixes.  Version 1.7.10 B1.  Refer to http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1272953-optifine-hd-b2-fps-boost-hd-textures-aa-af-and

width=320 height=64http://www.slothygaming.com/img/ota.png[/img]

If your grammar is shit and you blatantly don't know what you're doing, I will not help you.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.