Most TE's

This commit is contained in:
Vincent Lee committed 2016-03-19 09:59:45 -05:00
1 parent 5cc6879ecb
commit 268a8afda5
22 files changed
+99 -81

No files matched your search

@@ -20,6 +20,7 @@ import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.SoundCategory;
import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.util.text.translation.I18n;
@@ -30,6 +31,7 @@ import vazkii.botania.api.BotaniaAPI;
import vazkii.botania.api.internal.VanillaPacketDispatcher;
import vazkii.botania.api.mana.IManaReceiver;
import vazkii.botania.api.recipe.RecipeRuneAltar;
import vazkii.botania.api.sound.BotaniaSoundEvents;
import vazkii.botania.client.core.handler.HUDHandler;
import vazkii.botania.client.core.helper.RenderHelper;
import vazkii.botania.common.Botania;
@@ -165,7 +167,7 @@ public class TileRuneAltar extends TileSimpleInventory implements IManaReceiver
}
if(manaToGet != this.manaToGet) {
worldObj.playSoundEffect(pos.getX(), pos.getY(), pos.getZ(), "botania:runeAltarStart", 1F, 1F);
worldObj.playSound(null, pos, BotaniaSoundEvents.runeAltarStart, SoundCategory.BLOCKS, 1, 1);
VanillaPacketDispatcher.dispatchTEToNearbyPlayers(worldObj, pos);
}
}
@@ -253,7 +255,7 @@ public class TileRuneAltar extends TileSimpleInventory implements IManaReceiver
}
public void craftingFanciness() {
worldObj.playSoundEffect(pos.getX(), pos.getY(), pos.getZ(), "botania:runeAltarCraft", 1F, 1F);
worldObj.playSound(null, pos, BotaniaSoundEvents.runeAltarCraft, SoundCategory.BLOCKS, 1, 1);
for(int i = 0; i < 25; i++) {
float red = (float) Math.random();
float green = (float) Math.random();