All other sound subtitles

This commit is contained in:
Vincent Lee committed 2016-04-23 22:03:27 -05:00
1 parent 6d350451fc
commit f8d18ae769
6 files changed
+17 -13

No files matched your search

@@ -22,7 +22,8 @@ public final class BotaniaSoundEvents {
public static final SoundEvent divaCharm = getRegisteredSoundEvent("botania:divaCharm");
public static final SoundEvent divinationRod = getRegisteredSoundEvent("botania:divinationRod");
public static final SoundEvent doit = getRegisteredSoundEvent("botania:doit");
public static final SoundEvent enchanterBlock = getRegisteredSoundEvent("botania:enchanterBlock");
public static final SoundEvent enchanterFade = getRegisteredSoundEvent("botania:enchanterForm");
public static final SoundEvent enchanterForm = getRegisteredSoundEvent("botania:enchanterFade");
public static final SoundEvent enchanterEnchant = getRegisteredSoundEvent("botania:enchanterEnchant");
public static final SoundEvent endoflame = getRegisteredSoundEvent("botania:endoflame");
public static final SoundEvent equipBauble = getRegisteredSoundEvent("botania:equipBauble");
@@ -155,7 +155,7 @@ public class TileEnchanter extends TileMod implements ISparkAttachable {
float blue = (float) Math.random();
Botania.proxy.wispFX(worldObj, pos.getX() + 0.5, pos.getY() + 0.5, pos.getZ() + 0.5, red, green, blue, (float) Math.random() * 0.15F + 0.15F, (float) (Math.random() - 0.5F) * 0.25F, (float) (Math.random() - 0.5F) * 0.25F, (float) (Math.random() - 0.5F) * 0.25F);
}
worldObj.playSound(null, pos, BotaniaSoundEvents.enchanterBlock, SoundCategory.BLOCKS, 0.5F, 10F);
worldObj.playSound(null, pos, BotaniaSoundEvents.enchanterFade, SoundCategory.BLOCKS, 0.5F, 10F);
}
switch(stage) {
@@ -21,7 +21,8 @@ public final class ModSounds {
"botania:divaCharm",
"botania:divinationRod",
"botania:doit",
"botania:enchanterBlock",
"botania:enchanterForm",
"botania:enchanterFade",
"botania:enchanterEnchant",
"botania:endoflame",
"botania:equipBauble",
@@ -109,7 +109,7 @@ public class ItemTwigWand extends Item16Colors implements ICoordBoundItem {
if(axis != null && !par3World.isRemote) {
par3World.setBlockState(pos, ModBlocks.enchanter.getDefaultState().withProperty(BotaniaStateProps.ENCHANTER_DIRECTION, axis), 1 | 2);
par2EntityPlayer.addStat(ModAchievements.enchanterMake, 1);
par3World.playSound(null, pos, BotaniaSoundEvents.enchanterBlock, SoundCategory.BLOCKS, 0.5F, 0.6F);
par3World.playSound(null, pos, BotaniaSoundEvents.enchanterForm, SoundCategory.BLOCKS, 0.5F, 0.6F);
for(int i = 0; i < 50; i++) {
float red = (float) Math.random();
float green = (float) Math.random();