@SideOnly(Side.CLIENT) private void startEffects() { ACSounds.playClient(sound = new FollowEntitySound(player, SOUND).setLoop()); surround = new EntitySurroundArc(player); surround.setArcType(ArcType.THIN); world.spawnEntityInWorld(surround); }
@SideOnly(Side.CLIENT) private void startEffects() { player.worldObj.spawnEntityInWorld(arc = new EntityArc(player, ArcPatterns.chargingArc)); arc.lengthFixed = false; arc.hideWiggle = 0.8; arc.showWiggle = 0.2; arc.texWiggle = 0.8; player.worldObj.spawnEntityInWorld( surround = new EntitySurroundArc(player.worldObj, player.posX, player.posY, player.posZ, 1, 1) .setArcType(ArcType.NORMAL)); sound = new FollowEntitySound(player, SOUND).setLoop(); ACSounds.playClient(sound); }