Moving some things around

This commit is contained in:
Adubbz 2013-07-02 21:05:29 +10:00
parent bb9f8feeff
commit 36dd91e92f
9 changed files with 7 additions and 6 deletions

View file

@ -150,6 +150,8 @@
<entry key="tile.bop.altar.altarFrame.name">Altar Frame</entry>
<entry key="tile.bop.puddle.name">Puddle</entry>
<entry key="tile.bop.grave.name">Grave</entry>
<entry key="tile.bop.stoneDoubleSlab.redcobbleSlab.name">Red Rock Cobblestone Slab</entry>
<entry key="tile.bop.stoneDoubleSlab.redbrickSlab.name">Red Rock Bricks Slab</entry>

View file

@ -61,7 +61,6 @@ public class BlockAltar extends Block
@Override
public Icon getIcon(int side, int meta)
{
if (side == 1 || side == 0)
{
return altarFrameTop;

View file

@ -71,7 +71,7 @@ public class ItemGraveRenderer implements IItemRenderer
//This is setting the initial location.
GL11.glTranslatef((float) x + 0.5F, (float) y + 1.80F, (float) z + 0.5F);
//This is the texture of your block. It's pathed to be the same place as your other blocks here.
FMLClientHandler.instance().getClient().renderEngine.func_110577_a(new ResourceLocation("/mods/BiomesOPlenty/textures/models/grave.png"));
FMLClientHandler.instance().getClient().renderEngine.func_110577_a(new ResourceLocation("BiomesOPlenty:textures/models/grave.png"));
//This rotation part is very important! Without it, your model will render upside-down! And for some reason you DO need PushMatrix again!
GL11.glPushMatrix();
GL11.glRotatef(180F, 0.0F, 0.0F, 1.0F);

View file

@ -12,7 +12,7 @@ import cpw.mods.fml.relauncher.SideOnly;
public class SoundHandler
{
static String[] recordSoundFiles = { "assets/BiomesOPlenty/audio/record/" + "bopdisc.ogg", "assets/BiomesOPlenty/audio/record/" + "bopdiscmud.ogg"};
static String[] recordSoundFiles = { "BiomesOPlenty:records/" + "bopdisc.ogg", "BiomesOPlenty:records/" + "bopdiscmud.ogg"};
static String[] soundFiles = { };
@SideOnly(Side.CLIENT)
@ -52,11 +52,11 @@ public class SoundHandler
{
if (event.name == "bopdisc")
{
FMLClientHandler.instance().getClient().sndManager.playStreaming("assets.BiomesOPlenty.audio.record.bopdisc", (float) event.x + 0.5F, (float) event.y + 0.5F, (float) event.z + 0.5F);
FMLClientHandler.instance().getClient().sndManager.playStreaming("BiomesOPlenty.records.bopdisc", (float) event.x + 0.5F, (float) event.y + 0.5F, (float) event.z + 0.5F);
}
else if (event.name == "bopdiscmud")
{
FMLClientHandler.instance().getClient().sndManager.playStreaming("assets.BiomesOPlenty.audio.record.bopdiscmud", (float) event.x + 0.5F, (float) event.y + 0.5F, (float) event.z + 0.5F);
FMLClientHandler.instance().getClient().sndManager.playStreaming("BiomesOPlenty.records.bopdiscmud", (float) event.x + 0.5F, (float) event.y + 0.5F, (float) event.z + 0.5F);
}
}
}

View file

@ -7,7 +7,7 @@ import cpw.mods.fml.common.registry.LanguageRegistry;
public class Localizations
{
private static final String localizationLocation = "/assets/BiomesOPlenty/localizations/";
private static final String localizationLocation = "/assets/BiomesOPlenty/lang/";
public static String[] localeFiles = { localizationLocation + "en_US.xml", localizationLocation + "de_DE.xml", localizationLocation + "nl_NL.xml" };